X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/137b5242b1834999da2883c7a68fbde28c6fba37..d78f09e27d52880a5074c265e400d851470eb6a8:/wxPython/src/frames.i diff --git a/wxPython/src/frames.i b/wxPython/src/frames.i index fc4ed7f10d..465699722e 100644 --- a/wxPython/src/frames.i +++ b/wxPython/src/frames.i @@ -105,6 +105,8 @@ public: // set the frame icon virtual void SetIcon(const wxIcon& icon); + // set the frame icons + virtual void SetIcons(const wxIconBundle& icons ); // maximize the window to cover entire screen virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL); @@ -164,6 +166,16 @@ public: // forward these to status bar virtual void SetStatusText(const wxString &text, int number = 0); virtual void SetStatusWidths(int LCOUNT, int* choices); // uses typemap + void PushStatusText(const wxString &text, int number = 0); + void PopStatusText(int number = 0); + + // show help text (typically in the statusbar); show is FALSE + // if you are hiding the help, TRUE otherwise + virtual void DoGiveHelp(const wxString& text, bool show); + + // set the status bar pane the help will be shown in + void SetStatusBarPane(int n); + int GetStatusBarPane() const; // create main toolbar @@ -258,6 +270,8 @@ public: const wxSize& size = wxDefaultSize, long style = wxNO_BORDER); + %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" + void SetBitmap(const wxBitmap& bitmap); wxBitmap& GetBitmap(); }; @@ -271,6 +285,8 @@ public: const wxSize& size = wxDefaultSize, long style = wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT); + %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" + long GetSplashStyle() const; wxSplashScreenWindow* GetSplashWindow() const; int GetTimeout() const;