def SetOutputWindowAttributes(self, title=None, pos=None, size=None):
"""
Set the title, position and/or size of the output window if
- the stdio has been redirected.
+ the stdio has been redirected. This should be called before
+ any output would cause the output window to be created.
"""
if self.stdioWin:
if title is not None:
"""
return _core_.Window_FitInside(*args, **kwargs)
- def SetSizeHints(*args):
+ def SetSizeHints(*args, **kwargs):
"""
- SetSizeHints(self, Size minSize, Size maxSize=DefaultSize, Size incSize=DefaultSize)
SetSizeHints(self, int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1,
int incH=-1)
The resizing increments are only significant under Motif or Xt.
"""
- return _core_.Window_SetSizeHints(*args)
+ return _core_.Window_SetSizeHints(*args, **kwargs)
+
+ def SetSizeHintsSz(*args, **kwargs):
+ """
+ SetSizeHintsSz(self, Size minSize, Size maxSize=DefaultSize, Size incSize=DefaultSize)
+
+ Allows specification of minimum and maximum window sizes, and window
+ size increments. If a pair of values is not set (or set to -1), the
+ default values will be used. If this function is called, the user
+ will not be able to size the window outside the given bounds (if it is
+ a top-level window.) Sizers will also inspect the minimum window size
+ and will use that value if set when calculating layout.
+
+ The resizing increments are only significant under Motif or Xt.
+ """
+ return _core_.Window_SetSizeHintsSz(*args, **kwargs)
- def SetVirtualSizeHints(*args):
+ def SetVirtualSizeHints(*args, **kwargs):
"""
- SetVirtualSizeHints(self, Size minSize, Size maxSize=DefaultSize)
SetVirtualSizeHints(self, int minW, int minH, int maxW=-1, int maxH=-1)
Allows specification of minimum and maximum virtual window sizes. If a
used. If this function is called, the user will not be able to size
the virtual area of the window outside the given bounds.
"""
- return _core_.Window_SetVirtualSizeHints(*args)
+ return _core_.Window_SetVirtualSizeHints(*args, **kwargs)
+
+ def SetVirtualSizeHintsSz(*args, **kwargs):
+ """
+ SetVirtualSizeHintsSz(self, Size minSize, Size maxSize=DefaultSize)
+
+ Allows specification of minimum and maximum virtual window sizes. If a
+ pair of values is not set (or set to -1), the default values will be
+ used. If this function is called, the user will not be able to size
+ the virtual area of the window outside the given bounds.
+ """
+ return _core_.Window_SetVirtualSizeHintsSz(*args, **kwargs)
def GetMaxSize(*args, **kwargs):
"""GetMaxSize(self) -> Size"""
def AppendItems(*args, **kwargs):
"""
- AppendItems(self, wxArrayString strings)
+ AppendItems(self, List strings)
Apend several items at once to the control. Notice that calling this
method may be much faster than appending the items one by one if you