X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d9f12f3b9f997b6308faf336d5381be591b71f4..aa8e9a36c47673613f080d7578e771fe62261ef1:/include/wx/gtk/toplevel.h diff --git a/include/wx/gtk/toplevel.h b/include/wx/gtk/toplevel.h index f6cf403754..29fdcd5f5c 100644 --- a/include/wx/gtk/toplevel.h +++ b/include/wx/gtk/toplevel.h @@ -54,6 +54,7 @@ public: virtual void Iconize(bool iconize = TRUE); virtual bool IsIconized() const; virtual void SetIcon(const wxIcon& icon); + virtual void SetIcons(const wxIconBundle& icons); virtual void Restore(); virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL); @@ -64,6 +65,12 @@ public: virtual void SetTitle( const wxString &title ); virtual wxString GetTitle() const { return m_title; } + // Experimental, to allow help windows to be + // viewable from within modal dialogs + virtual void AddGrab(); + virtual void RemoveGrab(); + virtual bool IsGrabbed() const { return m_grabbed; } + // implementation from now on // -------------------------- @@ -71,6 +78,9 @@ public: // from both DoSetSize() and DoSetClientSize() virtual void DoMoveWindow(int x, int y, int width, int height); + // set the icon for this window + void DoSetIcon( const wxIcon& icon ); + // GTK callbacks virtual void GtkOnSize( int x, int y, int width, int height ); virtual void OnInternalIdle(); @@ -85,10 +95,14 @@ public: bool m_insertInClientArea; /* not from within OnCreateXXX */ bool m_fsIsShowing; /* full screen */ - long m_fsSaveStyle; + long m_fsSaveGdkFunc, m_fsSaveGdkDecor; long m_fsSaveFlag; wxRect m_fsSaveFrame; + // m_windowStyle translated to GDK's terms + long m_gdkFunc, + m_gdkDecor; + protected: // common part of all ctors void Init(); @@ -103,6 +117,9 @@ protected: // is the frame currently iconized? bool m_isIconized; + // is the frame currently grabbed explicitly + // by the application? + bool m_grabbed; }; #endif // __GTKTOPLEVELH__