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 | |
---|---|
List choices=[], long style=0, Validator validator=DefaultValidator, String name=ChoiceNameStr) -> Choice | |
__repr__(self)
| |
List choices=[], long style=0, Validator validator=DefaultValidator, String name=ChoiceNameStr) -> bool | |
VisualAttributes |
Get the default attributes for this class. (Static method) |
Instance Method Details |
---|
__init__(self,
*args,
**kwargs)
|
Create(*args, **kwargs)
Actually create the GUI Choice control for 2-phase creation
|
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
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:24:41 2005 | http://epydoc.sf.net |