Package wx :: Package lib :: Module customtreectrl :: Class CommandTreeEvent
[frames | no frames]

Type CommandTreeEvent

object --+                
         |                
    Object --+            
             |            
         Event --+        
                 |        
      CommandEvent --+    
                     |    
        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.


Method Summary
  __init__(self, type, id, item, evtKey, point, label, **kwargs)
Default class constructor.
  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).

Property Summary

Method Details

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

Default class constructor. For internal use: do not call it in your code!

Overrides:
wx.PyCommandEvent.__init__

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).


Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:08:32 2007 http://epydoc.sf.net