X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69223c701760ac3b63b948f3ffac247d9f962d05..b19d7524fc5787218b54cc28dc23bf319e413b4a:/wxPython/src/gtk/windows.py?ds=inline diff --git a/wxPython/src/gtk/windows.py b/wxPython/src/gtk/windows.py index d0c85c2bb9..0441380434 100644 --- a/wxPython/src/gtk/windows.py +++ b/wxPython/src/gtk/windows.py @@ -33,7 +33,12 @@ class Panel(core.Window): return _windows.Panel_Create(*args, **kwargs) def InitDialog(*args, **kwargs): - """InitDialog()""" + """ + InitDialog() + + Sends an EVT_INIT_DIALOG event, whose handler usually transfers + data to the dialog via validators. + """ return _windows.Panel_InitDialog(*args, **kwargs) @@ -678,8 +683,8 @@ class SplitterWindow(core.Window): return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): """ - __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow Constructor. Creates and shows a SplitterWindow. """ @@ -692,8 +697,8 @@ class SplitterWindow(core.Window): def Create(*args, **kwargs): """ - Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=SP_3D, String name=SplitterNameStr) -> bool + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool Create the GUI part of the SplitterWindow for the 2-phase create. """ @@ -1838,6 +1843,14 @@ class TaskBarIcon(core.EvtHandler): if self.thisown: destroy(self) except: pass + def Destroy(*args, **kwargs): + """ + Destroy() + + Deletes the C++ object this Python object is a proxy for. + """ + return _windows.TaskBarIcon_Destroy(*args, **kwargs) + def IsOk(*args, **kwargs): """IsOk() -> bool""" return _windows.TaskBarIcon_IsOk(*args, **kwargs)