X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4120ef2b386b2f3385646d0338ff05c5a177e94c..b854b7b82e033d1dbd9d300402df50ec5e1e8b74:/utils/wxPython/src/gtk/windows.py diff --git a/utils/wxPython/src/gtk/windows.py b/utils/wxPython/src/gtk/windows.py index 6007434049..589b81c33b 100644 --- a/utils/wxPython/src/gtk/windows.py +++ b/utils/wxPython/src/gtk/windows.py @@ -50,6 +50,9 @@ class wxEvtHandlerPtr : def Connect(self, *_args, **_kwargs): val = apply(windowsc.wxEvtHandler_Connect,(self,) + _args, _kwargs) return val + def Disconnect(self, *_args, **_kwargs): + val = apply(windowsc.wxEvtHandler_Disconnect,(self,) + _args, _kwargs) + return val def __repr__(self): return "" % (self.this,) class wxEvtHandler(wxEvtHandlerPtr): @@ -265,6 +268,15 @@ class wxWindowPtr(wxEvtHandlerPtr): def IsEnabled(self, *_args, **_kwargs): val = apply(windowsc.wxWindow_IsEnabled,(self,) + _args, _kwargs) return val + def IsExposed(self, *_args, **_kwargs): + val = apply(windowsc.wxWindow_IsExposed,(self,) + _args, _kwargs) + return val + def IsExposedPoint(self, *_args, **_kwargs): + val = apply(windowsc.wxWindow_IsExposedPoint,(self,) + _args, _kwargs) + return val + def IsExposedRect(self, *_args, **_kwargs): + val = apply(windowsc.wxWindow_IsExposedRect,(self,) + _args, _kwargs) + return val def IsRetained(self, *_args, **_kwargs): val = apply(windowsc.wxWindow_IsRetained,(self,) + _args, _kwargs) return val @@ -463,6 +475,10 @@ class wxWindowPtr(wxEvtHandlerPtr): val = apply(windowsc.wxWindow_GetDropTarget,(self,) + _args, _kwargs) if val: val = wxDropTargetPtr(val) return val + def GetBestSize(self, *_args, **_kwargs): + val = apply(windowsc.wxWindow_GetBestSize,(self,) + _args, _kwargs) + if val: val = wxSizePtr(val) ; val.thisown = 1 + return val def __repr__(self): return "" % (self.this,) class wxWindow(wxWindowPtr): @@ -582,6 +598,9 @@ class wxScrolledWindowPtr(wxPanelPtr): def SetScrollbars(self, *_args, **_kwargs): val = apply(windowsc.wxScrolledWindow_SetScrollbars,(self,) + _args, _kwargs) return val + def SetTargetWindow(self, *_args, **_kwargs): + val = apply(windowsc.wxScrolledWindow_SetTargetWindow,(self,) + _args, _kwargs) + return val def ViewStart(self, *_args, **_kwargs): val = apply(windowsc.wxScrolledWindow_ViewStart,(self,) + _args, _kwargs) return val