reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-09-14 02:58:48 +00:00
parent 8dca2f3d86
commit 7e63a44037
26 changed files with 485 additions and 166 deletions

View File

@@ -7260,6 +7260,22 @@ class Window(EvtHandler):
"""
return _core_.Window_GetHandle(*args, **kwargs)
def AssociateHandle(*args, **kwargs):
"""
AssociateHandle(self, long handle)
Associate the window with a new native handle
"""
return _core_.Window_AssociateHandle(*args, **kwargs)
def DissociateHandle(*args, **kwargs):
"""
DissociateHandle(self)
Dissociate the current native handle from the window
"""
return _core_.Window_DissociateHandle(*args, **kwargs)
def HasScrollbar(*args, **kwargs):
"""
HasScrollbar(self, int orient) -> bool
@@ -9308,12 +9324,13 @@ class Sizer(Object):
def Show(*args, **kwargs):
"""
Show(self, item, bool show=True)
Show(self, item, bool show=True, bool recursive=False) -> bool
Shows or hides an item managed by the sizer. To make a sizer item
disappear or reappear, use Show followed by `Layout`. The *item*
parameter can be either a window, a sizer, or the zero-based index of
the item.
the item. Use the recursive parameter to show or hide an item in a
subsizer. Returns True if the item was found.
"""
return _core_.Sizer_Show(*args, **kwargs)
@@ -9328,11 +9345,11 @@ class Sizer(Object):
"""
return _core_.Sizer_IsShown(*args, **kwargs)
def Hide(self, item):
def Hide(self, item, recursive=False):
"""
A convenience method for Show(item, False).
A convenience method for Show(item, False, recursive).
"""
self.Show(item, False)
return self.Show(item, False, recursive)
def ShowItems(*args, **kwargs):
"""