| Trees | Indices | Help |
|---|
|
|
object --+
|
UIElement.UIE --+
|
AEChooser
Most abstract base class for all AEChooser dialogs.
This class is abstract as most of its methods raise NotImplementedError and need to be overriden in subclasses.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| string |
|
||
|
|||
|
Inherited from Inherited from |
|||
|
|||
| boolean |
GLOBAL_SINGLETON = FalseAllow only one instance of a chooser to exist at a time globally? This flag should be overriden by a subclass to indicate whether the chooser is a global singleton or not. |
||
| boolean |
APP_SINGLETON = FalseAllow only one instance of a chooser to exist at a time for a given application? This flag should be overriden by a subclass to indicate whether the chooser is an application singleton or not. |
||
| integer |
CANCEL = -1000Indicates the chooser is canceling and its options should be ignored |
||
| integer |
APPLY = -1001Indicates the chooser options should be applied immediately with no changes to its state |
||
| integer |
OK = -1002Indicates the chooser is completing and its options should be applied |
||
|
|||
| opaque |
aid Unique identifier for the application Tier with which the AEChooser that fired this event is associated |
||
| boolean |
block_signals Blocks future signals from being sent by the _signal method after a OK or CANCEL signal is sent |
||
| EventManager |
event_man Reference to the event manager to which an event will be posted when the user indicates the dialog is completed, cancelled, or the current optionss applied |
||
|
|||
|
Inherited from |
|||
|
|||
Initializes the event_man and aid variables to None and sets the block_signals flag to False.
|
Stores a reference the EventManager that will be notified by _signal and a reference to the Tier in which the Perk associated with this AEChooser is loaded.
|
Initializes the chooser. Should enable the chooser for interaction with the user.
|
Activates the chooser. Called when a singleton instance of the chooser already exists, but an attempt was just made to create another. Does nothing by default. Could be used to, for instance, raise a window to the foreground. |
Closes the chooser. Should prevent further chooser interaction with the user.
|
Does an update of some aspect of the AEChooser. A subclass can override this method to support updates from observers of AEEvent.ChooserChange events.
|
Gets the absolute path to a file located in the same directory as this AEChooser. Useful for locating resources like glade files.
|
Posts an AEEvent.ChooserChange event to the EventManager. Chooser change events should have an arbitrary kind or one of the special OK, APPLY, CANCEL valus. Any keyword arguments will be delivered to the observer. The event will also include a reference to this AEChooser such that an observer can call the update method on it. The event is delivered only to the Perk responsible for managing this chooser. After one cancel or one OK signal is fired, no more signals are sent. |
|
|||
APP_SINGLETONAllow only one instance of a chooser to exist at a time for a given application? This flag should be overriden by a subclass to indicate whether the chooser is an application singleton or not. Meaningless if GLOBAL_SINGLETON is set.
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Mon Jun 4 15:33:15 2007 | http://epydoc.sourceforge.net |