Home | Trees | Index | Help |
|
---|
Package wx :: Class Choice |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ |Control
--+ |object
--+ | | |ItemContainer
--+ |ControlWithItems
--+ | Choice
DirFilterListCtrl
A Choice control is used to select one of a list of strings.
Unlike a wx.ListBox
, only the selection is visible until the
user pulls down the menu of choices.
EVT_CHOICE Sent when an item in the list is selected.
Method Summary | |
---|---|
Choice |
Create and show a Choice control |
bool |
Actually create the GUI Choice control for 2-phase creation |
VisualAttributes |
Get the default attributes for this class. (Static method) |
int |
Unlike GetSelection which only returns the accepted selection value,
i.e. |
Property Summary | |
---|---|
CurrentSelection : See GetCurrentSelection | |
thisown : The membership flag |
Instance Method Details |
---|
__init__(parent,
id,
pos=DefaultPosition,
size=DefaultSize,
choices=EmptyList,
style=0,
validator=DefaultValidator,
name=ChoiceNameStr)
|
Create(parent, id, pos=DefaultPosition, size=DefaultSize, choices=EmptyList, style=0, validator=DefaultValidator, name=ChoiceNameStr)Actually create the GUI Choice control for 2-phase creation
|
GetCurrentSelection(self)Unlike
|
Static Method Details |
---|
GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)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
|
Property Details |
---|
CurrentSelection
|
thisownThe membership flag |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:08:17 2007 | http://epydoc.sf.net |