reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3581,10 +3581,11 @@ class KeyEvent(Event):
|
|||||||
return _core_.KeyEvent_GetKeyCode(*args, **kwargs)
|
return _core_.KeyEvent_GetKeyCode(*args, **kwargs)
|
||||||
|
|
||||||
KeyCode = GetKeyCode
|
KeyCode = GetKeyCode
|
||||||
def GetUniChar(*args, **kwargs):
|
def GetUnicodeKey(*args, **kwargs):
|
||||||
"""GetUniChar(self) -> int"""
|
"""GetUnicodeKey(self) -> int"""
|
||||||
return _core_.KeyEvent_GetUniChar(*args, **kwargs)
|
return _core_.KeyEvent_GetUnicodeKey(*args, **kwargs)
|
||||||
|
|
||||||
|
GetUniChar = GetUnicodeKey
|
||||||
def GetRawKeyCode(*args, **kwargs):
|
def GetRawKeyCode(*args, **kwargs):
|
||||||
"""GetRawKeyCode(self) -> unsigned int"""
|
"""GetRawKeyCode(self) -> unsigned int"""
|
||||||
return _core_.KeyEvent_GetRawKeyCode(*args, **kwargs)
|
return _core_.KeyEvent_GetRawKeyCode(*args, **kwargs)
|
||||||
@@ -5051,6 +5052,10 @@ class PyOnDemandOutputWindow:
|
|||||||
wx.CallAfter(self.frame.Close)
|
wx.CallAfter(self.frame.Close)
|
||||||
|
|
||||||
|
|
||||||
|
def flush(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
|
@@ -1270,9 +1270,9 @@ void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
int wxKeyEvent_GetUniChar(wxKeyEvent *self){
|
int wxKeyEvent_GetUnicodeKey(wxKeyEvent *self){
|
||||||
#if wxUSE_UNICODE
|
#if wxUSE_UNICODE
|
||||||
return self->m_uniChar;
|
return self->GetUnicodeKey();
|
||||||
#else
|
#else
|
||||||
return 0;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
@@ -15567,7 +15567,7 @@ static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObj
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
|
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
|
||||||
int result;
|
int result;
|
||||||
@@ -15576,12 +15576,12 @@ static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObj
|
|||||||
(char *) "self", NULL
|
(char *) "self", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUnicodeKey",kwnames,&obj0)) goto fail;
|
||||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
|
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
|
||||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||||
{
|
{
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = (int)wxKeyEvent_GetUniChar(arg1);
|
result = (int)wxKeyEvent_GetUnicodeKey(arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
@@ -40441,7 +40441,7 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"KeyEvent_GetUnicodeKey", (PyCFunction) _wrap_KeyEvent_GetUnicodeKey, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
@@ -65,7 +65,20 @@ class Button(_core.Control):
|
|||||||
|
|
||||||
GetDefaultSize = staticmethod(GetDefaultSize)
|
GetDefaultSize = staticmethod(GetDefaultSize)
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.Button_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.Button_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -98,7 +111,20 @@ def Button_GetDefaultSize(*args, **kwargs):
|
|||||||
return _controls_.Button_GetDefaultSize(*args, **kwargs)
|
return _controls_.Button_GetDefaultSize(*args, **kwargs)
|
||||||
|
|
||||||
def Button_GetClassDefaultAttributes(*args, **kwargs):
|
def Button_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""Button_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.Button_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.Button_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
class BitmapButton(Button):
|
class BitmapButton(Button):
|
||||||
@@ -343,7 +369,20 @@ class CheckBox(_core.Control):
|
|||||||
return _controls_.CheckBox_Is3rdStateAllowedForUser(*args, **kwargs)
|
return _controls_.CheckBox_Is3rdStateAllowedForUser(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.CheckBox_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.CheckBox_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -367,7 +406,20 @@ def PreCheckBox(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def CheckBox_GetClassDefaultAttributes(*args, **kwargs):
|
def CheckBox_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""CheckBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.CheckBox_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.CheckBox_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
@@ -430,7 +482,20 @@ class Choice(_core.ControlWithItems):
|
|||||||
|
|
||||||
Select = SetSelection
|
Select = SetSelection
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.Choice_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.Choice_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -454,7 +519,20 @@ def PreChoice(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def Choice_GetClassDefaultAttributes(*args, **kwargs):
|
def Choice_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""Choice_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.Choice_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.Choice_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
@@ -618,7 +696,20 @@ class ComboBox(Choice):
|
|||||||
return _controls_.ComboBox_Remove(*args, **kwargs)
|
return _controls_.ComboBox_Remove(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.ComboBox_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.ComboBox_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -642,7 +733,20 @@ def PreComboBox(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def ComboBox_GetClassDefaultAttributes(*args, **kwargs):
|
def ComboBox_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""ComboBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.ComboBox_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.ComboBox_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
@@ -713,7 +817,20 @@ class Gauge(_core.Control):
|
|||||||
return _controls_.Gauge_GetBezelFace(*args, **kwargs)
|
return _controls_.Gauge_GetBezelFace(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.Gauge_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.Gauge_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -733,7 +850,20 @@ def PreGauge(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def Gauge_GetClassDefaultAttributes(*args, **kwargs):
|
def Gauge_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""Gauge_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.Gauge_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.Gauge_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
@@ -762,7 +892,20 @@ class StaticBox(_core.Control):
|
|||||||
return _controls_.StaticBox_Create(*args, **kwargs)
|
return _controls_.StaticBox_Create(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.StaticBox_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.StaticBox_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -784,7 +927,20 @@ def PreStaticBox(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def StaticBox_GetClassDefaultAttributes(*args, **kwargs):
|
def StaticBox_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""StaticBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.StaticBox_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.StaticBox_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
@@ -822,7 +978,20 @@ class StaticLine(_core.Control):
|
|||||||
|
|
||||||
GetDefaultSize = staticmethod(GetDefaultSize)
|
GetDefaultSize = staticmethod(GetDefaultSize)
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.StaticLine_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.StaticLine_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -845,7 +1014,20 @@ def StaticLine_GetDefaultSize(*args, **kwargs):
|
|||||||
return _controls_.StaticLine_GetDefaultSize(*args, **kwargs)
|
return _controls_.StaticLine_GetDefaultSize(*args, **kwargs)
|
||||||
|
|
||||||
def StaticLine_GetClassDefaultAttributes(*args, **kwargs):
|
def StaticLine_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""StaticLine_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.StaticLine_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.StaticLine_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
@@ -874,7 +1056,20 @@ class StaticText(_core.Control):
|
|||||||
return _controls_.StaticText_Create(*args, **kwargs)
|
return _controls_.StaticText_Create(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.StaticText_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.StaticText_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -893,7 +1088,20 @@ def PreStaticText(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def StaticText_GetClassDefaultAttributes(*args, **kwargs):
|
def StaticText_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""StaticText_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.StaticText_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.StaticText_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
@@ -934,7 +1142,20 @@ class StaticBitmap(_core.Control):
|
|||||||
return _controls_.StaticBitmap_SetIcon(*args, **kwargs)
|
return _controls_.StaticBitmap_SetIcon(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.StaticBitmap_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.StaticBitmap_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -953,7 +1174,20 @@ def PreStaticBitmap(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def StaticBitmap_GetClassDefaultAttributes(*args, **kwargs):
|
def StaticBitmap_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""StaticBitmap_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.StaticBitmap_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.StaticBitmap_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
@@ -1065,7 +1299,20 @@ class ListBox(_core.ControlWithItems):
|
|||||||
return _controls_.ListBox_SetItemFont(*args, **kwargs)
|
return _controls_.ListBox_SetItemFont(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.ListBox_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.ListBox_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -1085,7 +1332,20 @@ def PreListBox(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def ListBox_GetClassDefaultAttributes(*args, **kwargs):
|
def ListBox_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""ListBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.ListBox_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.ListBox_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
@@ -1587,7 +1847,20 @@ class TextCtrl(_core.Control):
|
|||||||
return _controls_.TextCtrl_GetString(*args, **kwargs)
|
return _controls_.TextCtrl_GetString(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.TextCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.TextCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -1606,7 +1879,20 @@ def PreTextCtrl(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def TextCtrl_GetClassDefaultAttributes(*args, **kwargs):
|
def TextCtrl_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""TextCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.TextCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.TextCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
wxEVT_COMMAND_TEXT_UPDATED = _controls_.wxEVT_COMMAND_TEXT_UPDATED
|
wxEVT_COMMAND_TEXT_UPDATED = _controls_.wxEVT_COMMAND_TEXT_UPDATED
|
||||||
@@ -1709,7 +1995,20 @@ class ScrollBar(_core.Control):
|
|||||||
return _controls_.ScrollBar_SetScrollbar(*args, **kwargs)
|
return _controls_.ScrollBar_SetScrollbar(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.ScrollBar_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.ScrollBar_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -1729,7 +2028,20 @@ def PreScrollBar(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def ScrollBar_GetClassDefaultAttributes(*args, **kwargs):
|
def ScrollBar_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""ScrollBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.ScrollBar_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.ScrollBar_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
@@ -1794,7 +2106,20 @@ class SpinButton(_core.Control):
|
|||||||
return _controls_.SpinButton_IsVertical(*args, **kwargs)
|
return _controls_.SpinButton_IsVertical(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.SpinButton_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.SpinButton_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -1815,7 +2140,20 @@ def PreSpinButton(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def SpinButton_GetClassDefaultAttributes(*args, **kwargs):
|
def SpinButton_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""SpinButton_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.SpinButton_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.SpinButton_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
class SpinCtrl(_core.Control):
|
class SpinCtrl(_core.Control):
|
||||||
@@ -1872,7 +2210,20 @@ class SpinCtrl(_core.Control):
|
|||||||
return _controls_.SpinCtrl_SetSelection(*args, **kwargs)
|
return _controls_.SpinCtrl_SetSelection(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.SpinCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.SpinCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -1891,7 +2242,20 @@ def PreSpinCtrl(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def SpinCtrl_GetClassDefaultAttributes(*args, **kwargs):
|
def SpinCtrl_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""SpinCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.SpinCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.SpinCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
class SpinEvent(_core.NotifyEvent):
|
class SpinEvent(_core.NotifyEvent):
|
||||||
@@ -2012,7 +2376,20 @@ class RadioBox(_core.Control):
|
|||||||
return _controls_.RadioBox_GetNextItem(*args, **kwargs)
|
return _controls_.RadioBox_GetNextItem(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.RadioBox_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.RadioBox_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -2033,7 +2410,20 @@ def PreRadioBox(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def RadioBox_GetClassDefaultAttributes(*args, **kwargs):
|
def RadioBox_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""RadioBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.RadioBox_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.RadioBox_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
@@ -2072,7 +2462,20 @@ class RadioButton(_core.Control):
|
|||||||
return _controls_.RadioButton_SetValue(*args, **kwargs)
|
return _controls_.RadioButton_SetValue(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.RadioButton_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.RadioButton_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -2091,7 +2494,20 @@ def PreRadioButton(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def RadioButton_GetClassDefaultAttributes(*args, **kwargs):
|
def RadioButton_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""RadioButton_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.RadioButton_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.RadioButton_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
@@ -2209,7 +2625,20 @@ class Slider(_core.Control):
|
|||||||
return _controls_.Slider_SetSelection(*args, **kwargs)
|
return _controls_.Slider_SetSelection(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.Slider_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.Slider_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -2229,7 +2658,20 @@ def PreSlider(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def Slider_GetClassDefaultAttributes(*args, **kwargs):
|
def Slider_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""Slider_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.Slider_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.Slider_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
@@ -2279,7 +2721,20 @@ class ToggleButton(_core.Control):
|
|||||||
return _controls_.ToggleButton_SetLabel(*args, **kwargs)
|
return _controls_.ToggleButton_SetLabel(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.ToggleButton_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.ToggleButton_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -2299,7 +2754,20 @@ def PreToggleButton(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def ToggleButton_GetClassDefaultAttributes(*args, **kwargs):
|
def ToggleButton_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""ToggleButton_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.ToggleButton_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.ToggleButton_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
@@ -2388,7 +2856,20 @@ class BookCtrl(_core.Control):
|
|||||||
return _controls_.BookCtrl_AdvanceSelection(*args, **kwargs)
|
return _controls_.BookCtrl_AdvanceSelection(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.BookCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.BookCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -2402,7 +2883,20 @@ _controls_.BookCtrl_swigregister(BookCtrlPtr)
|
|||||||
NOTEBOOK_NAME = cvar.NOTEBOOK_NAME
|
NOTEBOOK_NAME = cvar.NOTEBOOK_NAME
|
||||||
|
|
||||||
def BookCtrl_GetClassDefaultAttributes(*args, **kwargs):
|
def BookCtrl_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""BookCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.BookCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.BookCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
class BookCtrlEvent(_core.NotifyEvent):
|
class BookCtrlEvent(_core.NotifyEvent):
|
||||||
@@ -2504,7 +2998,20 @@ class Notebook(BookCtrl):
|
|||||||
return _controls_.Notebook_ApplyThemeBackground(*args, **kwargs)
|
return _controls_.Notebook_ApplyThemeBackground(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.Notebook_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.Notebook_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -2523,7 +3030,20 @@ def PreNotebook(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def Notebook_GetClassDefaultAttributes(*args, **kwargs):
|
def Notebook_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""Notebook_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.Notebook_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.Notebook_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
class NotebookEvent(BookCtrlEvent):
|
class NotebookEvent(BookCtrlEvent):
|
||||||
@@ -3241,7 +3761,20 @@ class ToolBar(ToolBarBase):
|
|||||||
return _controls_.ToolBar_FindToolForPosition(*args, **kwargs)
|
return _controls_.ToolBar_FindToolForPosition(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.ToolBar_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.ToolBar_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -3260,7 +3793,20 @@ def PreToolBar(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def ToolBar_GetClassDefaultAttributes(*args, **kwargs):
|
def ToolBar_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""ToolBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.ToolBar_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.ToolBar_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
@@ -4049,7 +4595,20 @@ class ListCtrl(_core.Control):
|
|||||||
return _controls_.ListCtrl_GetMainWindow(*args, **kwargs)
|
return _controls_.ListCtrl_GetMainWindow(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.ListCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.ListCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -4068,7 +4627,20 @@ def PreListCtrl(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def ListCtrl_GetClassDefaultAttributes(*args, **kwargs):
|
def ListCtrl_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""ListCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.ListCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.ListCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
@@ -4714,7 +5286,20 @@ class TreeCtrl(_core.Control):
|
|||||||
return _controls_.TreeCtrl_GetBoundingRect(*args, **kwargs)
|
return _controls_.TreeCtrl_GetBoundingRect(*args, **kwargs)
|
||||||
|
|
||||||
def GetClassDefaultAttributes(*args, **kwargs):
|
def GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.TreeCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.TreeCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||||
@@ -4733,7 +5318,20 @@ def PreTreeCtrl(*args, **kwargs):
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
def TreeCtrl_GetClassDefaultAttributes(*args, **kwargs):
|
def TreeCtrl_GetClassDefaultAttributes(*args, **kwargs):
|
||||||
"""TreeCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
return _controls_.TreeCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
return _controls_.TreeCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
|
@@ -1353,11 +1353,12 @@ static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *self, PyObject
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -2438,11 +2439,12 @@ static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *self, PyObje
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -2889,11 +2891,12 @@ static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *self, PyObject
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -3776,11 +3779,12 @@ static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *self, PyObje
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -4303,11 +4307,12 @@ static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *self, PyObject
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -4628,11 +4633,12 @@ static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *self, PyObj
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -4901,11 +4907,12 @@ static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *self, PyOb
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -5162,11 +5169,12 @@ static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *self, PyOb
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -5507,11 +5515,12 @@ static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *self, Py
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -6514,11 +6523,12 @@ static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *self, PyObjec
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -9908,11 +9918,12 @@ static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *self, PyObje
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -10514,11 +10525,12 @@ static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *self, PyObj
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -11003,11 +11015,12 @@ static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *self, PyOb
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -11514,11 +11527,12 @@ static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *self, PyObje
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -12453,11 +12467,12 @@ static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *self, PyObje
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -12795,11 +12810,12 @@ static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *self, PyO
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -13686,11 +13702,12 @@ static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *self, PyObject
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -14089,11 +14106,12 @@ static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *self, Py
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -14814,11 +14832,12 @@ static PyObject *_wrap_BookCtrl_GetClassDefaultAttributes(PyObject *self, PyObje
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -15407,11 +15426,12 @@ static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *self, PyObje
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -18690,11 +18710,12 @@ static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *self, PyObjec
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -23674,11 +23695,12 @@ static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *self, PyObje
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
@@ -27976,11 +27998,12 @@ static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *self, PyObje
|
|||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
if (!wxPyCheckForApp()) SWIG_fail;
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxVisualAttributes * resultptr;
|
wxVisualAttributes * resultptr;
|
||||||
|
@@ -3581,10 +3581,11 @@ class KeyEvent(Event):
|
|||||||
return _core_.KeyEvent_GetKeyCode(*args, **kwargs)
|
return _core_.KeyEvent_GetKeyCode(*args, **kwargs)
|
||||||
|
|
||||||
KeyCode = GetKeyCode
|
KeyCode = GetKeyCode
|
||||||
def GetUniChar(*args, **kwargs):
|
def GetUnicodeKey(*args, **kwargs):
|
||||||
"""GetUniChar(self) -> int"""
|
"""GetUnicodeKey(self) -> int"""
|
||||||
return _core_.KeyEvent_GetUniChar(*args, **kwargs)
|
return _core_.KeyEvent_GetUnicodeKey(*args, **kwargs)
|
||||||
|
|
||||||
|
GetUniChar = GetUnicodeKey
|
||||||
def GetRawKeyCode(*args, **kwargs):
|
def GetRawKeyCode(*args, **kwargs):
|
||||||
"""GetRawKeyCode(self) -> unsigned int"""
|
"""GetRawKeyCode(self) -> unsigned int"""
|
||||||
return _core_.KeyEvent_GetRawKeyCode(*args, **kwargs)
|
return _core_.KeyEvent_GetRawKeyCode(*args, **kwargs)
|
||||||
@@ -5051,6 +5052,10 @@ class PyOnDemandOutputWindow:
|
|||||||
wx.CallAfter(self.frame.Close)
|
wx.CallAfter(self.frame.Close)
|
||||||
|
|
||||||
|
|
||||||
|
def flush(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
|
@@ -1270,9 +1270,9 @@ void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
int wxKeyEvent_GetUniChar(wxKeyEvent *self){
|
int wxKeyEvent_GetUnicodeKey(wxKeyEvent *self){
|
||||||
#if wxUSE_UNICODE
|
#if wxUSE_UNICODE
|
||||||
return self->m_uniChar;
|
return self->GetUnicodeKey();
|
||||||
#else
|
#else
|
||||||
return 0;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
@@ -15565,7 +15565,7 @@ static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObj
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
|
wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
|
||||||
int result;
|
int result;
|
||||||
@@ -15574,12 +15574,12 @@ static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObj
|
|||||||
(char *) "self", NULL
|
(char *) "self", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUnicodeKey",kwnames,&obj0)) goto fail;
|
||||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
|
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
|
||||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||||
{
|
{
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
result = (int)wxKeyEvent_GetUniChar(arg1);
|
result = (int)wxKeyEvent_GetUnicodeKey(arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) SWIG_fail;
|
if (PyErr_Occurred()) SWIG_fail;
|
||||||
@@ -40942,7 +40942,7 @@ static PyMethodDef SwigMethods[] = {
|
|||||||
{ (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"KeyEvent_GetUnicodeKey", (PyCFunction) _wrap_KeyEvent_GetUnicodeKey, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
|
{ (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
Reference in New Issue
Block a user