X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..d5f005cc9385455ceebdf2063aa7f421f70315d1:/wxPython/src/gtk/frames.py?ds=sidebyside diff --git a/wxPython/src/gtk/frames.py b/wxPython/src/gtk/frames.py index 33ec02f388..7a82522e75 100644 --- a/wxPython/src/gtk/frames.py +++ b/wxPython/src/gtk/frames.py @@ -24,11 +24,9 @@ class wxFramePtr(wxWindowPtr): return val def CreateStatusBar(self, *_args, **_kwargs): val = apply(framesc.wxFrame_CreateStatusBar,(self,) + _args, _kwargs) - if val: val = wxStatusBarPtr(val) return val def CreateToolBar(self, *_args, **_kwargs): val = apply(framesc.wxFrame_CreateToolBar,(self,) + _args, _kwargs) - if val: val = wxToolBarPtr(val) return val def GetIcon(self, *_args, **_kwargs): val = apply(framesc.wxFrame_GetIcon,(self,) + _args, _kwargs) @@ -36,18 +34,15 @@ class wxFramePtr(wxWindowPtr): return val def GetMenuBar(self, *_args, **_kwargs): val = apply(framesc.wxFrame_GetMenuBar,(self,) + _args, _kwargs) - if val: val = wxMenuBarPtr(val) return val def GetStatusBar(self, *_args, **_kwargs): val = apply(framesc.wxFrame_GetStatusBar,(self,) + _args, _kwargs) - if val: val = wxStatusBarPtr(val) return val def GetTitle(self, *_args, **_kwargs): val = apply(framesc.wxFrame_GetTitle,(self,) + _args, _kwargs) return val def GetToolBar(self, *_args, **_kwargs): val = apply(framesc.wxFrame_GetToolBar,(self,) + _args, _kwargs) - if val: val = wxToolBarPtr(val) return val def Iconize(self, *_args, **_kwargs): val = apply(framesc.wxFrame_Iconize,(self,) + _args, _kwargs) @@ -101,6 +96,12 @@ class wxFramePtr(wxWindowPtr): def ProcessCommand(self, *_args, **_kwargs): val = apply(framesc.wxFrame_ProcessCommand,(self,) + _args, _kwargs) return val + def ShowFullScreen(self, *_args, **_kwargs): + val = apply(framesc.wxFrame_ShowFullScreen,(self,) + _args, _kwargs) + return val + def IsFullScreen(self, *_args, **_kwargs): + val = apply(framesc.wxFrame_IsFullScreen,(self,) + _args, _kwargs) + return val def __repr__(self): return "" % (self.this,) class wxFrame(wxFramePtr): @@ -127,6 +128,20 @@ class wxMiniFrame(wxMiniFramePtr): +class wxTipWindowPtr(wxFramePtr): + def __init__(self,this): + self.this = this + self.thisown = 0 + def __repr__(self): + return "" % (self.this,) +class wxTipWindow(wxTipWindowPtr): + def __init__(self,*_args,**_kwargs): + self.this = apply(framesc.new_wxTipWindow,_args,_kwargs) + self.thisown = 1 + + + + #-------------- FUNCTION WRAPPERS ------------------