Module LabelBook :: Class ImageNotebookEvent
[hide private]
[frames] | no frames]

Class ImageNotebookEvent

source code

     object --+                
              |                
wx._core.Object --+            
                  |            
     wx._core.Event --+        
                      |        
  wx._core.CommandEvent --+    
                          |    
    wx._core.PyCommandEvent --+
                              |
                             ImageNotebookEvent

This events will be sent when a EVT_IMAGENOTEBOOK_PAGE_CHANGED, EVT_IMAGENOTEBOOK_PAGE_CHANGING, EVT_IMAGENOTEBOOK_PAGE_CLOSING, EVT_IMAGENOTEBOOK_PAGE_CLOSED is mapped in the parent.

Instance Methods [hide private]
  __init__(self, eventType, id=1, sel=-1, oldsel=-1)
Default class constructor.
  SetSelection(self, s)
Sets the event selection.
  SetOldSelection(self, s)
Sets the event old selection.
  GetSelection(self)
Returns the event selection.
  GetOldSelection(self)
Returns the old event selection.
  Veto(self)
Vetos the event.
  Allow(self)
Allows the event.
  IsAllowed(self)
Returns whether the event is allowed or not.

Inherited from wx._core.PyCommandEvent: __del__, __swig_destroy__

Inherited from wx._core.PyCommandEvent (private): _GetSelf, _SetSelf

Inherited from wx._core.CommandEvent: Checked, Clone, GetClientData, GetClientObject, GetExtraLong, GetInt, GetString, IsChecked, IsSelection, SetClientData, SetClientObject, SetExtraLong, SetInt, SetString

Inherited from wx._core.Event: GetEventObject, GetEventType, GetId, GetSkipped, GetTimestamp, IsCommandEvent, ResumePropagation, SetEventObject, SetEventType, SetId, SetTimestamp, ShouldPropagate, Skip, StopPropagation

Inherited from wx._core.Object: Destroy, GetClassName, __repr__

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__


Properties [hide private]

Inherited from wx._core.PyCommandEvent: thisown

Inherited from wx._core.CommandEvent: ClientData, ClientObject, ExtraLong, Int, Selection, String

Inherited from wx._core.Event: EventObject, EventType, Id, Skipped, Timestamp

Inherited from wx._core.Object: ClassName

Inherited from object: __class__


Method Details [hide private]

__init__(self, eventType, id=1, sel=-1, oldsel=-1)
(Constructor)

source code 
Default class constructor.
Overrides: wx._core.PyCommandEvent.__init__

SetSelection(self, s)

source code 
Sets the event selection.

SetOldSelection(self, s)

source code 
Sets the event old selection.

GetSelection(self)

source code 
Returns the event selection.
Returns:
int

Overrides: wx._core.CommandEvent.GetSelection

GetOldSelection(self)

source code 
Returns the old event selection.

Veto(self)

source code 
Vetos the event.

Allow(self)

source code 
Allows the event.

IsAllowed(self)

source code 
Returns whether the event is allowed or not.