reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-04-26 23:41:48 +00:00
parent 5020e71e3d
commit 121b9a6757
7 changed files with 594 additions and 17 deletions

View File

@@ -381,7 +381,7 @@ class Choice(_core.ControlWithItems):
def SetStringSelection(*args, **kwargs):
"""
SetStringSelection(self, String string)
SetStringSelection(self, String string) -> bool
Select the item with the specifed string
"""
@@ -524,14 +524,34 @@ class ComboBox(Choice):
"""
SetSelection(self, int n)
Selects the text between the two positions, in the combobox text field.
Sets the item at index 'n' to be the selected item.
"""
return _controls_.ComboBox_SetSelection(*args, **kwargs)
def SetMark(*args, **kwargs):
"""SetMark(self, long from, long to)"""
"""
SetMark(self, long from, long to)
Selects the text between the two positions in the combobox text field.
"""
return _controls_.ComboBox_SetMark(*args, **kwargs)
def SetStringSelection(*args, **kwargs):
"""
SetStringSelection(self, String string) -> bool
Select the item with the specifed string
"""
return _controls_.ComboBox_SetStringSelection(*args, **kwargs)
def SetString(*args, **kwargs):
"""
SetString(self, int n, String string)
Set the label for the n'th item (zero based) in the list.
"""
return _controls_.ComboBox_SetString(*args, **kwargs)
def SetEditable(*args, **kwargs):
"""SetEditable(self, bool editable)"""
return _controls_.ComboBox_SetEditable(*args, **kwargs)