wx._controls.ComboBox
A combobox is like a combination of an edit control and a listbox. It can be displayed as static list with editable or read-only text field; or a drop-down list with text field. A combobox permits a single selection only. Combobox items are numbered from zero.

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.

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.

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.

CanRedo(args, kwargs)
CanRedo(self) -> bool Returns True if the combobox is editable and the last undo can be redone. Only available on Windows.

CanUndo(args, kwargs)
CanUndo(self) -> bool Returns True if the combobox is editable and the last edit can be undone. Only available on Windows.

Copy(args, kwargs)
Copy(self) Copies the selected text to the clipboard.

Create(args, kwargs)
Create(Window parent, int id, String value=EmptyString, Point pos=DefaultPosition, Size size=DefaultSize, List choices=EmptyList, long style=0, Validator validator=DefaultValidator, String name=ChoiceNameStr) -> bool Actually create the GUI wxComboBox control for 2-phase creation

Cut(args, kwargs)
Cut(self) Copies the selected text to the clipboard and removes the selection.

GetClassDefaultAttributes
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 user's 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 `wx.Window.SetWindowVariant` for more about this.

GetInsertionPoint(args, kwargs)
GetInsertionPoint(self) -> long Returns the insertion point for the combobox's text field.

GetLastPosition(args, kwargs)
GetLastPosition(self) -> long Returns the last position in the combobox text field.

GetMark(args, kwargs)
GetMark(self) -> (from, to) Gets the positions of the begining and ending of the selection mark in the combobox text field.

GetValue(args, kwargs)
GetValue(self) -> String Returns the current value in the combobox text field.

IsEditable(args, kwargs)
IsEditable(self) -> bool Returns True if the combo is ediatable (not read-only.)

Paste(args, kwargs)
Paste(self) Pastes text from the clipboard to the text field.

Redo(args, kwargs)
Redo(self) Undoes the last edit in the text field. Windows only.

Remove(args, kwargs)
Remove(self, long from, long to) Removes the text between the two positions in the combobox text field.

Replace(args, kwargs)
Replace(self, long from, long to, String value) Replaces the text between two positions with the given text, in the combobox text field.

SelectAll(args, kwargs)
SelectAll(self) Select all the text in the combo's text field.

SetEditable(args, kwargs)
SetEditable(self, bool editable)

SetInsertionPoint(args, kwargs)
SetInsertionPoint(self, long pos) Sets the insertion point in the combobox text field.

SetInsertionPointEnd(args, kwargs)
SetInsertionPointEnd(self) Sets the insertion point at the end of the combobox text field.

SetMark(args, kwargs)
SetMark(self, long from, long to) Selects the text between the two positions in the combobox text field.

SetSelection(args, kwargs)
SetSelection(self, int n) Sets the item at index 'n' to be the selected item.

SetString(args, kwargs)
SetString(self, int n, String string) Set the label for the n'th item (zero based) in the list.

SetStringSelection(args, kwargs)
SetStringSelection(self, String string) -> bool Select the item with the specifed string

SetValue(args, kwargs)
SetValue(self, String value)

Undo(args, kwargs)
Undo(self) Redoes the last undo in the text field. Windows only.

[constructor]
Usage: classname(arguments)

[member '__doc__']
Documentation for this class

[member '__module__']
The module that this class belongs to

[operator 'repr']
Usage: repr(a)