BU_EXACTFIT = _controls.BU_EXACTFIT
BU_AUTODRAW = _controls.BU_AUTODRAW
class Button(core.Control):
- """"""
+ """
+ A button is a control that contains a text string, and is one of the most
+ common elements of a GUI. It may be placed on a dialog box or panel, or
+ indeed almost any other window.
+ """
def __repr__(self):
return "<%s.%s; proxy of C++ wxButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- Validator validator=DefaultValidator,
- wxString name=wxPyButtonNameStr) -> Button"""
+ """
+ __init__(Window parent, int id, wxString label, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0,
+ Validator validator=DefaultValidator,
+ wxString name=wxPyButtonNameStr) -> Button
+
+ Create and show a button.
+ """
newobj = _controls.new_Button(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id, wxString label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- Validator validator=DefaultValidator,
- wxString name=wxPyButtonNameStr) -> bool"""
+ """
+ Create(Window parent, int id, wxString label, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0,
+ Validator validator=DefaultValidator,
+ wxString name=wxPyButtonNameStr) -> bool
+
+ Acutally create the GUI Button for 2-phase creation.
+ """
return _controls.Button_Create(*args, **kwargs)
def SetDefault(*args, **kwargs):
- """SetDefault()"""
+ """
+ SetDefault()
+
+ This sets the button to be the default item for the panel or dialog box.
+ """
return _controls.Button_SetDefault(*args, **kwargs)
def GetDefaultSize(*args, **kwargs):
_controls.Button_swigregister(ButtonPtr)
def PreButton(*args, **kwargs):
- """PreButton() -> Button"""
+ """
+ PreButton() -> Button
+
+ Precreate a Button for 2-phase creation.
+ """
val = _controls.new_PreButton(*args, **kwargs)
val.thisown = 1
return val
return _controls.Button_GetDefaultSize(*args, **kwargs)
class BitmapButton(Button):
- """"""
+ """A Buttont that contains a bitmap."""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBitmapButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=BU_AUTODRAW,
- Validator validator=DefaultValidator,
- wxString name=wxPyButtonNameStr) -> BitmapButton"""
+ """
+ __init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=BU_AUTODRAW,
+ Validator validator=DefaultValidator,
+ wxString name=wxPyButtonNameStr) -> BitmapButton
+
+ Create and show a button.
+ """
newobj = _controls.new_BitmapButton(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=BU_AUTODRAW,
- Validator validator=DefaultValidator,
- wxString name=wxPyButtonNameStr) -> bool"""
+ """
+ Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=BU_AUTODRAW,
+ Validator validator=DefaultValidator,
+ wxString name=wxPyButtonNameStr) -> bool
+
+ Acutally create the GUI BitmapButton for 2-phase creation.
+ """
return _controls.BitmapButton_Create(*args, **kwargs)
def GetBitmapLabel(*args, **kwargs):
- """GetBitmapLabel() -> wxBitmap"""
+ """
+ GetBitmapLabel() -> wxBitmap
+
+ Returns the label bitmap (the one passed to the constructor).
+ """
return _controls.BitmapButton_GetBitmapLabel(*args, **kwargs)
def GetBitmapDisabled(*args, **kwargs):
- """GetBitmapDisabled() -> wxBitmap"""
+ """
+ GetBitmapDisabled() -> wxBitmap
+
+ Returns the bitmap for the disabled state.
+ """
return _controls.BitmapButton_GetBitmapDisabled(*args, **kwargs)
def GetBitmapFocus(*args, **kwargs):
- """GetBitmapFocus() -> wxBitmap"""
+ """
+ GetBitmapFocus() -> wxBitmap
+
+ Returns the bitmap for the focused state.
+ """
return _controls.BitmapButton_GetBitmapFocus(*args, **kwargs)
def GetBitmapSelected(*args, **kwargs):
- """GetBitmapSelected() -> wxBitmap"""
+ """
+ GetBitmapSelected() -> wxBitmap
+
+ Returns the bitmap for the selected state.
+ """
return _controls.BitmapButton_GetBitmapSelected(*args, **kwargs)
def SetBitmapDisabled(*args, **kwargs):
- """SetBitmapDisabled(wxBitmap bitmap)"""
+ """
+ SetBitmapDisabled(wxBitmap bitmap)
+
+ Sets the bitmap for the disabled button appearance.
+ """
return _controls.BitmapButton_SetBitmapDisabled(*args, **kwargs)
def SetBitmapFocus(*args, **kwargs):
- """SetBitmapFocus(wxBitmap bitmap)"""
+ """
+ SetBitmapFocus(wxBitmap bitmap)
+
+ Sets the bitmap for the button appearance when it has the keyboard focus.
+ """
return _controls.BitmapButton_SetBitmapFocus(*args, **kwargs)
def SetBitmapSelected(*args, **kwargs):
- """SetBitmapSelected(wxBitmap bitmap)"""
+ """
+ SetBitmapSelected(wxBitmap bitmap)
+
+ Sets the bitmap for the selected (depressed) button appearance.
+ """
return _controls.BitmapButton_SetBitmapSelected(*args, **kwargs)
def SetBitmapLabel(*args, **kwargs):
- """SetBitmapLabel(wxBitmap bitmap)"""
+ """
+ SetBitmapLabel(wxBitmap bitmap)
+
+ Sets the bitmap label for the button. This is the bitmap used for the
+ unselected state, and for all other states if no other bitmaps are provided.
+ """
return _controls.BitmapButton_SetBitmapLabel(*args, **kwargs)
def SetMargins(*args, **kwargs):
_controls.BitmapButton_swigregister(BitmapButtonPtr)
def PreBitmapButton(*args, **kwargs):
- """PreBitmapButton() -> BitmapButton"""
+ """
+ PreBitmapButton() -> BitmapButton
+
+ Precreate a BitmapButton for 2-phase creation.
+ """
val = _controls.new_PreBitmapButton(*args, **kwargs)
val.thisown = 1
return val
CHK_CHECKED = _controls.CHK_CHECKED
CHK_UNDETERMINED = _controls.CHK_UNDETERMINED
class CheckBox(core.Control):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCheckBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- Validator validator=DefaultValidator,
- wxString name=wxPyCheckBoxNameStr) -> CheckBox"""
+ """
+ __init__(Window parent, int id, wxString label, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0,
+ Validator validator=DefaultValidator,
+ wxString name=wxPyCheckBoxNameStr) -> CheckBox
+ """
newobj = _controls.new_CheckBox(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id, wxString label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- Validator validator=DefaultValidator,
- wxString name=wxPyCheckBoxNameStr) -> bool"""
+ """
+ Create(Window parent, int id, wxString label, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0,
+ Validator validator=DefaultValidator,
+ wxString name=wxPyCheckBoxNameStr) -> bool
+ """
return _controls.CheckBox_Create(*args, **kwargs)
def GetValue(*args, **kwargs):
#---------------------------------------------------------------------------
class Choice(core.ControlWithItems):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxChoice instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, wxString choices_array=None,
- long style=0, Validator validator=DefaultValidator,
- wxString name=wxPyChoiceNameStr) -> Choice"""
+ """
+ __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ int choices=0, wxString choices_array=None,
+ long style=0, Validator validator=DefaultValidator,
+ wxString name=wxPyChoiceNameStr) -> Choice
+ """
newobj = _controls.new_Choice(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, wxString choices_array=None,
- long style=0, Validator validator=DefaultValidator,
- wxString name=wxPyChoiceNameStr) -> bool"""
+ """
+ Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ int choices=0, wxString choices_array=None,
+ long style=0, Validator validator=DefaultValidator,
+ wxString name=wxPyChoiceNameStr) -> bool
+ """
return _controls.Choice_Create(*args, **kwargs)
def GetColumns(*args, **kwargs):
#---------------------------------------------------------------------------
class ComboBox(core.Control,core.ItemContainer):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxComboBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, wxString value=wxPyEmptyString,
- Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, wxString choices_array=None,
- long style=0, Validator validator=DefaultValidator,
- wxString name=wxPyComboBoxNameStr) -> ComboBox"""
+ """
+ __init__(Window parent, int id, wxString value=wxPyEmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ int choices=0, wxString choices_array=None,
+ long style=0, Validator validator=DefaultValidator,
+ wxString name=wxPyComboBoxNameStr) -> ComboBox
+ """
newobj = _controls.new_ComboBox(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id, wxString value=wxPyEmptyString,
- Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, wxString choices_array=None,
- long style=0, Validator validator=DefaultValidator,
- wxString name=wxPyComboBoxNameStr) -> bool"""
+ """
+ Create(Window parent, int id, wxString value=wxPyEmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ int choices=0, wxString choices_array=None,
+ long style=0, Validator validator=DefaultValidator,
+ wxString name=wxPyComboBoxNameStr) -> bool
+ """
return _controls.ComboBox_Create(*args, **kwargs)
def GetValue(*args, **kwargs):
"""Replace(long from, long to, wxString value)"""
return _controls.ComboBox_Replace(*args, **kwargs)
+ def SetSelection(*args, **kwargs):
+ """SetSelection(int n)"""
+ return _controls.ComboBox_SetSelection(*args, **kwargs)
+
def SetMark(*args, **kwargs):
"""SetMark(long from, long to)"""
return _controls.ComboBox_SetMark(*args, **kwargs)
GA_SMOOTH = _controls.GA_SMOOTH
GA_PROGRESSBAR = _controls.GA_PROGRESSBAR
class Gauge(core.Control):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGauge instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, int range, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=GA_HORIZONTAL,
- Validator validator=DefaultValidator,
- wxString name=wxPyGaugeNameStr) -> Gauge"""
+ """
+ __init__(Window parent, int id, int range, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=GA_HORIZONTAL,
+ Validator validator=DefaultValidator,
+ wxString name=wxPyGaugeNameStr) -> Gauge
+ """
newobj = _controls.new_Gauge(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id, int range, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=GA_HORIZONTAL,
- Validator validator=DefaultValidator,
- wxString name=wxPyGaugeNameStr) -> bool"""
+ """
+ Create(Window parent, int id, int range, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=GA_HORIZONTAL,
+ Validator validator=DefaultValidator,
+ wxString name=wxPyGaugeNameStr) -> bool
+ """
return _controls.Gauge_Create(*args, **kwargs)
def SetRange(*args, **kwargs):
#---------------------------------------------------------------------------
class StaticBox(core.Control):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStaticBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- wxString name=wxPyStaticBoxNameStr) -> StaticBox"""
+ """
+ __init__(Window parent, int id, wxString label, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0,
+ wxString name=wxPyStaticBoxNameStr) -> StaticBox
+ """
newobj = _controls.new_StaticBox(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id, wxString label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- wxString name=wxPyStaticBoxNameStr) -> bool"""
+ """
+ Create(Window parent, int id, wxString label, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0,
+ wxString name=wxPyStaticBoxNameStr) -> bool
+ """
return _controls.StaticBox_Create(*args, **kwargs)
#---------------------------------------------------------------------------
class StaticLine(core.Control):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStaticLine instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=LI_HORIZONTAL,
- wxString name=wxPyStaticTextNameStr) -> StaticLine"""
+ """
+ __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=LI_HORIZONTAL,
+ wxString name=wxPyStaticTextNameStr) -> StaticLine
+ """
newobj = _controls.new_StaticLine(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=LI_HORIZONTAL,
- wxString name=wxPyStaticTextNameStr) -> bool"""
+ """
+ Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=LI_HORIZONTAL,
+ wxString name=wxPyStaticTextNameStr) -> bool
+ """
return _controls.StaticLine_Create(*args, **kwargs)
def IsVertical(*args, **kwargs):
#---------------------------------------------------------------------------
class StaticText(core.Control):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStaticText instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- wxString name=wxPyStaticTextNameStr) -> StaticText"""
+ """
+ __init__(Window parent, int id, wxString label, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0,
+ wxString name=wxPyStaticTextNameStr) -> StaticText
+ """
newobj = _controls.new_StaticText(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id, wxString label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- wxString name=wxPyStaticTextNameStr) -> bool"""
+ """
+ Create(Window parent, int id, wxString label, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0,
+ wxString name=wxPyStaticTextNameStr) -> bool
+ """
return _controls.StaticText_Create(*args, **kwargs)
#---------------------------------------------------------------------------
class StaticBitmap(core.Control):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStaticBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- wxString name=wxPyStaticBitmapNameStr) -> StaticBitmap"""
+ """
+ __init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0,
+ wxString name=wxPyStaticBitmapNameStr) -> StaticBitmap
+ """
newobj = _controls.new_StaticBitmap(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def Create(*args, **kwargs):
- """Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- wxString name=wxPyStaticBitmapNameStr) -> bool"""
+ """
+ Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0,
+ wxString name=wxPyStaticBitmapNameStr) -> bool
+ """
return _controls.StaticBitmap_Create(*args, **kwargs)
def GetBitmap(*args, **kwargs):
#---------------------------------------------------------------------------
class ListBox(core.ControlWithItems):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, wxString choices_array=None,
- long style=0, Validator validator=DefaultValidator,
- wxString name=wxPyListBoxNameStr) -> ListBox"""
+ """
+ __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ int choices=0, wxString choices_array=None,
+ long style=0, Validator validator=DefaultValidator,
+ wxString name=wxPyListBoxNameStr) -> ListBox
+ """
newobj = _controls.new_ListBox(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, wxString choices_array=None,
- long style=0, Validator validator=DefaultValidator,
- wxString name=wxPyListBoxNameStr) -> bool"""
+ """
+ Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ int choices=0, wxString choices_array=None,
+ long style=0, Validator validator=DefaultValidator,
+ wxString name=wxPyListBoxNameStr) -> bool
+ """
return _controls.ListBox_Create(*args, **kwargs)
def Insert(*args, **kwargs):
#---------------------------------------------------------------------------
class CheckListBox(ListBox):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCheckListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, wxString choices_array=None,
- long style=0, Validator validator=DefaultValidator,
- wxString name=wxPyListBoxNameStr) -> CheckListBox"""
+ """
+ __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ int choices=0, wxString choices_array=None,
+ long style=0, Validator validator=DefaultValidator,
+ wxString name=wxPyListBoxNameStr) -> CheckListBox
+ """
newobj = _controls.new_CheckListBox(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def Create(*args, **kwargs):
- """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, wxString choices_array=None,
- long style=0, Validator validator=DefaultValidator,
- wxString name=wxPyListBoxNameStr) -> bool"""
+ """
+ Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ int choices=0, wxString choices_array=None,
+ long style=0, Validator validator=DefaultValidator,
+ wxString name=wxPyListBoxNameStr) -> bool
+ """
return _controls.CheckListBox_Create(*args, **kwargs)
def IsChecked(*args, **kwargs):
TEXT_ATTR_RIGHT_INDENT = _controls.TEXT_ATTR_RIGHT_INDENT
TEXT_ATTR_TABS = _controls.TEXT_ATTR_TABS
class TextAttr(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTextAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
- """__init__() -> TextAttr
-__init__(wxColour colText, wxColour colBack=wxNullColour, wxFont font=wxNullFont,
- wxTextAttrAlignment alignment=TEXT_ALIGNMENT_DEFAULT) -> TextAttr"""
+ """
+ __init__() -> TextAttr
+ __init__(wxColour colText, wxColour colBack=wxNullColour, wxFont font=wxNullFont,
+ wxTextAttrAlignment alignment=TEXT_ALIGNMENT_DEFAULT) -> TextAttr
+ """
newobj = _controls.new_TextAttr(*args)
self.this = newobj.this
self.thisown = 1
return _controls.TextAttr_Combine(*args, **kwargs)
class TextCtrl(core.Control):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, wxString value=wxPyEmptyString,
- Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, Validator validator=DefaultValidator,
- wxString name=wxPyTextCtrlNameStr) -> TextCtrl"""
+ """
+ __init__(Window parent, int id, wxString value=wxPyEmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, Validator validator=DefaultValidator,
+ wxString name=wxPyTextCtrlNameStr) -> TextCtrl
+ """
newobj = _controls.new_TextCtrl(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id, wxString value=wxPyEmptyString,
- Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, Validator validator=DefaultValidator,
- wxString name=wxPyTextCtrlNameStr) -> bool"""
+ """
+ Create(Window parent, int id, wxString value=wxPyEmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, Validator validator=DefaultValidator,
+ wxString name=wxPyTextCtrlNameStr) -> bool
+ """
return _controls.TextCtrl_Create(*args, **kwargs)
def GetValue(*args, **kwargs):
return _controls.TextCtrl_IsMultiLine(*args, **kwargs)
def GetSelection(*args, **kwargs):
- """GetSelection() -> (from, to)
+ """
+ GetSelection() -> (from, to)
-If the return values from and to are the same, there is no selection."""
+ If the return values from and to are the same, there is no selection.
+ """
return _controls.TextCtrl_GetSelection(*args, **kwargs)
def GetStringSelection(*args, **kwargs):
wxEVT_COMMAND_TEXT_URL = _controls.wxEVT_COMMAND_TEXT_URL
wxEVT_COMMAND_TEXT_MAXLEN = _controls.wxEVT_COMMAND_TEXT_MAXLEN
class TextUrlEvent(core.CommandEvent):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTextUrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
#---------------------------------------------------------------------------
class ScrollBar(core.Control):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxScrollBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=SB_HORIZONTAL,
- Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> ScrollBar"""
+ """
+ __init__(Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=SB_HORIZONTAL,
+ Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> ScrollBar
+ """
newobj = _controls.new_ScrollBar(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=SB_HORIZONTAL,
- Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> bool"""
+ """
+ Create(Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=SB_HORIZONTAL,
+ Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> bool
+ """
return _controls.ScrollBar_Create(*args, **kwargs)
def GetThumbPosition(*args, **kwargs):
return _controls.ScrollBar_SetThumbPosition(*args, **kwargs)
def SetScrollbar(*args, **kwargs):
- """SetScrollbar(int position, int thumbSize, int range, int pageSize,
- bool refresh=True)"""
+ """
+ SetScrollbar(int position, int thumbSize, int range, int pageSize,
+ bool refresh=True)
+ """
return _controls.ScrollBar_SetScrollbar(*args, **kwargs)
SP_ARROW_KEYS = _controls.SP_ARROW_KEYS
SP_WRAP = _controls.SP_WRAP
class SpinButton(core.Control):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSpinButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=SP_HORIZONTAL,
- wxString name=wxPySPIN_BUTTON_NAME) -> SpinButton"""
+ """
+ __init__(Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=SP_HORIZONTAL,
+ wxString name=wxPySPIN_BUTTON_NAME) -> SpinButton
+ """
newobj = _controls.new_SpinButton(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=SP_HORIZONTAL,
- wxString name=wxPySPIN_BUTTON_NAME) -> bool"""
+ """
+ Create(Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=SP_HORIZONTAL,
+ wxString name=wxPySPIN_BUTTON_NAME) -> bool
+ """
return _controls.SpinButton_Create(*args, **kwargs)
def GetValue(*args, **kwargs):
return val
class SpinCtrl(core.Control):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSpinCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id=-1, wxString value=wxPyEmptyString,
- Point pos=DefaultPosition, Size size=DefaultSize,
- long style=SP_ARROW_KEYS, int min=0,
- int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> SpinCtrl"""
+ """
+ __init__(Window parent, int id=-1, wxString value=wxPyEmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=SP_ARROW_KEYS, int min=0,
+ int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> SpinCtrl
+ """
newobj = _controls.new_SpinCtrl(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id=-1, wxString value=wxPyEmptyString,
- Point pos=DefaultPosition, Size size=DefaultSize,
- long style=SP_ARROW_KEYS, int min=0,
- int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> bool"""
+ """
+ Create(Window parent, int id=-1, wxString value=wxPyEmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=SP_ARROW_KEYS, int min=0,
+ int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> bool
+ """
return _controls.SpinCtrl_Create(*args, **kwargs)
def GetValue(*args, **kwargs):
#---------------------------------------------------------------------------
class RadioBox(core.Control):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxRadioBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, wxString label, Point point=DefaultPosition,
- Size size=DefaultSize, int choices=0,
- wxString choices_array=None, int majorDimension=0,
- long style=RA_HORIZONTAL, Validator validator=DefaultValidator,
- wxString name=wxPyRadioBoxNameStr) -> RadioBox"""
+ """
+ __init__(Window parent, int id, wxString label, Point point=DefaultPosition,
+ Size size=DefaultSize, int choices=0,
+ wxString choices_array=None, int majorDimension=0,
+ long style=RA_HORIZONTAL, Validator validator=DefaultValidator,
+ wxString name=wxPyRadioBoxNameStr) -> RadioBox
+ """
newobj = _controls.new_RadioBox(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id, wxString label, Point point=DefaultPosition,
- Size size=DefaultSize, int choices=0,
- wxString choices_array=None, int majorDimension=0,
- long style=RA_HORIZONTAL, Validator validator=DefaultValidator,
- wxString name=wxPyRadioBoxNameStr) -> bool"""
+ """
+ Create(Window parent, int id, wxString label, Point point=DefaultPosition,
+ Size size=DefaultSize, int choices=0,
+ wxString choices_array=None, int majorDimension=0,
+ long style=RA_HORIZONTAL, Validator validator=DefaultValidator,
+ wxString name=wxPyRadioBoxNameStr) -> bool
+ """
return _controls.RadioBox_Create(*args, **kwargs)
def SetSelection(*args, **kwargs):
#---------------------------------------------------------------------------
class RadioButton(core.Control):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxRadioButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- Validator validator=DefaultValidator,
- wxString name=wxPyRadioButtonNameStr) -> RadioButton"""
+ """
+ __init__(Window parent, int id, wxString label, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0,
+ Validator validator=DefaultValidator,
+ wxString name=wxPyRadioButtonNameStr) -> RadioButton
+ """
newobj = _controls.new_RadioButton(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id, wxString label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- Validator validator=DefaultValidator,
- wxString name=wxPyRadioButtonNameStr) -> bool"""
+ """
+ Create(Window parent, int id, wxString label, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0,
+ Validator validator=DefaultValidator,
+ wxString name=wxPyRadioButtonNameStr) -> bool
+ """
return _controls.RadioButton_Create(*args, **kwargs)
def GetValue(*args, **kwargs):
#---------------------------------------------------------------------------
class Slider(core.Control):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSlider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, int value, int minValue, int maxValue,
- Point point=DefaultPosition, Size size=DefaultSize,
- long style=SL_HORIZONTAL, Validator validator=DefaultValidator,
- wxString name=wxPySliderNameStr) -> Slider"""
+ """
+ __init__(Window parent, int id, int value, int minValue, int maxValue,
+ Point point=DefaultPosition, Size size=DefaultSize,
+ long style=SL_HORIZONTAL, Validator validator=DefaultValidator,
+ wxString name=wxPySliderNameStr) -> Slider
+ """
newobj = _controls.new_Slider(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id, int value, int minValue, int maxValue,
- Point point=DefaultPosition, Size size=DefaultSize,
- long style=SL_HORIZONTAL, Validator validator=DefaultValidator,
- wxString name=wxPySliderNameStr) -> bool"""
+ """
+ Create(Window parent, int id, int value, int minValue, int maxValue,
+ Point point=DefaultPosition, Size size=DefaultSize,
+ long style=SL_HORIZONTAL, Validator validator=DefaultValidator,
+ wxString name=wxPySliderNameStr) -> bool
+ """
return _controls.Slider_Create(*args, **kwargs)
def GetValue(*args, **kwargs):
EVT_TOGGLEBUTTON = wx.PyEventBinder( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 1)
class ToggleButton(core.Control):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxToggleButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- Validator validator=DefaultValidator,
- wxString name=wxPyToggleButtonNameStr) -> ToggleButton"""
+ """
+ __init__(Window parent, int id, wxString label, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0,
+ Validator validator=DefaultValidator,
+ wxString name=wxPyToggleButtonNameStr) -> ToggleButton
+ """
newobj = _controls.new_ToggleButton(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
#---------------------------------------------------------------------------
class BookCtrl(core.Control):
- """"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxBookCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
return _controls.BookCtrl_AddPage(*args, **kwargs)
def InsertPage(*args, **kwargs):
- """InsertPage(size_t n, Window page, wxString text, bool select=False,
- int imageId=-1) -> bool"""
+ """
+ InsertPage(size_t n, Window page, wxString text, bool select=False,
+ int imageId=-1) -> bool
+ """
return _controls.BookCtrl_InsertPage(*args, **kwargs)
def SetSelection(*args, **kwargs):
_controls.BookCtrl_swigregister(BookCtrlPtr)
class BookCtrlEvent(core.NotifyEvent):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBookCtrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
- int nOldSel=-1) -> BookCtrlEvent"""
+ """
+ __init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
+ int nOldSel=-1) -> BookCtrlEvent
+ """
newobj = _controls.new_BookCtrlEvent(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
NB_HITTEST_ONLABEL = _controls.NB_HITTEST_ONLABEL
NB_HITTEST_ONITEM = _controls.NB_HITTEST_ONITEM
class Notebook(BookCtrl):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNotebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, wxString name=wxPyNOTEBOOK_NAME) -> Notebook"""
+ """
+ __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, wxString name=wxPyNOTEBOOK_NAME) -> Notebook
+ """
newobj = _controls.new_Notebook(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, wxString name=wxPyNOTEBOOK_NAME) -> bool"""
+ """
+ Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, wxString name=wxPyNOTEBOOK_NAME) -> bool
+ """
return _controls.Notebook_Create(*args, **kwargs)
def GetRowCount(*args, **kwargs):
return _controls.Notebook_SetTabSize(*args, **kwargs)
def HitTest(*args, **kwargs):
- """HitTest(Point pt) -> (tab, where)
+ """
+ HitTest(Point pt) -> (tab, where)
-Returns the tab which is hit, and flags indicating where using wxNB_HITTEST_ flags."""
+ Returns the tab which is hit, and flags indicating where using wxNB_HITTEST_ flags.
+ """
return _controls.Notebook_HitTest(*args, **kwargs)
def CalcSizeFromPage(*args, **kwargs):
return val
class NotebookEvent(BookCtrlEvent):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNotebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
- int nOldSel=-1) -> NotebookEvent"""
+ """
+ __init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
+ int nOldSel=-1) -> NotebookEvent
+ """
newobj = _controls.new_NotebookEvent(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
LB_RIGHT = _controls.LB_RIGHT
LB_ALIGN_MASK = _controls.LB_ALIGN_MASK
class Listbook(BookCtrl):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListbook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, wxString name=wxPyEmptyString) -> Listbook"""
+ """
+ __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, wxString name=wxPyEmptyString) -> Listbook
+ """
newobj = _controls.new_Listbook(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, wxString name=wxPyEmptyString) -> bool"""
+ """
+ Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, wxString name=wxPyEmptyString) -> bool
+ """
return _controls.Listbook_Create(*args, **kwargs)
def IsVertical(*args, **kwargs):
return val
class ListbookEvent(BookCtrlEvent):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListbookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
- int nOldSel=-1) -> ListbookEvent"""
+ """
+ __init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
+ int nOldSel=-1) -> ListbookEvent
+ """
newobj = _controls.new_ListbookEvent(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
#---------------------------------------------------------------------------
class BookCtrlSizer(core.Sizer):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBookCtrlSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_controls.BookCtrlSizer_swigregister(BookCtrlSizerPtr)
class NotebookSizer(core.Sizer):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNotebookSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
TB_HORZ_LAYOUT = _controls.TB_HORZ_LAYOUT
TB_HORZ_TEXT = _controls.TB_HORZ_TEXT
class ToolBarToolBase(core.Object):
- """"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxToolBarToolBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
_controls.ToolBarToolBase_swigregister(ToolBarToolBasePtr)
class ToolBarBase(core.Control):
- """"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxToolBarBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def DoAddTool(*args, **kwargs):
- """DoAddTool(int id, wxString label, wxBitmap bitmap, wxBitmap bmpDisabled=wxNullBitmap,
- wxItemKind kind=ITEM_NORMAL,
- wxString shortHelp=wxPyEmptyString,
- wxString longHelp=wxPyEmptyString, PyObject clientData=None) -> ToolBarToolBase"""
+ """
+ DoAddTool(int id, wxString label, wxBitmap bitmap, wxBitmap bmpDisabled=wxNullBitmap,
+ wxItemKind kind=ITEM_NORMAL,
+ wxString shortHelp=wxPyEmptyString,
+ wxString longHelp=wxPyEmptyString, PyObject clientData=None) -> ToolBarToolBase
+ """
return _controls.ToolBarBase_DoAddTool(*args, **kwargs)
def DoInsertTool(*args, **kwargs):
- """DoInsertTool(size_t pos, int id, wxString label, wxBitmap bitmap,
- wxBitmap bmpDisabled=wxNullBitmap, wxItemKind kind=ITEM_NORMAL,
- wxString shortHelp=wxPyEmptyString,
- wxString longHelp=wxPyEmptyString,
- PyObject clientData=None) -> ToolBarToolBase"""
+ """
+ DoInsertTool(size_t pos, int id, wxString label, wxBitmap bitmap,
+ wxBitmap bmpDisabled=wxNullBitmap, wxItemKind kind=ITEM_NORMAL,
+ wxString shortHelp=wxPyEmptyString,
+ wxString longHelp=wxPyEmptyString,
+ PyObject clientData=None) -> ToolBarToolBase
+ """
return _controls.ToolBarBase_DoInsertTool(*args, **kwargs)
# These match the original Add methods for this class, kept for
_controls.ToolBarBase_swigregister(ToolBarBasePtr)
class ToolBar(ToolBarBase):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxToolBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=wxNO_BORDER|wxTB_HORIZONTAL,
- wxString name=wxPyToolBarNameStr) -> ToolBar"""
+ """
+ __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=wxNO_BORDER|wxTB_HORIZONTAL,
+ wxString name=wxPyToolBarNameStr) -> ToolBar
+ """
newobj = _controls.new_ToolBar(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=wxNO_BORDER|wxTB_HORIZONTAL,
- wxString name=wxPyToolBarNameStr) -> bool"""
+ """
+ Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=wxNO_BORDER|wxTB_HORIZONTAL,
+ wxString name=wxPyToolBarNameStr) -> bool
+ """
return _controls.ToolBar_Create(*args, **kwargs)
def FindToolForPosition(*args, **kwargs):
#---------------------------------------------------------------------------
class ListItemAttr(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListItemAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(wxColour colText=wxNullColour, wxColour colBack=wxNullColour,
- wxFont font=wxNullFont) -> ListItemAttr"""
+ """
+ __init__(wxColour colText=wxNullColour, wxColour colBack=wxNullColour,
+ wxFont font=wxNullFont) -> ListItemAttr
+ """
newobj = _controls.new_ListItemAttr(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
#---------------------------------------------------------------------------
class ListItem(core.Object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
#---------------------------------------------------------------------------
class ListEvent(core.NotifyEvent):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""GetPoint() -> Point"""
return _controls.ListEvent_GetPoint(*args, **kwargs)
- GetPostiion = GetPoint
+ GetPosition = GetPoint
def GetLabel(*args, **kwargs):
"""GetLabel() -> wxString"""
return _controls.ListEvent_GetLabel(*args, **kwargs)
#---------------------------------------------------------------------------
class ListCtrl(core.Control):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=LC_ICON,
- Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListCtrl"""
+ """
+ __init__(Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=LC_ICON,
+ Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListCtrl
+ """
newobj = _controls.new_ListCtrl(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self);self._setCallbackInfo(self, ListCtrl)
def Create(*args, **kwargs):
- """Create(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=LC_ICON,
- Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool"""
+ """
+ Create(Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=LC_ICON,
+ Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool
+ """
return _controls.ListCtrl_Create(*args, **kwargs)
def _setCallbackInfo(*args, **kwargs):
return _controls.ListCtrl_FindItemAtPos(*args, **kwargs)
def HitTest(*args, **kwargs):
- """HitTest(Point point) -> (item, where)
+ """
+ HitTest(Point point) -> (item, where)
-Determines which item (if any) is at the specified point,
-giving details in the second return value (see wxLIST_HITTEST_... flags.)"""
+ Determines which item (if any) is at the specified point,
+ giving details in the second return value (see wxLIST_HITTEST_... flags.)
+ """
return _controls.ListCtrl_HitTest(*args, **kwargs)
def InsertItem(*args, **kwargs):
return _controls.ListCtrl_InsertColumnInfo(*args, **kwargs)
def InsertColumn(*args, **kwargs):
- """InsertColumn(long col, wxString heading, int format=LIST_FORMAT_LEFT,
- int width=-1) -> long"""
+ """
+ InsertColumn(long col, wxString heading, int format=LIST_FORMAT_LEFT,
+ int width=-1) -> long
+ """
return _controls.ListCtrl_InsertColumn(*args, **kwargs)
def SetItemCount(*args, **kwargs):
#---------------------------------------------------------------------------
class ListView(ListCtrl):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListView instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=LC_REPORT,
- Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListView"""
+ """
+ __init__(Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=LC_REPORT,
+ Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListView
+ """
newobj = _controls.new_ListView(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=LC_REPORT,
- Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool"""
+ """
+ Create(Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=LC_REPORT,
+ Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool
+ """
return _controls.ListView_Create(*args, **kwargs)
def Select(*args, **kwargs):
#---------------------------------------------------------------------------
class TreeItemId(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTreeItemId instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_controls.TreeItemId_swigregister(TreeItemIdPtr)
class TreeItemData(object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTreeItemData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK = _controls.wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
wxEVT_COMMAND_TREE_END_DRAG = _controls.wxEVT_COMMAND_TREE_END_DRAG
wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK = _controls.wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
+wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP = _controls.wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
EVT_TREE_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_DRAG , 1)
EVT_TREE_BEGIN_RDRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_RDRAG , 1)
EVT_TREE_BEGIN_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT , 1)
EVT_TREE_ITEM_MIDDLE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 1)
EVT_TREE_END_DRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_END_DRAG , 1)
EVT_TREE_STATE_IMAGE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 1)
-
+EVT_TREE_ITEM_GETTOOLTIP = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 1)
class TreeEvent(core.NotifyEvent):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTreeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""SetEditCanceled(bool editCancelled)"""
return _controls.TreeEvent_SetEditCanceled(*args, **kwargs)
+ def SetToolTip(*args, **kwargs):
+ """SetToolTip(wxString toolTip)"""
+ return _controls.TreeEvent_SetToolTip(*args, **kwargs)
+
class TreeEventPtr(TreeEvent):
def __init__(self, this):
#---------------------------------------------------------------------------
class TreeCtrl(core.Control):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
- Validator validator=DefaultValidator,
- wxString name=wxPy_TreeCtrlNameStr) -> TreeCtrl"""
+ """
+ __init__(Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
+ Validator validator=DefaultValidator,
+ wxString name=wxPy_TreeCtrlNameStr) -> TreeCtrl
+ """
newobj = _controls.new_TreeCtrl(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self);self._setCallbackInfo(self, TreeCtrl)
def Create(*args, **kwargs):
- """Create(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
- Validator validator=DefaultValidator,
- wxString name=wxPy_TreeCtrlNameStr) -> bool"""
+ """
+ Create(Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
+ Validator validator=DefaultValidator,
+ wxString name=wxPy_TreeCtrlNameStr) -> bool
+ """
return _controls.TreeCtrl_Create(*args, **kwargs)
def _setCallbackInfo(*args, **kwargs):
return _controls.TreeCtrl_GetPrevVisible(*args, **kwargs)
def AddRoot(*args, **kwargs):
- """AddRoot(wxString text, int image=-1, int selectedImage=-1,
- TreeItemData data=None) -> TreeItemId"""
+ """
+ AddRoot(wxString text, int image=-1, int selectedImage=-1,
+ TreeItemData data=None) -> TreeItemId
+ """
return _controls.TreeCtrl_AddRoot(*args, **kwargs)
def PrependItem(*args, **kwargs):
- """PrependItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1,
- TreeItemData data=None) -> TreeItemId"""
+ """
+ PrependItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1,
+ TreeItemData data=None) -> TreeItemId
+ """
return _controls.TreeCtrl_PrependItem(*args, **kwargs)
def InsertItem(*args, **kwargs):
- """InsertItem(TreeItemId parent, TreeItemId idPrevious, wxString text,
- int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
+ """
+ InsertItem(TreeItemId parent, TreeItemId idPrevious, wxString text,
+ int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId
+ """
return _controls.TreeCtrl_InsertItem(*args, **kwargs)
def InsertItemBefore(*args, **kwargs):
- """InsertItemBefore(TreeItemId parent, size_t index, wxString text, int image=-1,
- int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
+ """
+ InsertItemBefore(TreeItemId parent, size_t index, wxString text, int image=-1,
+ int selectedImage=-1, TreeItemData data=None) -> TreeItemId
+ """
return _controls.TreeCtrl_InsertItemBefore(*args, **kwargs)
def AppendItem(*args, **kwargs):
- """AppendItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1,
- TreeItemData data=None) -> TreeItemId"""
+ """
+ AppendItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1,
+ TreeItemData data=None) -> TreeItemId
+ """
return _controls.TreeCtrl_AppendItem(*args, **kwargs)
def Delete(*args, **kwargs):
return _controls.TreeCtrl_SortChildren(*args, **kwargs)
def HitTest(*args, **kwargs):
- """HitTest(Point point) -> (item, where)
+ """
+ HitTest(Point point) -> (item, where)
+
+ Determine which item (if any) belongs the given point. The
+ coordinates specified are relative to the client area of tree ctrl
+ and the where return value is set to a bitmask of wxTREE_HITTEST_xxx
+ constants.
-Determine which item (if any) belongs the given point. The
-coordinates specified are relative to the client area of tree ctrl
-and the where return value is set to a bitmask of wxTREE_HITTEST_xxx
-constants.
-"""
+ """
return _controls.TreeCtrl_HitTest(*args, **kwargs)
def GetBoundingRect(*args, **kwargs):
DIRCTRL_3D_INTERNAL = _controls.DIRCTRL_3D_INTERNAL
DIRCTRL_EDIT_LABELS = _controls.DIRCTRL_EDIT_LABELS
class GenericDirCtrl(core.Control):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGenericDirCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr,
- Point pos=DefaultPosition,
- Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER,
- wxString filter=wxPyEmptyString,
- int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> GenericDirCtrl"""
+ """
+ __init__(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr,
+ Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER,
+ wxString filter=wxPyEmptyString,
+ int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> GenericDirCtrl
+ """
newobj = _controls.new_GenericDirCtrl(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr,
- Point pos=DefaultPosition,
- Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER,
- wxString filter=wxPyEmptyString,
- int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> bool"""
+ """
+ Create(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr,
+ Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER,
+ wxString filter=wxPyEmptyString,
+ int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> bool
+ """
return _controls.GenericDirCtrl_Create(*args, **kwargs)
def ExpandPath(*args, **kwargs):
return _controls.GenericDirCtrl_GetFilterListCtrl(*args, **kwargs)
def FindChild(*args, **kwargs):
- """FindChild(wxTreeItemId parentId, wxString path) -> (item, done)
+ """
+ FindChild(wxTreeItemId parentId, wxString path) -> (item, done)
+
+ Find the child that matches the first part of 'path'. E.g. if a child path is
+ "/usr" and 'path' is "/usr/include" then the child for /usr is returned.
+ If the path string has been used (we're at the leaf), done is set to True
-Find the child that matches the first part of 'path'. E.g. if a child path is
-"/usr" and 'path' is "/usr/include" then the child for /usr is returned.
-If the path string has been used (we're at the leaf), done is set to True
-"""
+ """
return _controls.GenericDirCtrl_FindChild(*args, **kwargs)
def DoResize(*args, **kwargs):
return val
class DirFilterListCtrl(Choice):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDirFilterListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0) -> DirFilterListCtrl"""
+ """
+ __init__(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0) -> DirFilterListCtrl
+ """
newobj = _controls.new_DirFilterListCtrl(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
self._setOORInfo(self)
def Create(*args, **kwargs):
- """Create(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0) -> bool"""
+ """
+ Create(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0) -> bool
+ """
return _controls.DirFilterListCtrl_Create(*args, **kwargs)
def FillFilterList(*args, **kwargs):
#---------------------------------------------------------------------------
class PyControl(core.Control):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyControl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, Validator validator=DefaultValidator,
- wxString name=wxPyControlNameStr) -> PyControl"""
+ """
+ __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, Validator validator=DefaultValidator,
+ wxString name=wxPyControlNameStr) -> PyControl
+ """
newobj = _controls.new_PyControl(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2)
class HelpEvent(core.CommandEvent):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHelpEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_controls.HelpEvent_swigregister(HelpEventPtr)
class ContextHelp(core.Object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxContextHelp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_controls.ContextHelp_swigregister(ContextHelpPtr)
class ContextHelpButton(BitmapButton):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxContextHelpButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=BU_AUTODRAW) -> ContextHelpButton"""
+ """
+ __init__(Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=BU_AUTODRAW) -> ContextHelpButton
+ """
newobj = _controls.new_ContextHelpButton(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
_controls.ContextHelpButton_swigregister(ContextHelpButtonPtr)
class HelpProvider(object):
- """"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxHelpProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
return _controls.HelpProvider_Get(*args, **kwargs)
class SimpleHelpProvider(HelpProvider):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSimpleHelpProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
#---------------------------------------------------------------------------
class DragImage(core.Object):
- """"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGenericDragImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
return _controls.DragImage_SetBackingBitmap(*args, **kwargs)
def BeginDrag(*args, **kwargs):
- """BeginDrag(Point hotspot, Window window, bool fullScreen=False,
- Rect rect=None) -> bool"""
+ """
+ BeginDrag(Point hotspot, Window window, bool fullScreen=False,
+ Rect rect=None) -> bool
+ """
return _controls.DragImage_BeginDrag(*args, **kwargs)
def BeginDragBounded(*args, **kwargs):
return _controls.DragImage_DoDrawImage(*args, **kwargs)
def UpdateBackingFromWindow(*args, **kwargs):
- """UpdateBackingFromWindow(wxDC windowDC, wxMemoryDC destDC, Rect sourceRect,
- Rect destRect) -> bool"""
+ """
+ UpdateBackingFromWindow(wxDC windowDC, wxMemoryDC destDC, Rect sourceRect,
+ Rect destRect) -> bool
+ """
return _controls.DragImage_UpdateBackingFromWindow(*args, **kwargs)
def RedrawImage(*args, **kwargs):