| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
debug.debugmixin --+
|
SelectAction --+
|
ListAction
Display a list of items in a menu bar.
This is used to display a list of items while only requiring a single action to display the entire list.
The subclass should override the getItems method to return the list of items to display. These items should be strings. Overriding isEnabled will determine the enable/disable state for all of the items in the list.
If the items change their text strings, you should add the OnDemandActionMixin and override the getHash method to indicate when the user interface should redraw the menu.
| Nested Classes | |
| IdCache | |
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Class Methods | |
|
Inherited from Inherited from |
| Class Variables | |
menumax = 30
|
|
abbrev_width = 16
|
|
inline = False
|
|
localize_items = FalseShould the items in the list be localized? Dynamically generated lists in general won't be, because they represent filenames -- if a filename happened to be named "File" or "Edit" or "Cut" or a common string, they would be transformed to the localized version when they shouldn't be if that's the actual filename. |
|
|
Inherited from Inherited from |
|
| Properties | |
|
Inherited from |
| Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
|
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Feb 21 14:51:14 2008 | http://epydoc.sourceforge.net |