TE_HT_BEYOND = _controls_.TE_HT_BEYOND
OutOfRangeTextCoord = _controls_.OutOfRangeTextCoord
InvalidTextCoord = _controls_.InvalidTextCoord
+TEXT_TYPE_ANY = _controls_.TEXT_TYPE_ANY
class TextAttr(object):
"""Proxy of C++ TextAttr class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
return _controls_.TextAttr_Combine(*args, **kwargs)
Combine = staticmethod(Combine)
+ Alignment = property(GetAlignment,SetAlignment,doc="See `GetAlignment` and `SetAlignment`")
+ BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
+ Flags = property(GetFlags,SetFlags,doc="See `GetFlags` and `SetFlags`")
+ Font = property(GetFont,SetFont,doc="See `GetFont` and `SetFont`")
+ LeftIndent = property(GetLeftIndent,SetLeftIndent,doc="See `GetLeftIndent` and `SetLeftIndent`")
+ LeftSubIndent = property(GetLeftSubIndent,doc="See `GetLeftSubIndent`")
+ RightIndent = property(GetRightIndent,SetRightIndent,doc="See `GetRightIndent` and `SetRightIndent`")
+ Tabs = property(GetTabs,SetTabs,doc="See `GetTabs` and `SetTabs`")
+ TextColour = property(GetTextColour,SetTextColour,doc="See `GetTextColour` and `SetTextColour`")
_controls_.TextAttr_swigregister(TextAttr)
TextCtrlNameStr = cvar.TextCtrlNameStr
"""SetValue(self, String value)"""
return _controls_.TextCtrl_SetValue(*args, **kwargs)
+ def IsEmpty(*args, **kwargs):
+ """IsEmpty(self) -> bool"""
+ return _controls_.TextCtrl_IsEmpty(*args, **kwargs)
+
+ def ChangeValue(*args, **kwargs):
+ """ChangeValue(self, String value)"""
+ return _controls_.TextCtrl_ChangeValue(*args, **kwargs)
+
def GetRange(*args, **kwargs):
"""GetRange(self, long from, long to) -> String"""
return _controls_.TextCtrl_GetRange(*args, **kwargs)
return _controls_.TextCtrl_Remove(*args, **kwargs)
def LoadFile(*args, **kwargs):
- """LoadFile(self, String file) -> bool"""
+ """LoadFile(self, String file, int fileType=TEXT_TYPE_ANY) -> bool"""
return _controls_.TextCtrl_LoadFile(*args, **kwargs)
def SaveFile(*args, **kwargs):
- """SaveFile(self, String file=EmptyString) -> bool"""
+ """SaveFile(self, String file=EmptyString, int fileType=TEXT_TYPE_ANY) -> bool"""
return _controls_.TextCtrl_SaveFile(*args, **kwargs)
def MarkDirty(*args, **kwargs):
"""SetEditable(self, bool editable)"""
return _controls_.TextCtrl_SetEditable(*args, **kwargs)
+ def SendTextUpdatedEvent(*args, **kwargs):
+ """SendTextUpdatedEvent(self)"""
+ return _controls_.TextCtrl_SendTextUpdatedEvent(*args, **kwargs)
+
def ShowNativeCaret(*args, **kwargs):
"""ShowNativeCaret(self, bool show=True) -> bool"""
return _controls_.TextCtrl_ShowNativeCaret(*args, **kwargs)
return _controls_.TextCtrl_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
+ DefaultStyle = property(GetDefaultStyle,SetDefaultStyle,doc="See `GetDefaultStyle` and `SetDefaultStyle`")
+ InsertionPoint = property(GetInsertionPoint,SetInsertionPoint,doc="See `GetInsertionPoint` and `SetInsertionPoint`")
+ LastPosition = property(GetLastPosition,doc="See `GetLastPosition`")
+ NumberOfLines = property(GetNumberOfLines,doc="See `GetNumberOfLines`")
+ Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
+ StringSelection = property(GetStringSelection,doc="See `GetStringSelection`")
+ Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
_controls_.TextCtrl_swigregister(TextCtrl)
def PreTextCtrl(*args, **kwargs):
"""GetURLEnd(self) -> long"""
return _controls_.TextUrlEvent_GetURLEnd(*args, **kwargs)
+ MouseEvent = property(GetMouseEvent,doc="See `GetMouseEvent`")
+ URLEnd = property(GetURLEnd,doc="See `GetURLEnd`")
+ URLStart = property(GetURLStart,doc="See `GetURLStart`")
_controls_.TextUrlEvent_swigregister(TextUrlEvent)
EVT_TEXT = wx.PyEventBinder( wxEVT_COMMAND_TEXT_UPDATED, 1)
return _controls_.ScrollBar_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
+ PageSize = property(GetPageSize,doc="See `GetPageSize`")
+ Range = property(GetRange,doc="See `GetRange`")
+ ThumbPosition = property(GetThumbPosition,SetThumbPosition,doc="See `GetThumbPosition` and `SetThumbPosition`")
+ ThumbSize = property(GetThumbSize,doc="See `GetThumbSize`")
_controls_.ScrollBar_swigregister(ScrollBar)
ScrollBarNameStr = cvar.ScrollBarNameStr
return _controls_.SpinButton_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
+ Max = property(GetMax,SetMax,doc="See `GetMax` and `SetMax`")
+ Min = property(GetMin,SetMin,doc="See `GetMin` and `SetMin`")
+ Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
_controls_.SpinButton_swigregister(SpinButton)
SPIN_BUTTON_NAME = cvar.SPIN_BUTTON_NAME
SpinCtrlNameStr = cvar.SpinCtrlNameStr
return _controls_.SpinCtrl_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
+ Max = property(GetMax,doc="See `GetMax`")
+ Min = property(GetMin,doc="See `GetMin`")
+ Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
_controls_.SpinCtrl_swigregister(SpinCtrl)
def PreSpinCtrl(*args, **kwargs):
"""SetPosition(self, int pos)"""
return _controls_.SpinEvent_SetPosition(*args, **kwargs)
+ Position = property(GetPosition,SetPosition,doc="See `GetPosition` and `SetPosition`")
_controls_.SpinEvent_swigregister(SpinEvent)
wxEVT_COMMAND_SPINCTRL_UPDATED = _controls_.wxEVT_COMMAND_SPINCTRL_UPDATED
return _controls_.RadioBox_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
+ ColumnCount = property(GetColumnCount,doc="See `GetColumnCount`")
+ Count = property(GetCount,doc="See `GetCount`")
+ RowCount = property(GetRowCount,doc="See `GetRowCount`")
+ Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
+ StringSelection = property(GetStringSelection,SetStringSelection,doc="See `GetStringSelection` and `SetStringSelection`")
_controls_.RadioBox_swigregister(RadioBox)
RadioBoxNameStr = cvar.RadioBoxNameStr
RadioButtonNameStr = cvar.RadioButtonNameStr
return _controls_.RadioButton_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
+ Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
_controls_.RadioButton_swigregister(RadioButton)
def PreRadioButton(*args, **kwargs):
return _controls_.Slider_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
+ LineSize = property(GetLineSize,SetLineSize,doc="See `GetLineSize` and `SetLineSize`")
+ Max = property(GetMax,SetMax,doc="See `GetMax` and `SetMax`")
+ Min = property(GetMin,SetMin,doc="See `GetMin` and `SetMin`")
+ PageSize = property(GetPageSize,SetPageSize,doc="See `GetPageSize` and `SetPageSize`")
+ SelEnd = property(GetSelEnd,doc="See `GetSelEnd`")
+ SelStart = property(GetSelStart,doc="See `GetSelStart`")
+ ThumbLength = property(GetThumbLength,SetThumbLength,doc="See `GetThumbLength` and `SetThumbLength`")
+ TickFreq = property(GetTickFreq,SetTickFreq,doc="See `GetTickFreq` and `SetTickFreq`")
+ Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
_controls_.Slider_swigregister(Slider)
SliderNameStr = cvar.SliderNameStr
return _controls_.ToggleButton_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
+ Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
_controls_.ToggleButton_swigregister(ToggleButton)
ToggleButtonNameStr = cvar.ToggleButtonNameStr
"""SetSelection(self, size_t n) -> int"""
return _controls_.BookCtrlBase_SetSelection(*args, **kwargs)
+ def ChangeSelection(*args, **kwargs):
+ """ChangeSelection(self, size_t n) -> int"""
+ return _controls_.BookCtrlBase_ChangeSelection(*args, **kwargs)
+
def AdvanceSelection(*args, **kwargs):
"""AdvanceSelection(self, bool forward=True)"""
return _controls_.BookCtrlBase_AdvanceSelection(*args, **kwargs)
return _controls_.Notebook_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
+ def SendPageChangingEvent(*args, **kwargs):
+ """SendPageChangingEvent(self, int nPage) -> bool"""
+ return _controls_.Notebook_SendPageChangingEvent(*args, **kwargs)
+
+ def SendPageChangedEvent(*args, **kwargs):
+ """SendPageChangedEvent(self, int nPageOld, int nPageNew=-1)"""
+ return _controls_.Notebook_SendPageChangedEvent(*args, **kwargs)
+
+ RowCount = property(GetRowCount,doc="See `GetRowCount`")
+ ThemeBackgroundColour = property(GetThemeBackgroundColour,doc="See `GetThemeBackgroundColour`")
_controls_.Notebook_swigregister(Notebook)
def PreNotebook(*args, **kwargs):
"""GetTreeCtrl(self) -> TreeCtrl"""
return _controls_.Treebook_GetTreeCtrl(*args, **kwargs)
+ TreeCtrl = property(GetTreeCtrl,doc="See `GetTreeCtrl`")
_controls_.Treebook_swigregister(Treebook)
def PreTreebook(*args, **kwargs):
"""Realize(self)"""
return _controls_.Toolbook_Realize(*args, **kwargs)
+ ToolBar = property(GetToolBar,doc="See `GetToolBar`")
_controls_.Toolbook_swigregister(Toolbook)
def PreToolbook(*args, **kwargs):
TB_HORZ_LAYOUT = _controls_.TB_HORZ_LAYOUT
TB_HORZ_TEXT = _controls_.TB_HORZ_TEXT
TB_NO_TOOLTIPS = _controls_.TB_NO_TOOLTIPS
+TB_BOTTOM = _controls_.TB_BOTTOM
class ToolBarToolBase(_core.Object):
"""Proxy of C++ ToolBarToolBase class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
SetBitmap1 = SetNormalBitmap
SetBitmap2 = SetDisabledBitmap
+ Bitmap = property(GetBitmap,doc="See `GetBitmap`")
+ ClientData = property(GetClientData,SetClientData,doc="See `GetClientData` and `SetClientData`")
+ Control = property(GetControl,doc="See `GetControl`")
+ DisabledBitmap = property(GetDisabledBitmap,SetDisabledBitmap,doc="See `GetDisabledBitmap` and `SetDisabledBitmap`")
+ Id = property(GetId,doc="See `GetId`")
+ Kind = property(GetKind,doc="See `GetKind`")
+ Label = property(GetLabel,SetLabel,doc="See `GetLabel` and `SetLabel`")
+ LongHelp = property(GetLongHelp,SetLongHelp,doc="See `GetLongHelp` and `SetLongHelp`")
+ NormalBitmap = property(GetNormalBitmap,SetNormalBitmap,doc="See `GetNormalBitmap` and `SetNormalBitmap`")
+ ShortHelp = property(GetShortHelp,SetShortHelp,doc="See `GetShortHelp` and `SetShortHelp`")
+ Style = property(GetStyle,doc="See `GetStyle`")
+ ToolBar = property(GetToolBar,doc="See `GetToolBar`")
_controls_.ToolBarToolBase_swigregister(ToolBarToolBase)
class ToolBarBase(_core.Control):
"""GetToolsCount(self) -> size_t"""
return _controls_.ToolBarBase_GetToolsCount(*args, **kwargs)
+ Margins = property(GetMargins,SetMargins,doc="See `GetMargins` and `SetMargins`")
+ MaxCols = property(GetMaxCols,doc="See `GetMaxCols`")
+ MaxRows = property(GetMaxRows,doc="See `GetMaxRows`")
+ ToolBitmapSize = property(GetToolBitmapSize,SetToolBitmapSize,doc="See `GetToolBitmapSize` and `SetToolBitmapSize`")
+ ToolMargins = property(GetToolMargins,doc="See `GetToolMargins`")
+ ToolPacking = property(GetToolPacking,SetToolPacking,doc="See `GetToolPacking` and `SetToolPacking`")
+ ToolSeparation = property(GetToolSeparation,SetToolSeparation,doc="See `GetToolSeparation` and `SetToolSeparation`")
+ ToolSize = property(GetToolSize,doc="See `GetToolSize`")
+ ToolsCount = property(GetToolsCount,doc="See `GetToolsCount`")
_controls_.ToolBarBase_swigregister(ToolBarBase)
class ToolBar(ToolBarBase):
def Destroy(*args, **kwargs):
"""Destroy(self)"""
- val = _controls_.ListItemAttr_Destroy(*args, **kwargs)
- args[0].thisown = 0
- return val
+ args[0].this.own(False)
+ return _controls_.ListItemAttr_Destroy(*args, **kwargs)
BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
Font = property(GetFont,SetFont,doc="See `GetFont` and `SetFont`")
def Destroy(*args, **kwargs):
"""Destroy(self)"""
- val = _controls_.TreeItemData_Destroy(*args, **kwargs)
- args[0].thisown = 0
- return val
+ args[0].this.own(False)
+ return _controls_.TreeItemData_Destroy(*args, **kwargs)
+ Data = property(GetData,SetData,doc="See `GetData` and `SetData`")
+ Id = property(GetId,SetId,doc="See `GetId` and `SetId`")
_controls_.TreeItemData_swigregister(TreeItemData)
#---------------------------------------------------------------------------
"""GetToolTip(self) -> String"""
return _controls_.TreeEvent_GetToolTip(*args, **kwargs)
+ Item = property(GetItem,SetItem,doc="See `GetItem` and `SetItem`")
+ KeyCode = property(GetKeyCode,doc="See `GetKeyCode`")
+ KeyEvent = property(GetKeyEvent,SetKeyEvent,doc="See `GetKeyEvent` and `SetKeyEvent`")
+ Label = property(GetLabel,SetLabel,doc="See `GetLabel` and `SetLabel`")
+ OldItem = property(GetOldItem,SetOldItem,doc="See `GetOldItem` and `SetOldItem`")
+ Point = property(GetPoint,SetPoint,doc="See `GetPoint` and `SetPoint`")
+ ToolTip = property(GetToolTip,SetToolTip,doc="See `GetToolTip` and `SetToolTip`")
+ EditCancelled = property(IsEditCancelled,SetEditCanceled,doc="See `IsEditCancelled` and `SetEditCanceled`")
_controls_.TreeEvent_swigregister(TreeEvent)
#---------------------------------------------------------------------------
"""GetQuickBestSize(self) -> bool"""
return _controls_.TreeCtrl_GetQuickBestSize(*args, **kwargs)
+ Count = property(GetCount,doc="See `GetCount`")
+ EditControl = property(GetEditControl,doc="See `GetEditControl`")
+ FirstVisibleItem = property(GetFirstVisibleItem,doc="See `GetFirstVisibleItem`")
+ ImageList = property(GetImageList,SetImageList,doc="See `GetImageList` and `SetImageList`")
+ Indent = property(GetIndent,SetIndent,doc="See `GetIndent` and `SetIndent`")
+ QuickBestSize = property(GetQuickBestSize,SetQuickBestSize,doc="See `GetQuickBestSize` and `SetQuickBestSize`")
+ RootItem = property(GetRootItem,doc="See `GetRootItem`")
+ Selection = property(GetSelection,doc="See `GetSelection`")
+ Selections = property(GetSelections,doc="See `GetSelections`")
+ Spacing = property(GetSpacing,SetSpacing,doc="See `GetSpacing` and `SetSpacing`")
+ StateImageList = property(GetStateImageList,SetStateImageList,doc="See `GetStateImageList` and `SetStateImageList`")
_controls_.TreeCtrl_swigregister(TreeCtrl)
def PreTreeCtrl(*args, **kwargs):
FilterListCtrl = property(GetFilterListCtrl,doc="See `GetFilterListCtrl`")
Path = property(GetPath,SetPath,doc="See `GetPath` and `SetPath`")
RootId = property(GetRootId,doc="See `GetRootId`")
- ShowHidden = property(GetShowHidden,ShowHidden,doc="See `GetShowHidden` and `ShowHidden`")
TreeCtrl = property(GetTreeCtrl,doc="See `GetTreeCtrl`")
_controls_.GenericDirCtrl_swigregister(GenericDirCtrl)
DirDialogDefaultFolderStr = cvar.DirDialogDefaultFolderStr
def Destroy(*args, **kwargs):
"""Destroy(self)"""
- val = _controls_.HelpProvider_Destroy(*args, **kwargs)
- args[0].thisown = 0
- return val
+ args[0].this.own(False)
+ return _controls_.HelpProvider_Destroy(*args, **kwargs)
_controls_.HelpProvider_swigregister(HelpProvider)
return val
HL_CONTEXTMENU = _controls_.HL_CONTEXTMENU
+HL_ALIGN_LEFT = _controls_.HL_ALIGN_LEFT
+HL_ALIGN_RIGHT = _controls_.HL_ALIGN_RIGHT
+HL_ALIGN_CENTRE = _controls_.HL_ALIGN_CENTRE
HL_DEFAULT_STYLE = _controls_.HL_DEFAULT_STYLE
#---------------------------------------------------------------------------
"""GetPickerCtrl(self) -> Control"""
return _controls_.PickerBase_GetPickerCtrl(*args, **kwargs)
+ InternalMargin = property(GetInternalMargin,SetInternalMargin,doc="See `GetInternalMargin` and `SetInternalMargin`")
+ PickerCtrl = property(GetPickerCtrl,doc="See `GetPickerCtrl`")
+ PickerCtrlProportion = property(GetPickerCtrlProportion,SetPickerCtrlProportion,doc="See `GetPickerCtrlProportion` and `SetPickerCtrlProportion`")
+ TextCtrl = property(GetTextCtrl,doc="See `GetTextCtrl`")
+ TextCtrlProportion = property(GetTextCtrlProportion,SetTextCtrlProportion,doc="See `GetTextCtrlProportion` and `SetTextCtrlProportion`")
+ TextCtrlGrowable = property(IsTextCtrlGrowable,SetTextCtrlGrowable,doc="See `IsTextCtrlGrowable` and `SetTextCtrlGrowable`")
+ PickerCtrlGrowable = property(IsPickerCtrlGrowable,SetPickerCtrlGrowable,doc="See `IsPickerCtrlGrowable` and `SetPickerCtrlGrowable`")
_controls_.PickerBase_swigregister(PickerBase)
#---------------------------------------------------------------------------