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

Type BookCtrlBaseEvent

object --+                
         |                
    Object --+            
             |            
         Event --+        
                 |        
      CommandEvent --+    
                     |    
           NotifyEvent --+
                         |
                        BookCtrlBaseEvent

Known Subclasses:
ChoicebookEvent, ListbookEvent, NotebookEvent, ToolbookEvent, TreebookEvent

Proxy of C++ BookCtrlBaseEvent class


Method Summary
NotifyEvent __init__(self, commandType, winid)
An instance of this class (or one of its derived classes) is sent from a control when the control's state is being changed and the control allows that change to be prevented from happening.
int GetOldSelection(self)
int GetSelection(self)
Returns item index for a listbox or choice selection event (not valid for a deselection).
  SetOldSelection(self, nOldSel)
  SetSelection(self, nSel)

Property Summary
  OldSelection: See GetOldSelection and SetOldSelection
  Selection: See GetSelection and SetSelection
  thisown: The membership flag

Method Details

__init__(self, commandType=wxEVT_NULL, id=0, nSel=-1, nOldSel=-1)
(Constructor)

An instance of this class (or one of its derived classes) is sent from a control when the control's state is being changed and the control allows that change to be prevented from happening. The event handler can call Veto or Allow to tell the control what to do.

Parameters:
commandType
           (type=EventType)

winid
           (type=int)

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

GetSelection(self)

Returns item index for a listbox or choice selection event (not valid for a deselection).

Returns:
int
Overrides:
wx.CommandEvent.GetSelection

Property Details

OldSelection

See GetOldSelection and SetOldSelection

Get Method:
GetOldSelection(self)
Set Method:
SetOldSelection(self, nOldSel)

Selection

See GetSelection and SetSelection

Get Method:
GetSelection(self)
Set Method:
SetSelection(self, nSel)

thisown

The membership flag


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