Home | Trees | Index | Help |
|
---|
Package wx :: Class NotifyEvent |
|
object
--+ |Object
--+ |Event
--+ |CommandEvent
--+ | NotifyEvent
AuiNotebookEvent
,
BookCtrlBaseEvent
,
GridEvent
,
GridRangeSelectEvent
,
GridSizeEvent
,
ListEvent
,
MediaEvent
,
RichTextEvent
,
SpinEvent
,
SplitterEvent
,
TreeEvent
,
WizardEvent
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. 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. |
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. |
Property Summary | |
---|---|
thisown : The membership flag |
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. |
Property Details |
---|
thisownThe membership flag |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:07:10 2007 | http://epydoc.sf.net |