"""SetItemFont(int item, Font f)"""
return _controls.ListBox_SetItemFont(*args, **kwargs)
+ def GetClassDefaultAttributes(*args, **kwargs):
+ """
+ GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
+
+ Get the default attributes for this class. This is useful if
+ you want to use the same font or colour in your own control as
+ in a standard control -- which is a much better idea than hard
+ coding specific colours or fonts which might look completely out
+ of place on the users 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 SetWindowVariant for more about this.
+ """
+ return _controls.ListBox_GetClassDefaultAttributes(*args, **kwargs)
+
+ GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
class ListBoxPtr(ListBox):
def __init__(self, this):
val.thisown = 1
return val
+def ListBox_GetClassDefaultAttributes(*args, **kwargs):
+ """
+ ListBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
+
+ Get the default attributes for this class. This is useful if
+ you want to use the same font or colour in your own control as
+ in a standard control -- which is a much better idea than hard
+ coding specific colours or fonts which might look completely out
+ of place on the users 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 SetWindowVariant for more about this.
+ """
+ return _controls.ListBox_GetClassDefaultAttributes(*args, **kwargs)
+
#---------------------------------------------------------------------------
class CheckListBox(ListBox):
long style=RA_HORIZONTAL, Validator validator=DefaultValidator,
String name=RadioBoxNameStr) -> RadioBox
"""
- if kwargs.has_key('point'): kwargs['pos'] = kwargs['point']
+ if kwargs.has_key('point'): kwargs['pos'] = kwargs['point'];del kwargs['point']
newobj = _controls.new_RadioBox(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
long style=SL_HORIZONTAL, Validator validator=DefaultValidator,
String name=SliderNameStr) -> Slider
"""
- if kwargs.has_key('point'): kwargs['pos'] = kwargs['point']
+ if kwargs.has_key('point'): kwargs['pos'] = kwargs['point'];del kwargs['point']
newobj = _controls.new_Slider(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
"""GetMainWindow() -> Window"""
return _controls.ListCtrl_GetMainWindow(*args, **kwargs)
+ def GetClassDefaultAttributes(*args, **kwargs):
+ """
+ GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
+
+ Get the default attributes for this class. This is useful if
+ you want to use the same font or colour in your own control as
+ in a standard control -- which is a much better idea than hard
+ coding specific colours or fonts which might look completely out
+ of place on the users 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 SetWindowVariant for more about this.
+ """
+ return _controls.ListCtrl_GetClassDefaultAttributes(*args, **kwargs)
+
+ GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
class ListCtrlPtr(ListCtrl):
def __init__(self, this):
val.thisown = 1
return val
+def ListCtrl_GetClassDefaultAttributes(*args, **kwargs):
+ """
+ ListCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
+
+ Get the default attributes for this class. This is useful if
+ you want to use the same font or colour in your own control as
+ in a standard control -- which is a much better idea than hard
+ coding specific colours or fonts which might look completely out
+ of place on the users 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 SetWindowVariant for more about this.
+ """
+ return _controls.ListCtrl_GetClassDefaultAttributes(*args, **kwargs)
+
#---------------------------------------------------------------------------
class ListView(ListCtrl):
"""GetBoundingRect(TreeItemId item, bool textOnly=False) -> PyObject"""
return _controls.TreeCtrl_GetBoundingRect(*args, **kwargs)
+ def GetClassDefaultAttributes(*args, **kwargs):
+ """
+ GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
+
+ Get the default attributes for this class. This is useful if
+ you want to use the same font or colour in your own control as
+ in a standard control -- which is a much better idea than hard
+ coding specific colours or fonts which might look completely out
+ of place on the users 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 SetWindowVariant for more about this.
+ """
+ return _controls.TreeCtrl_GetClassDefaultAttributes(*args, **kwargs)
+
+ GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
class TreeCtrlPtr(TreeCtrl):
def __init__(self, this):
val.thisown = 1
return val
+def TreeCtrl_GetClassDefaultAttributes(*args, **kwargs):
+ """
+ TreeCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
+
+ Get the default attributes for this class. This is useful if
+ you want to use the same font or colour in your own control as
+ in a standard control -- which is a much better idea than hard
+ coding specific colours or fonts which might look completely out
+ of place on the users 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 SetWindowVariant for more about this.
+ """
+ return _controls.TreeCtrl_GetClassDefaultAttributes(*args, **kwargs)
+
#---------------------------------------------------------------------------
DIRCTRL_DIR_ONLY = _controls.DIRCTRL_DIR_ONLY
"""base_RemoveChild(Window child)"""
return _controls.PyControl_base_RemoveChild(*args, **kwargs)
+ def base_ShouldInheritColours(*args, **kwargs):
+ """base_ShouldInheritColours() -> bool"""
+ return _controls.PyControl_base_ShouldInheritColours(*args, **kwargs)
+
+ def base_ApplyParentThemeBackground(*args, **kwargs):
+ """base_ApplyParentThemeBackground(Colour c)"""
+ return _controls.PyControl_base_ApplyParentThemeBackground(*args, **kwargs)
+
class PyControlPtr(PyControl):
def __init__(self, this):
self.__class__ = PyControl
_controls.PyControl_swigregister(PyControlPtr)
+def PrePyControl(*args, **kwargs):
+ """PrePyControl() -> PyControl"""
+ val = _controls.new_PrePyControl(*args, **kwargs)
+ val.thisown = 1
+ return val
+
#---------------------------------------------------------------------------
FRAME_EX_CONTEXTHELP = _controls.FRAME_EX_CONTEXTHELP