X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1893b029458c15069855bde50889d2a1a82a44e9..2187eef5bb7a81ee3b2738a312f4ecfceb49bded:/wxPython/src/gtk/frames.py?ds=sidebyside diff --git a/wxPython/src/gtk/frames.py b/wxPython/src/gtk/frames.py index dc3cc8ef01..0fae1a5d20 100644 --- a/wxPython/src/gtk/frames.py +++ b/wxPython/src/gtk/frames.py @@ -5,6 +5,8 @@ from misc import * from gdi import * +from fonts import * + from windows import * from clip_dnd import * @@ -44,6 +46,9 @@ class wxTopLevelWindowPtr(wxWindowPtr): def SetIcon(self, *_args, **_kwargs): val = apply(framesc.wxTopLevelWindow_SetIcon,(self,) + _args, _kwargs) return val + def SetIcons(self, *_args, **_kwargs): + val = apply(framesc.wxTopLevelWindow_SetIcons,(self,) + _args, _kwargs) + return val def ShowFullScreen(self, *_args, **_kwargs): val = apply(framesc.wxTopLevelWindow_ShowFullScreen,(self,) + _args, _kwargs) return val @@ -90,9 +95,6 @@ class wxFramePtr(wxTopLevelWindowPtr): def GetMenuBar(self, *_args, **_kwargs): val = apply(framesc.wxFrame_GetMenuBar,(self,) + _args, _kwargs) return val - def Command(self, *_args, **_kwargs): - val = apply(framesc.wxFrame_Command,(self,) + _args, _kwargs) - return val def ProcessCommand(self, *_args, **_kwargs): val = apply(framesc.wxFrame_ProcessCommand,(self,) + _args, _kwargs) return val @@ -111,6 +113,21 @@ class wxFramePtr(wxTopLevelWindowPtr): def SetStatusWidths(self, *_args, **_kwargs): val = apply(framesc.wxFrame_SetStatusWidths,(self,) + _args, _kwargs) return val + def PushStatusText(self, *_args, **_kwargs): + val = apply(framesc.wxFrame_PushStatusText,(self,) + _args, _kwargs) + return val + def PopStatusText(self, *_args, **_kwargs): + val = apply(framesc.wxFrame_PopStatusText,(self,) + _args, _kwargs) + return val + def DoGiveHelp(self, *_args, **_kwargs): + val = apply(framesc.wxFrame_DoGiveHelp,(self,) + _args, _kwargs) + return val + def SetStatusBarPane(self, *_args, **_kwargs): + val = apply(framesc.wxFrame_SetStatusBarPane,(self,) + _args, _kwargs) + return val + def GetStatusBarPane(self, *_args, **_kwargs): + val = apply(framesc.wxFrame_GetStatusBarPane,(self,) + _args, _kwargs) + return val def CreateToolBar(self, *_args, **_kwargs): val = apply(framesc.wxFrame_CreateToolBar,(self,) + _args, _kwargs) return val @@ -120,8 +137,12 @@ class wxFramePtr(wxTopLevelWindowPtr): def SetToolBar(self, *_args, **_kwargs): val = apply(framesc.wxFrame_SetToolBar,(self,) + _args, _kwargs) return val + def SendSizeEvent(self, *_args, **_kwargs): + val = apply(framesc.wxFrame_SendSizeEvent,(self,) + _args, _kwargs) + return val def __repr__(self): return "" % (self.this,) + Command = ProcessCommand class wxFrame(wxFramePtr): def __init__(self,*_args,**_kwargs): self.this = apply(framesc.new_wxFrame,_args,_kwargs) @@ -229,6 +250,7 @@ class wxSplashScreenWindow(wxSplashScreenWindowPtr): def __init__(self,*_args,**_kwargs): self.this = apply(framesc.new_wxSplashScreenWindow,_args,_kwargs) self.thisown = 1 + self._setOORInfo(self) @@ -253,6 +275,7 @@ class wxSplashScreen(wxSplashScreenPtr): def __init__(self,*_args,**_kwargs): self.this = apply(framesc.new_wxSplashScreen,_args,_kwargs) self.thisown = 1 + self._setOORInfo(self)