A specialized command event class for events sent by AuiNotebook .
__init__ | Default class constructor. |
GetDispatched | Returns whether the event was dispatched (used for automatic AuiNotebook ). |
GetDragSource | Returns the drag and drop source. |
GetLabel | Returns the label-itemtext (for EVT_AUINOTEBOOK_BEGIN | END_LABEL_EDIT only). |
GetOldSelection | Returns the page that was selected before the change, or -1 if none was |
GetSelection | Returns the currently selected page, or -1 if none was selected. |
IsEditCancelled | Returns the edit cancel flag (for EVT_AUINOTEBOOK_BEGIN | END_LABEL_EDIT only). |
SetDispatched | Sets the event as dispatched (used for automatic AuiNotebook ). |
SetDragSource | Sets the drag and drop source. |
SetEditCanceled | Sets the edit cancel flag (for EVT_AUINOTEBOOK_BEGIN | END_LABEL_EDIT only). |
SetLabel | Sets the label. |
SetOldSelection | Sets the id of the page selected before the change. |
SetSelection | Sets the selection member variable. |
A specialized command event class for events sent by AuiNotebook .
Default class constructor.
Parameters: |
|
---|
Returns whether the event was dispatched (used for automatic AuiNotebook ).
Returns the page that was selected before the change, or -1 if none was selected.
Returns the edit cancel flag (for EVT_AUINOTEBOOK_BEGIN | END_LABEL_EDIT only).
Sets the event as dispatched (used for automatic AuiNotebook ).
Parameters: | b – whether the event was dispatched or not. |
---|
Sets the edit cancel flag (for EVT_AUINOTEBOOK_BEGIN | END_LABEL_EDIT only).
Parameters: | editCancelled – whether the editing action has been cancelled or not. |
---|
Sets the label. Useful only for EVT_AUINOTEBOOK_END_LABEL_EDIT.
Parameters: | label – the new label. |
---|
Sets the id of the page selected before the change.
Parameters: | s – the old selection. |
---|