reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-12-14 22:49:50 +00:00
parent 63cd6e0bbe
commit b519803b43
10 changed files with 587 additions and 99 deletions

View File

@@ -709,6 +709,84 @@ class ComboBox(Choice):
"""
return _controls_.ComboBox_Remove(*args, **kwargs)
def IsEditable(*args, **kwargs):
"""
IsEditable(self) -> bool
Returns True if the combo is ediatable (not read-only.)
"""
return _controls_.ComboBox_IsEditable(*args, **kwargs)
def Undo(*args, **kwargs):
"""
Undo(self)
Redoes the last undo in the text field. Windows only.
"""
return _controls_.ComboBox_Undo(*args, **kwargs)
def Redo(*args, **kwargs):
"""
Redo(self)
Undoes the last edit in the text field. Windows only.
"""
return _controls_.ComboBox_Redo(*args, **kwargs)
def SelectAll(*args, **kwargs):
"""
SelectAll(self)
Select all the text in the combo's text field.
"""
return _controls_.ComboBox_SelectAll(*args, **kwargs)
def CanCopy(*args, **kwargs):
"""
CanCopy(self) -> bool
Returns True if the combobox is editable and there is a text selection
to copy to the clipboard. Only available on Windows.
"""
return _controls_.ComboBox_CanCopy(*args, **kwargs)
def CanCut(*args, **kwargs):
"""
CanCut(self) -> bool
Returns True if the combobox is editable and there is a text selection
to copy to the clipboard. Only available on Windows.
"""
return _controls_.ComboBox_CanCut(*args, **kwargs)
def CanPaste(*args, **kwargs):
"""
CanPaste(self) -> bool
Returns True if the combobox is editable and there is text on the
clipboard that can be pasted into the text field. Only available on
Windows.
"""
return _controls_.ComboBox_CanPaste(*args, **kwargs)
def CanUndo(*args, **kwargs):
"""
CanUndo(self) -> bool
Returns True if the combobox is editable and the last edit can be
undone. Only available on Windows.
"""
return _controls_.ComboBox_CanUndo(*args, **kwargs)
def CanRedo(*args, **kwargs):
"""
CanRedo(self) -> bool
Returns True if the combobox is editable and the last undo can be
redone. Only available on Windows.
"""
return _controls_.ComboBox_CanRedo(*args, **kwargs)
def GetClassDefaultAttributes(*args, **kwargs):
"""
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
@@ -3365,6 +3443,8 @@ class NotebookSizerPtr(NotebookSizer):
self.__class__ = NotebookSizer
_controls_.NotebookSizer_swigregister(NotebookSizerPtr)
NotebookSizer = wx._deprecated(NotebookSizer, "NotebookSizer is no longer needed.")
BookCtrlSizer = wx._deprecated(BookCtrlSizer, "BookCtrlSizer is no longer needed.")
#---------------------------------------------------------------------------
TOOL_STYLE_BUTTON = _controls_.TOOL_STYLE_BUTTON