reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -65,20 +65,7 @@ class Button(_core.Control):
|
||||
|
||||
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)
|
||||
@@ -111,20 +98,7 @@ def Button_GetDefaultSize(*args, **kwargs):
|
||||
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):
|
||||
@@ -369,20 +343,7 @@ class CheckBox(_core.Control):
|
||||
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)
|
||||
@@ -406,20 +367,7 @@ def PreCheckBox(*args, **kwargs):
|
||||
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)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -482,20 +430,7 @@ class Choice(_core.ControlWithItems):
|
||||
|
||||
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)
|
||||
@@ -519,20 +454,7 @@ def PreChoice(*args, **kwargs):
|
||||
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)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -696,20 +618,7 @@ class ComboBox(_core.Control,_core.ItemContainer):
|
||||
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)
|
||||
@@ -733,20 +642,7 @@ def PreComboBox(*args, **kwargs):
|
||||
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)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -817,20 +713,7 @@ class Gauge(_core.Control):
|
||||
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)
|
||||
@@ -850,20 +733,7 @@ def PreGauge(*args, **kwargs):
|
||||
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)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -892,20 +762,7 @@ class StaticBox(_core.Control):
|
||||
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)
|
||||
@@ -927,20 +784,7 @@ def PreStaticBox(*args, **kwargs):
|
||||
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)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -978,20 +822,7 @@ class StaticLine(_core.Control):
|
||||
|
||||
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)
|
||||
@@ -1014,20 +845,7 @@ def StaticLine_GetDefaultSize(*args, **kwargs):
|
||||
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)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -1056,20 +874,7 @@ class StaticText(_core.Control):
|
||||
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)
|
||||
@@ -1088,20 +893,7 @@ def PreStaticText(*args, **kwargs):
|
||||
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)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -1142,20 +934,7 @@ class StaticBitmap(_core.Control):
|
||||
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)
|
||||
@@ -1174,20 +953,7 @@ def PreStaticBitmap(*args, **kwargs):
|
||||
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)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -1299,20 +1065,7 @@ class ListBox(_core.ControlWithItems):
|
||||
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)
|
||||
@@ -1332,20 +1085,7 @@ def PreListBox(*args, **kwargs):
|
||||
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)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -1839,20 +1579,7 @@ class TextCtrl(_core.Control):
|
||||
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)
|
||||
@@ -1871,20 +1598,7 @@ def PreTextCtrl(*args, **kwargs):
|
||||
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
|
||||
@@ -1987,20 +1701,7 @@ class ScrollBar(_core.Control):
|
||||
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)
|
||||
@@ -2020,20 +1721,7 @@ def PreScrollBar(*args, **kwargs):
|
||||
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)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -2098,20 +1786,7 @@ class SpinButton(_core.Control):
|
||||
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)
|
||||
@@ -2132,20 +1807,7 @@ def PreSpinButton(*args, **kwargs):
|
||||
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):
|
||||
@@ -2202,20 +1864,7 @@ 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)
|
||||
@@ -2234,20 +1883,7 @@ def PreSpinCtrl(*args, **kwargs):
|
||||
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):
|
||||
@@ -2368,20 +2004,7 @@ class RadioBox(_core.Control):
|
||||
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)
|
||||
@@ -2402,20 +2025,7 @@ def PreRadioBox(*args, **kwargs):
|
||||
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)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -2454,20 +2064,7 @@ class RadioButton(_core.Control):
|
||||
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)
|
||||
@@ -2486,20 +2083,7 @@ def PreRadioButton(*args, **kwargs):
|
||||
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)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -2617,20 +2201,7 @@ class Slider(_core.Control):
|
||||
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)
|
||||
@@ -2650,20 +2221,7 @@ def PreSlider(*args, **kwargs):
|
||||
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)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -2713,20 +2271,7 @@ class ToggleButton(_core.Control):
|
||||
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)
|
||||
@@ -2746,20 +2291,7 @@ def PreToggleButton(*args, **kwargs):
|
||||
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)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -2848,20 +2380,7 @@ class BookCtrl(_core.Control):
|
||||
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)
|
||||
@@ -2875,20 +2394,7 @@ _controls_.BookCtrl_swigregister(BookCtrlPtr)
|
||||
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):
|
||||
@@ -2986,20 +2492,7 @@ class Notebook(BookCtrl):
|
||||
return _controls_.Notebook_CalcSizeFromPage(*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)
|
||||
@@ -3018,20 +2511,7 @@ def PreNotebook(*args, **kwargs):
|
||||
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):
|
||||
@@ -3749,20 +3229,7 @@ class ToolBar(ToolBarBase):
|
||||
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)
|
||||
@@ -3781,20 +3248,7 @@ def PreToolBar(*args, **kwargs):
|
||||
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)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -4579,20 +4033,7 @@ class ListCtrl(_core.Control):
|
||||
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)
|
||||
@@ -4611,20 +4052,7 @@ def PreListCtrl(*args, **kwargs):
|
||||
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)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -5262,20 +4690,7 @@ class TreeCtrl(_core.Control):
|
||||
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)
|
||||
@@ -5294,20 +4709,7 @@ def PreTreeCtrl(*args, **kwargs):
|
||||
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)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
@@ -1356,7 +1356,6 @@ static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *self, PyObject
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -2442,7 +2441,6 @@ static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *self, PyObje
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -2894,7 +2892,6 @@ static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *self, PyObject
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -3782,7 +3779,6 @@ static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *self, PyObje
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -4310,7 +4306,6 @@ static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *self, PyObject
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -4636,7 +4631,6 @@ static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *self, PyObj
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -4910,7 +4904,6 @@ static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *self, PyOb
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -5172,7 +5165,6 @@ static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *self, PyOb
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -5518,7 +5510,6 @@ static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *self, Py
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -6526,7 +6517,6 @@ static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *self, PyObjec
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -9859,7 +9849,6 @@ static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *self, PyObje
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -10466,7 +10455,6 @@ static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *self, PyObj
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -10956,7 +10944,6 @@ static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *self, PyOb
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -11468,7 +11455,6 @@ static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *self, PyObje
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -12408,7 +12394,6 @@ static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *self, PyObje
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -12751,7 +12736,6 @@ static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *self, PyO
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -13643,7 +13627,6 @@ static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *self, PyObject
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -14047,7 +14030,6 @@ static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *self, Py
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -14773,7 +14755,6 @@ static PyObject *_wrap_BookCtrl_GetClassDefaultAttributes(PyObject *self, PyObje
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -15331,7 +15312,6 @@ static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *self, PyObje
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -18615,7 +18595,6 @@ static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *self, PyObjec
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -23572,7 +23551,6 @@ static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *self, PyObje
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -27795,7 +27773,6 @@ static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *self, PyObje
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
|
@@ -5838,6 +5838,26 @@ class Window(EvtHandler):
|
||||
"""
|
||||
return _core_.Window_GetBestSizeTuple(*args, **kwargs)
|
||||
|
||||
def InvalidateBestSize(*args, **kwargs):
|
||||
"""
|
||||
InvalidateBestSize(self)
|
||||
|
||||
Reset the cached best size value so it will be recalculated the next
|
||||
time it is needed.
|
||||
"""
|
||||
return _core_.Window_InvalidateBestSize(*args, **kwargs)
|
||||
|
||||
def GetBestFittingSize(*args, **kwargs):
|
||||
"""
|
||||
GetBestFittingSize(self) -> Size
|
||||
|
||||
This function will merge the window's best size into the window's
|
||||
minimum size, giving priority to the min size components, and returns
|
||||
the results.
|
||||
|
||||
"""
|
||||
return _core_.Window_GetBestFittingSize(*args, **kwargs)
|
||||
|
||||
def GetAdjustedBestSize(*args, **kwargs):
|
||||
"""
|
||||
GetAdjustedBestSize(self) -> Size
|
||||
@@ -8181,40 +8201,8 @@ class Control(Window):
|
||||
"""
|
||||
return _core_.Control_SetLabel(*args, **kwargs)
|
||||
|
||||
def GetAdjustMinSizeFlag(*args, **kwargs):
|
||||
"""
|
||||
GetAdjustMinSizeFlag(self) -> bool
|
||||
|
||||
Returns whether the minsize should be adjusted for this control when
|
||||
`SetLabel` or `SetFont` are called.
|
||||
"""
|
||||
return _core_.Control_GetAdjustMinSizeFlag(*args, **kwargs)
|
||||
|
||||
def SetAdjustMinSizeFlag(*args, **kwargs):
|
||||
"""
|
||||
SetAdjustMinSizeFlag(self, bool adjust)
|
||||
|
||||
By default controls will readjust their size and minsize when
|
||||
`SetLabel` or `SetFont` are called. This flag will allow you to
|
||||
control this behavior.
|
||||
"""
|
||||
return _core_.Control_SetAdjustMinSizeFlag(*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 _core_.Control_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
@@ -8238,20 +8226,7 @@ def PreControl(*args, **kwargs):
|
||||
return val
|
||||
|
||||
def Control_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
Control_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.
|
||||
"""
|
||||
"""Control_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
||||
return _core_.Control_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -8524,6 +8499,15 @@ class SizerItem(Object):
|
||||
"""
|
||||
return _core_.SizerItem_GetMinSize(*args, **kwargs)
|
||||
|
||||
def GetMinSizeWithBorder(*args, **kwargs):
|
||||
"""
|
||||
GetMinSizeWithBorder(self) -> Size
|
||||
|
||||
Get the minimum size needed for the item with space for the borders
|
||||
added, if needed.
|
||||
"""
|
||||
return _core_.SizerItem_GetMinSizeWithBorder(*args, **kwargs)
|
||||
|
||||
def SetInitSize(*args, **kwargs):
|
||||
"""SetInitSize(self, int x, int y)"""
|
||||
return _core_.SizerItem_SetInitSize(*args, **kwargs)
|
||||
@@ -10434,7 +10418,7 @@ def CallAfter(callable, *args, **kw):
|
||||
:see: `wx.FutureCall`
|
||||
"""
|
||||
app = wx.GetApp()
|
||||
assert app, 'No wxApp created yet'
|
||||
assert app is not None, 'No wx.App created yet'
|
||||
|
||||
global _wxPyCallAfterId
|
||||
if _wxPyCallAfterId is None:
|
||||
|
@@ -22885,6 +22885,61 @@ static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, P
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_Window_InvalidateBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InvalidateBestSize",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->InvalidateBestSize();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_Window_GetBestFittingSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
wxSize result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestFittingSize",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = ((wxWindow const *)arg1)->GetBestFittingSize();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxSize * resultptr;
|
||||
resultptr = new wxSize((wxSize &) result);
|
||||
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
@@ -26264,7 +26319,7 @@ static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject
|
||||
static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
wxCursor *result;
|
||||
wxCursor result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
@@ -26275,16 +26330,14 @@ static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
{
|
||||
wxCursor &_result_ref = (arg1)->GetCursor();
|
||||
result = (wxCursor *) &_result_ref;
|
||||
}
|
||||
result = (arg1)->GetCursor();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxCursor* resultptr = new wxCursor(*result);
|
||||
wxCursor * resultptr;
|
||||
resultptr = new wxCursor((wxCursor &) result);
|
||||
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
|
||||
}
|
||||
return resultobj;
|
||||
@@ -26367,7 +26420,7 @@ static PyObject *_wrap_Window_SetDefaultFont(PyObject *self, PyObject *args, PyO
|
||||
static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
wxFont *result;
|
||||
wxFont result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
@@ -26378,16 +26431,14 @@ static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
{
|
||||
wxFont &_result_ref = (arg1)->GetFont();
|
||||
result = (wxFont *) &_result_ref;
|
||||
}
|
||||
result = (arg1)->GetFont();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxFont* resultptr = new wxFont(*result);
|
||||
wxFont * resultptr;
|
||||
resultptr = new wxFont((wxFont &) result);
|
||||
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
|
||||
}
|
||||
return resultobj;
|
||||
@@ -33095,63 +33146,6 @@ static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_Control_GetAdjustMinSizeFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxControl *arg1 = (wxControl *) 0 ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetAdjustMinSizeFlag",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)(arg1)->GetAdjustMinSizeFlag();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_Control_SetAdjustMinSizeFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxControl *arg1 = (wxControl *) 0 ;
|
||||
bool arg2 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self",(char *) "adjust", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetAdjustMinSizeFlag",kwnames,&obj0,&obj1)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
arg2 = (bool) SWIG_AsBool(obj1);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->SetAdjustMinSizeFlag(arg2);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
|
||||
@@ -33167,7 +33161,6 @@ static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *self, PyObjec
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
@@ -34099,6 +34092,36 @@ static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyOb
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
|
||||
wxSize result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = ((wxSizerItem const *)arg1)->GetMinSizeWithBorder();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxSize * resultptr;
|
||||
resultptr = new wxSize((wxSize &) result);
|
||||
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
|
||||
@@ -40695,6 +40718,8 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Window_InvalidateBestSize", (PyCFunction) _wrap_Window_InvalidateBestSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Window_GetBestFittingSize", (PyCFunction) _wrap_Window_GetBestFittingSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -40986,8 +41011,6 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Control_GetAdjustMinSizeFlag", (PyCFunction) _wrap_Control_GetAdjustMinSizeFlag, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Control_SetAdjustMinSizeFlag", (PyCFunction) _wrap_Control_SetAdjustMinSizeFlag, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
|
||||
{ (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -41018,6 +41041,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction) _wrap_SizerItem_GetMinSizeWithBorder, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
|
||||
|
@@ -5344,6 +5344,15 @@ class Clipboard(_core.Object):
|
||||
"""
|
||||
return _misc_.Clipboard_UsePrimarySelection(*args, **kwargs)
|
||||
|
||||
def Get(*args, **kwargs):
|
||||
"""
|
||||
Get() -> Clipboard
|
||||
|
||||
Returns global instance (wxTheClipboard) of the object.
|
||||
"""
|
||||
return _misc_.Clipboard_Get(*args, **kwargs)
|
||||
|
||||
Get = staticmethod(Get)
|
||||
|
||||
class ClipboardPtr(Clipboard):
|
||||
def __init__(self, this):
|
||||
@@ -5352,6 +5361,31 @@ class ClipboardPtr(Clipboard):
|
||||
self.__class__ = Clipboard
|
||||
_misc_.Clipboard_swigregister(ClipboardPtr)
|
||||
|
||||
def Clipboard_Get(*args, **kwargs):
|
||||
"""
|
||||
Clipboard_Get() -> Clipboard
|
||||
|
||||
Returns global instance (wxTheClipboard) of the object.
|
||||
"""
|
||||
return _misc_.Clipboard_Get(*args, **kwargs)
|
||||
|
||||
class _wxPyDelayedInitWrapper(object):
|
||||
def __init__(self, initfunc, *args, **kwargs):
|
||||
self._initfunc = initfunc
|
||||
self._args = args
|
||||
self._kwargs = kwargs
|
||||
self._instance = None
|
||||
def _checkInstance(self):
|
||||
if self._instance is None:
|
||||
self._instance = self._initfunc(*self._args, **self._kwargs)
|
||||
def __getattr__(self, name):
|
||||
self._checkInstance()
|
||||
return getattr(self._instance, name)
|
||||
def __repr__(self):
|
||||
self._checkInstance()
|
||||
return repr(self._instance)
|
||||
TheClipboard = _wxPyDelayedInitWrapper(Clipboard.Get)
|
||||
|
||||
class ClipboardLocker(object):
|
||||
"""
|
||||
A helpful class for opening the clipboard and automatically
|
||||
@@ -5392,7 +5426,6 @@ class ClipboardLockerPtr(ClipboardLocker):
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = ClipboardLocker
|
||||
_misc_.ClipboardLocker_swigregister(ClipboardLockerPtr)
|
||||
TheClipboard = cvar.TheClipboard
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
|
@@ -27203,6 +27203,28 @@ static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *a
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_Clipboard_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxClipboard *result;
|
||||
char *kwnames[] = {
|
||||
NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Clipboard_Get",kwnames)) goto fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxClipboard *)wxClipboard::Get();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 0);
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
@@ -27210,20 +27232,6 @@ static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
|
||||
Py_INCREF(obj);
|
||||
return Py_BuildValue((char *)"");
|
||||
}
|
||||
static int _wrap_TheClipboard_set(PyObject *_val) {
|
||||
PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_TheClipboard_get() {
|
||||
PyObject *pyobj;
|
||||
|
||||
pyobj = SWIG_NewPointerObj((void *)(wxTheClipboard), SWIGTYPE_p_wxClipboard, 0);
|
||||
return pyobj;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxClipboard *arg1 = (wxClipboard *) NULL ;
|
||||
@@ -28935,6 +28943,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Clipboard_Get", (PyCFunction) _wrap_Clipboard_Get, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
|
||||
{ (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -30112,7 +30121,6 @@ SWIGEXPORT(void) SWIG_init(void) {
|
||||
wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
|
||||
wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
|
||||
|
||||
SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
|
||||
SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
|
||||
}
|
||||
|
||||
|
@@ -449,20 +449,7 @@ class CalendarCtrl(_core.Control):
|
||||
return _calendar.CalendarCtrl_GetYearControl(*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 _calendar.CalendarCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
@@ -487,20 +474,7 @@ def PreCalendarCtrl(*args, **kwargs):
|
||||
return val
|
||||
|
||||
def CalendarCtrl_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
CalendarCtrl_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.
|
||||
"""
|
||||
"""CalendarCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
||||
return _calendar.CalendarCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
|
||||
|
@@ -2254,7 +2254,6 @@ static PyObject *_wrap_CalendarCtrl_GetClassDefaultAttributes(PyObject *self, Py
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxCalendarCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
|
Reference in New Issue
Block a user