Class: Wx::AUI::AuiNotebookEvent

Inherits:
BookCtrlEvent show all
Defined in:
lib/wx/doc/gen/aui/aui_notebook_event.rb

Overview

This class is used by the events generated by AuiNotebook.

Please note that most events generated by AuiNotebook are handled by the notebook object itself, i.e. they do not propagate upwards to the notebook parent window, in spite of being command events. In order to handle these events you should use EvtHandler#bind to connect to the events on the notebook object itself and don’t forget to use Event#skip to ensure that the notebook still processes them too.

Events emitted by this class

The following event-handler methods redirect the events to member method or handler blocks for AuiNotebookEvent events. Event handler methods for events emitted by this class:

Category: Events, Book Controls

See Also:

Requires:

  • USE_AUI

Instance Method Summary collapse

Methods inherited from BookCtrlEvent

#get_old_selection, #get_selection, #set_old_selection, #set_selection

Methods inherited from NotifyEvent

#allow, #is_allowed, #veto

Methods inherited from CommandEvent

#client_data, #client_data=, #get_client_data, #get_client_object, #get_int, #get_selection, #get_string, #is_checked, #is_selection, #set_client_data, #set_client_object, #set_extra_long, #set_int, #set_string

Methods inherited from Event

#get_event_category, #get_event_object, #get_event_type, #get_id, #get_skipped, #get_timestamp, #is_command_event, #resume_propagation, #set_event_object, #set_event_type, #set_id, #set_timestamp, #should_propagate, #skip, #stop_propagation

Methods inherited from Object

#dup, #is_same_as, #un_share

Constructor Details

#initialize(command_type = Wx::EVT_NULL, win_id = 0) ⇒ Wx::AUI::AuiNotebookEvent

Constructor.

Parameters:

  • command_type (Wx::HTML::SimpleHtmlListBox::EventType) (defaults to: Wx::EVT_NULL)
  • win_id (Integer) (defaults to: 0)


223
# File 'lib/wx/doc/gen/aui/aui_notebook_event.rb', line 223

def initialize(command_type=Wx::EVT_NULL, win_id=0) end

Instance Method Details

#cloneWx::Event

Returns:



226
# File 'lib/wx/doc/gen/aui/aui_notebook_event.rb', line 226

def clone; end