wx._controls.ListBox
Proxy of C++ ListBox class

AppendAndEnsureVisible(args, kwargs)
AppendAndEnsureVisible(self, String s)

Create(args, kwargs)
Create(self, Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray, long style=0, Validator validator=DefaultValidator, String name=ListBoxNameStr) -> bool

Deselect(args, kwargs)
Deselect(self, int n)

DeselectAll(args, kwargs)
DeselectAll(self, int itemToLeaveSelected=-1)

EnsureVisible(args, kwargs)
EnsureVisible(self, int n)

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.

GetSelections(args, kwargs)
GetSelections(self) -> PyObject

Insert(args, kwargs)
Insert(self, String item, int pos, PyObject clientData=None) Insert an item into the control before the item at the ``pos`` index, optionally associating some data object with the item.

InsertItems(args, kwargs)
InsertItems(self, wxArrayString items, int pos)

IsSelected(args, kwargs)
IsSelected(self, int n) -> bool

IsSorted(args, kwargs)
IsSorted(self) -> bool

Select(args, kwargs)
Select(self, int n) This is the same as `SetSelection` and exists only because it is slightly more natural for controls which support multiple selection.

Set(args, kwargs)
Set(self, wxArrayString items)

SetFirstItem(args, kwargs)
SetFirstItem(self, int n)

SetFirstItemStr(args, kwargs)
SetFirstItemStr(self, String s)

SetItemBackgroundColour(args, kwargs)
SetItemBackgroundColour(self, int item, Colour c)

SetItemFont(args, kwargs)
SetItemFont(self, int item, Font f)

SetItemForegroundColour(args, kwargs)
SetItemForegroundColour(self, int item, Colour c)

SetSelection(args, kwargs)
SetSelection(self, int n, bool select=True)

SetStringSelection(args, kwargs)
SetStringSelection(self, String s, bool select=True) -> bool

[constructor]
Usage: classname(arguments)

[member '__doc__']
Documentation for this class

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

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