Package wx :: Class PyCommandEvent
[frames | no frames]

Type PyCommandEvent

object --+            
         |            
    Object --+        
             |        
         Event --+    
                 |    
      CommandEvent --+
                     |
                    PyCommandEvent

Known Subclasses:
AquaButtonEvent, CaptionBarEvent, ColourSelectEvent, CommandTreeEvent, FlatMenuEvent, FlatNotebookEvent, FloatSpinEvent, FourWaySplitterEvent, GenButtonEvent, GradientButtonEvent, GridColMoveEvent, GridRowMoveEvent, HyperLinkEvent, ImageNotebookEvent, IntUpdatedEvent, KnobCtrlEvent, MaskedComboBoxSelectEvent, MultiSplitterEvent, MVCTreeEvent, NumberUpdatedEvent, RulerCtrlEvent, SButtonEvent, ThumbnailEvent, TimeUpdatedEvent

wx.PyCommandEvent can be used as a base class for implementing custom event types in Python, where the event shoudl travel up to parent windows looking for a handler. You should derived from this class instead of wx.CommandEvent because this class is Python-aware and is able to transport its Python bits safely through the wxWidgets event system and have them still be there when the event handler is invoked.


See Also:

wx.PyEvent

Method Summary
CommandEvent __init__(self, commandType, winid)
This event class contains information about command events, which originate from a variety of simple controls, as well as menus and toolbars.
  __del__(self)

Property Summary
  thisown: The membership flag

Method Details

__init__(self, eventType=wxEVT_NULL, id=0)
(Constructor)

This event class contains information about command events, which originate from a variety of simple controls, as well as menus and toolbars.

Parameters:
commandType
           (type=EventType)

winid
           (type=int)

Returns:
CommandEvent
Overrides:
wx.CommandEvent.__init__ (inherited documentation)

Property Details

thisown

The membership flag


Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:51:50 2009 http://epydoc.sf.net