X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d56cebe7a497773d8753ea2ab874c4445bac18dc..06b781c7c630ff8c2ab30211cb4351b4cb5bfb47:/wxPython/src/windows.i diff --git a/wxPython/src/windows.i b/wxPython/src/windows.i index 275f9118de..d5a7222622 100644 --- a/wxPython/src/windows.i +++ b/wxPython/src/windows.i @@ -383,6 +383,20 @@ public: return val " + void Freeze(); + void Thaw(); + + wxString GetHelpText(); + void SetHelpText(const wxString& helpText); + + bool ScrollLines(int lines); + bool ScrollPages(int pages); + bool LineUp(); + bool LineDown(); + bool PageUp(); + bool PageDown(); + + // // Properties list // %pragma(python) addtoclass = " @@ -520,6 +534,11 @@ public: //--------------------------------------------------------------------------- + +// TODO: Add wrappers for the wxScrollHelper class, make wxScrolledWindow +// derive from it and wxPanel. + + class wxScrolledWindow : public wxPanel { public: wxScrolledWindow(wxWindow* parent, @@ -546,7 +565,7 @@ public: void SetScrollPageSize(int orient, int pageSize); void SetTargetWindow(wxWindow* window); void GetViewStart(int* OUTPUT, int* OUTPUT); - void ViewStart(int* OUTPUT, int* OUTPUT); + %pragma(python) addtoclass = "ViewStart = GetViewStart" void CalcScrolledPosition( int x, int y, int *OUTPUT, int *OUTPUT); void CalcUnscrolledPosition( int x, int y, int *OUTPUT, int *OUTPUT); @@ -643,6 +662,7 @@ public: void EnableTop(size_t pos, bool enable); void SetLabelTop(size_t pos, const wxString& label); wxString GetLabelTop(size_t pos); + int FindMenu(const wxString& title); int FindMenuItem(const wxString& menuString, const wxString& itemString); %name(FindItemById)wxMenuItem* FindItem(int id/*, wxMenu **menu = NULL*/); void Enable(int id, bool enable);