| Home | Trees | Index | Help |
|
|---|
| Package wx :: Class NotifyEvent |
|
object--+ |Object--+ |Event--+ |CommandEvent--+ | NotifyEvent
BookCtrlBaseEvent,
GridEvent,
GridRangeSelectEvent,
GridSizeEvent,
ListEvent,
MediaEvent,
SpinEvent,
SplitterEvent,
TreeEvent,
WizardEventAn instance of this class (or one of its derived classes) is sent from
a control when the control's state is being changed and the control
allows that change to be prevented from happening. The event handler
can call Veto or Allow to tell the control what to do.
| Method Summary | |
|---|---|
| NotifyEvent |
An instance of this class (or one of its derived classes) is sent from a control when the control's state is being changed and the control allows that change to be prevented from happening. |
__repr__(self)
| |
This is the opposite of Veto: it explicitly allows the event to be
processed. | |
| bool |
Returns true if the change is allowed ( Veto hasn't been called) or
false otherwise (if it was). |
Prevents the change announced by this event from happening. | |
| Method Details |
|---|
__init__(self,
commandType=wxEVT_NULL,
winid=0)
|
Allow(self)This is the opposite of |
IsAllowed(self)Returns true if the change is allowed (
|
Veto(self)Prevents the change announced by this event from happening. It is in general a good idea to notify the user about the reasons for vetoing the change because otherwise the applications behaviour (which just refuses to do what the user wants) might be quite surprising. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1.20050511.rpd on Sun Mar 26 10:01:54 2006 | http://epydoc.sf.net |