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

Class CommandTreeEvent
source code

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

CommandTreeEvent is a special subclassing of wx.PyCommandEvent. NB: note that not all the accessors make sense for all the events, see the event description for every method in this class.

Instance Methods [hide private]
  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).
  __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__


Class Variables [hide private]

Inherited from object: __class__


Method Details [hide private]

GetItem(self)

source code 
Gets the item on which the operation was performed or the newly selected item for EVT_TREE_SEL_CHANGED/ING events.

GetKeyCode(self)

source code 
Returns the integer key code (for EVT_TREE_KEY_DOWN only).

GetKeyEvent(self)

source code 
Keyboard data (for EVT_TREE_KEY_DOWN only).

GetLabel(self)

source code 
Returns the label-itemtext (for EVT_TREE_BEGIN|END_LABEL_EDIT only).

GetOldItem(self)

source code 
For EVT_TREE_SEL_CHANGED/ING events, gets the previously selected item.

GetPoint(self)

source code 
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)

source code 
Gets the tooltip for the item (for EVT_TREE_ITEM_GETTOOLTIP events).

IsEditCancelled(self)

source code 
Returns the edit cancel flag (for EVT_TREE_BEGIN|END_LABEL_EDIT only).

SetEditCanceled(self, editCancelled)

source code 
Sets the edit cancel flag (for EVT_TREE_BEGIN|END_LABEL_EDIT only).

SetItem(self, item)

source code 
Sets the item on which the operation was performed or the newly selected item for EVT_TREE_SEL_CHANGED/ING events.

SetKeyEvent(self, evt)

source code 
Keyboard data (for EVT_TREE_KEY_DOWN only).

SetLabel(self, label)

source code 
Sets the label-itemtext (for EVT_TREE_BEGIN|END_LABEL_EDIT only).

SetOldItem(self, item)

source code 
For EVT_TREE_SEL_CHANGED/ING events, sets the previously selected item.

SetPoint(self, pt)

source code 
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)

source code 
Sets the tooltip for the item (for EVT_TREE_ITEM_GETTOOLTIP events).

__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: wx._core.PyCommandEvent.__init__