X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82f2d91978527d499526c2814e3a323b477b0009..32485259c1342115488d219776dfebeb3d4d81b1:/include/wx/gtk1/toplevel.h diff --git a/include/wx/gtk1/toplevel.h b/include/wx/gtk1/toplevel.h index c7bf590b52..a36b2846da 100644 --- a/include/wx/gtk1/toplevel.h +++ b/include/wx/gtk1/toplevel.h @@ -11,7 +11,7 @@ #ifndef __GTKTOPLEVELH__ #define __GTKTOPLEVELH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "toplevel.h" #endif @@ -54,16 +54,31 @@ 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); virtual bool IsFullScreen() const { return m_fsIsShowing; }; + virtual bool SetShape(const wxRegion& region); + + virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO); + virtual bool Show(bool show = TRUE); + virtual void Raise(); + + virtual bool IsActive(); + 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 // -------------------------- @@ -88,8 +103,10 @@ public: long m_fsSaveGdkFunc, m_fsSaveGdkDecor; long m_fsSaveFlag; wxRect m_fsSaveFrame; - - long m_gdkFunc, m_gdkDecor; // m_windowStyle translated to GDK's terms + + // m_windowStyle translated to GDK's terms + long m_gdkFunc, + m_gdkDecor; protected: // common part of all ctors @@ -105,6 +122,9 @@ protected: // is the frame currently iconized? bool m_isIconized; + // is the frame currently grabbed explicitly + // by the application? + bool m_grabbed; }; #endif // __GTKTOPLEVELH__