GetDefaultSize = staticmethod(GetDefaultSize)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.Button_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return _controls_.Button_GetDefaultSize(*args, **kwargs)
def Button_GetClassDefaultAttributes(*args, **kwargs):
- """
- Button_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """Button_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.Button_GetClassDefaultAttributes(*args, **kwargs)
class BitmapButton(Button):
return _controls_.CheckBox_Is3rdStateAllowedForUser(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.CheckBox_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def CheckBox_GetClassDefaultAttributes(*args, **kwargs):
- """
- CheckBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """CheckBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.CheckBox_GetClassDefaultAttributes(*args, **kwargs)
#---------------------------------------------------------------------------
Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
List choices=[], long style=0, Validator validator=DefaultValidator,
String name=ChoiceNameStr) -> bool
+
+ Actually create the GUI Choice control for 2-phase creation
"""
return _controls_.Choice_Create(*args, **kwargs)
Select = SetSelection
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.Choice_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def Choice_GetClassDefaultAttributes(*args, **kwargs):
- """
- Choice_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """Choice_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.Choice_GetClassDefaultAttributes(*args, **kwargs)
#---------------------------------------------------------------------------
Point pos=DefaultPosition, Size size=DefaultSize,
List choices=[], long style=0, Validator validator=DefaultValidator,
String name=ChoiceNameStr) -> bool
+
+ Actually create the GUI wxComboBox control for 2-phase creation
"""
return _controls_.ComboBox_Create(*args, **kwargs)
return _controls_.ComboBox_Remove(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.ComboBox_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def ComboBox_GetClassDefaultAttributes(*args, **kwargs):
- """
- ComboBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """ComboBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.ComboBox_GetClassDefaultAttributes(*args, **kwargs)
#---------------------------------------------------------------------------
return _controls_.Gauge_GetBezelFace(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.Gauge_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def Gauge_GetClassDefaultAttributes(*args, **kwargs):
- """
- Gauge_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """Gauge_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.Gauge_GetClassDefaultAttributes(*args, **kwargs)
#---------------------------------------------------------------------------
return _controls_.StaticBox_Create(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.StaticBox_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def StaticBox_GetClassDefaultAttributes(*args, **kwargs):
- """
- StaticBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """StaticBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.StaticBox_GetClassDefaultAttributes(*args, **kwargs)
#---------------------------------------------------------------------------
GetDefaultSize = staticmethod(GetDefaultSize)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.StaticLine_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return _controls_.StaticLine_GetDefaultSize(*args, **kwargs)
def StaticLine_GetClassDefaultAttributes(*args, **kwargs):
- """
- StaticLine_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """StaticLine_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.StaticLine_GetClassDefaultAttributes(*args, **kwargs)
#---------------------------------------------------------------------------
return _controls_.StaticText_Create(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.StaticText_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def StaticText_GetClassDefaultAttributes(*args, **kwargs):
- """
- StaticText_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """StaticText_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.StaticText_GetClassDefaultAttributes(*args, **kwargs)
#---------------------------------------------------------------------------
return _controls_.StaticBitmap_SetIcon(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.StaticBitmap_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def StaticBitmap_GetClassDefaultAttributes(*args, **kwargs):
- """
- StaticBitmap_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """StaticBitmap_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.StaticBitmap_GetClassDefaultAttributes(*args, **kwargs)
#---------------------------------------------------------------------------
return _controls_.ListBox_SetItemFont(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.ListBox_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def ListBox_GetClassDefaultAttributes(*args, **kwargs):
- """
- ListBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """ListBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.ListBox_GetClassDefaultAttributes(*args, **kwargs)
#---------------------------------------------------------------------------
return _controls_.TextCtrl_IsMultiLine(*args, **kwargs)
def GetSelection(*args, **kwargs):
- """GetSelection() -> (from, to)"""
+ """
+ GetSelection() -> (from, to)
+
+ If the return values from and to are the same, there is no selection.
+ """
return _controls_.TextCtrl_GetSelection(*args, **kwargs)
def GetStringSelection(*args, **kwargs):
return _controls_.TextCtrl_ShowPosition(*args, **kwargs)
def HitTest(*args, **kwargs):
- """HitTest(Point pt) -> (result, row, col)"""
+ """
+ HitTest(Point pt) -> (result, row, col)
+
+ Find the character at position given in pixels. NB: pt is in device
+ coords but is not adjusted for the client area origin nor scrolling
+ """
return _controls_.TextCtrl_HitTest(*args, **kwargs)
def Copy(*args, **kwargs):
return _controls_.TextCtrl_GetString(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.TextCtrl_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def TextCtrl_GetClassDefaultAttributes(*args, **kwargs):
- """
- TextCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """TextCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.TextCtrl_GetClassDefaultAttributes(*args, **kwargs)
wxEVT_COMMAND_TEXT_UPDATED = _controls_.wxEVT_COMMAND_TEXT_UPDATED
return _controls_.ScrollBar_SetScrollbar(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.ScrollBar_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def ScrollBar_GetClassDefaultAttributes(*args, **kwargs):
- """
- ScrollBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """ScrollBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.ScrollBar_GetClassDefaultAttributes(*args, **kwargs)
#---------------------------------------------------------------------------
return _controls_.SpinButton_IsVertical(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.SpinButton_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def SpinButton_GetClassDefaultAttributes(*args, **kwargs):
- """
- SpinButton_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """SpinButton_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.SpinButton_GetClassDefaultAttributes(*args, **kwargs)
class SpinCtrl(_core.Control):
return _controls_.SpinCtrl_SetSelection(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.SpinCtrl_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def SpinCtrl_GetClassDefaultAttributes(*args, **kwargs):
- """
- SpinCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """SpinCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.SpinCtrl_GetClassDefaultAttributes(*args, **kwargs)
class SpinEvent(_core.NotifyEvent):
return _controls_.RadioBox_GetNextItem(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.RadioBox_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def RadioBox_GetClassDefaultAttributes(*args, **kwargs):
- """
- RadioBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """RadioBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.RadioBox_GetClassDefaultAttributes(*args, **kwargs)
#---------------------------------------------------------------------------
return _controls_.RadioButton_SetValue(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.RadioButton_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def RadioButton_GetClassDefaultAttributes(*args, **kwargs):
- """
- RadioButton_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """RadioButton_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.RadioButton_GetClassDefaultAttributes(*args, **kwargs)
#---------------------------------------------------------------------------
return _controls_.Slider_SetSelection(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.Slider_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def Slider_GetClassDefaultAttributes(*args, **kwargs):
- """
- Slider_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """Slider_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.Slider_GetClassDefaultAttributes(*args, **kwargs)
#---------------------------------------------------------------------------
return _controls_.ToggleButton_SetLabel(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.ToggleButton_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def ToggleButton_GetClassDefaultAttributes(*args, **kwargs):
- """
- ToggleButton_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """ToggleButton_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.ToggleButton_GetClassDefaultAttributes(*args, **kwargs)
#---------------------------------------------------------------------------
return _controls_.BookCtrl_AdvanceSelection(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.BookCtrl_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
NOTEBOOK_NAME = cvar.NOTEBOOK_NAME
def BookCtrl_GetClassDefaultAttributes(*args, **kwargs):
- """
- BookCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """BookCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.BookCtrl_GetClassDefaultAttributes(*args, **kwargs)
class BookCtrlEvent(_core.NotifyEvent):
return _controls_.Notebook_SetTabSize(*args, **kwargs)
def HitTest(*args, **kwargs):
- """HitTest(Point pt) -> (tab, where)"""
+ """
+ HitTest(Point pt) -> (tab, where)
+
+ Returns the tab which is hit, and flags indicating where using
+ wx.NB_HITTEST flags.
+ """
return _controls_.Notebook_HitTest(*args, **kwargs)
def CalcSizeFromPage(*args, **kwargs):
return _controls_.Notebook_ApplyThemeBackground(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.Notebook_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def Notebook_GetClassDefaultAttributes(*args, **kwargs):
- """
- Notebook_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """Notebook_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.Notebook_GetClassDefaultAttributes(*args, **kwargs)
class NotebookEvent(BookCtrlEvent):
return _controls_.ToolBar_FindToolForPosition(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.ToolBar_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def ToolBar_GetClassDefaultAttributes(*args, **kwargs):
- """
- ToolBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """ToolBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.ToolBar_GetClassDefaultAttributes(*args, **kwargs)
#---------------------------------------------------------------------------
return _controls_.ListCtrl_FindItemAtPos(*args, **kwargs)
def HitTest(*args, **kwargs):
- """HitTest(Point point) -> (item, where)"""
+ """
+ HitTest(Point point) -> (item, where)
+
+ Determines which item (if any) is at the specified point, giving
+ in the second return value (see wxLIST_HITTEST_... flags.)
+ """
return _controls_.ListCtrl_HitTest(*args, **kwargs)
def InsertItem(*args, **kwargs):
return _controls_.ListCtrl_GetMainWindow(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.ListCtrl_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def ListCtrl_GetClassDefaultAttributes(*args, **kwargs):
- """
- ListCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """ListCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.ListCtrl_GetClassDefaultAttributes(*args, **kwargs)
#---------------------------------------------------------------------------
return _controls_.TreeCtrl_SortChildren(*args, **kwargs)
def HitTest(*args, **kwargs):
- """HitTest(Point point) -> (item, where)"""
+ """
+ HitTest(Point point) -> (item, where)
+
+ Determine which item (if any) belongs the given point. The coordinates
+ specified are relative to the client area of tree ctrl and the where return
+ value is set to a bitmask of wxTREE_HITTEST_xxx constants.
+
+ """
return _controls_.TreeCtrl_HitTest(*args, **kwargs)
def GetBoundingRect(*args, **kwargs):
return _controls_.TreeCtrl_GetBoundingRect(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
- """
- GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.TreeCtrl_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
return val
def TreeCtrl_GetClassDefaultAttributes(*args, **kwargs):
- """
- TreeCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
-
- Get the default attributes for this class. This is useful if you want
- to use the same font or colour in your own control as in a standard
- control -- which is a much better idea than hard coding specific
- colours or fonts which might look completely out of place on the
- user's system, especially if it uses themes.
-
- The variant parameter is only relevant under Mac currently and is
- ignore under other platforms. Under Mac, it will change the size of
- the returned font. See `wx.Window.SetWindowVariant` for more about
- this.
- """
+ """TreeCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
return _controls_.TreeCtrl_GetClassDefaultAttributes(*args, **kwargs)
#---------------------------------------------------------------------------
return _controls_.GenericDirCtrl_GetFilterListCtrl(*args, **kwargs)
def FindChild(*args, **kwargs):
- """FindChild(wxTreeItemId parentId, wxString path) -> (item, done)"""
+ """
+ FindChild(wxTreeItemId parentId, wxString path) -> (item, done)
+
+ Find the child that matches the first part of 'path'. E.g. if a child
+ path is "/usr" and 'path' is "/usr/include" then the child for
+ /usr is returned. If the path string has been used (we're at the
+ leaf), done is set to True.
+
+ """
return _controls_.GenericDirCtrl_FindChild(*args, **kwargs)
def DoResize(*args, **kwargs):