Module CustomTreeCtrl :: Class TreeEvent
[hide private]
[frames] | no frames]

Class TreeEvent
source code

     object --+                    
              |                    
         Object --+                
                  |                
              Event --+            
                      |            
           CommandEvent --+        
                          |        
    wx._core.PyCommandEvent --+    
                              |    
               CommandTreeEvent --+
                                  |
                                 TreeEvent

Instance Methods [hide private]
  Allow(self)
The event is allowed.
  GetNotifyEvent(self)
Returns the actual wx.NotifyEvent.
  IsAllowed(self)
Returns whether the event is allowed or not.
  Veto(self)
Vetos the event.
  __init__(self, type, id, item=None, evtKey=None, point=None, label=None, **kwargs)
Default class constructor.

Inherited from wx._core.PyCommandEvent: __del__, __repr__

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

Inherited from wx._core.CommandEvent: Checked, Clone, GetClientData, GetClientObject, GetExtraLong, GetInt, GetSelection, 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

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

    Inherited from CommandTreeEvent
  GetItem(self)
Gets the item on which the operation was performed or the newly selected item for EVT_TREE_SEL_CHANGED/ING events.
  GetKeyCode(self)
Returns the integer key code (for EVT_TREE_KEY_DOWN only).
  GetKeyEvent(self)
Keyboard data (for EVT_TREE_KEY_DOWN only).
  GetLabel(self)
Returns the label-itemtext (for EVT_TREE_BEGIN|END_LABEL_EDIT only).
  GetOldItem(self)
For EVT_TREE_SEL_CHANGED/ING events, gets the previously selected item.
  GetPoint(self)
Returns the point where the mouse was when the drag operation started (for EVT_TREE_BEGIN(R)DRAG events only) or the click position.
  GetToolTip(self)
Gets the tooltip for the item (for EVT_TREE_ITEM_GETTOOLTIP events).
  IsEditCancelled(self)
Returns the edit cancel flag (for EVT_TREE_BEGIN|END_LABEL_EDIT only).
  SetEditCanceled(self, editCancelled)
Sets the edit cancel flag (for EVT_TREE_BEGIN|END_LABEL_EDIT only).
  SetItem(self, item)
Sets the item on which the operation was performed or the newly selected item for EVT_TREE_SEL_CHANGED/ING events.
  SetKeyEvent(self, evt)
Keyboard data (for EVT_TREE_KEY_DOWN only).
  SetLabel(self, label)
Sets the label-itemtext (for EVT_TREE_BEGIN|END_LABEL_EDIT only).
  SetOldItem(self, item)
For EVT_TREE_SEL_CHANGED/ING events, sets the previously selected item.
  SetPoint(self, pt)
Sets the point where the mouse was when the drag operation started (for EVT_TREE_BEGIN(R)DRAG events only) or the click position.
  SetToolTip(self, toolTip)
Sets the tooltip for the item (for EVT_TREE_ITEM_GETTOOLTIP events).

Class Variables [hide private]

Inherited from object: __class__


Method Details [hide private]

Allow(self)

source code 
The event is allowed.

GetNotifyEvent(self)

source code 
Returns the actual wx.NotifyEvent.

IsAllowed(self)

source code 
Returns whether the event is allowed or not.

Veto(self)

source code 
Vetos the event.

__init__(self, type, id, item=None, evtKey=None, point=None, label=None, **kwargs)
(Constructor)

source code 
Default class constructor. For internal use: do not call it in your code!"
Overrides: CommandTreeEvent.__init__