Class: Wx::AUI::AuiManagerEvent

Inherits:
Event show all
Defined in:
lib/wx/doc/gen/aui/aui_manager_event.rb

Overview

Event used to indicate various actions taken with AuiManager.

See AuiManager for available event types.

Events using this class

The following event-handler methods redirect the events to member method or handler blocks for AuiManagerEvent events. Event handler methods:

Category: Events, Window Docking (wxAUI)

See Also:

Requires:

  • USE_AUI

Instance Method Summary collapse

Methods inherited from Event

#clone, #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

#clone, #dup, #is_same_as, #un_share

Constructor Details

#initialize(type = Wx::EVT_NULL) ⇒ Wx::AUI::AuiManagerEvent

Constructor.

Parameters:

  • type (Wx::GenericCollapsiblePane::EventType) (defaults to: Wx::EVT_NULL)


42
# File 'lib/wx/doc/gen/aui/aui_manager_event.rb', line 42

def initialize(type=Wx::EVT_NULL) end

Instance Method Details

#can_vetoBoolean Also known as: can_veto?

true if this event can be vetoed.

Returns:

  • (Boolean)

See Also:



49
# File 'lib/wx/doc/gen/aui/aui_manager_event.rb', line 49

def can_veto; end

#get_buttonInteger Also known as: button

The ID of the button that was clicked.

Returns:

  • (Integer)


56
# File 'lib/wx/doc/gen/aui/aui_manager_event.rb', line 56

def get_button; end

#get_dcWx::DC Also known as: dc

TodoWhat is this?

Returns:



63
# File 'lib/wx/doc/gen/aui/aui_manager_event.rb', line 63

def get_dc; end

#get_managerWx::AUI::AuiManager Also known as: manager

The Wx::AUI::AuiManager this event is associated with.

Returns:



77
# File 'lib/wx/doc/gen/aui/aui_manager_event.rb', line 77

def get_manager; end

#get_paneWx::AUI::AuiPaneInfo Also known as: pane

The pane this event is associated with.



84
# File 'lib/wx/doc/gen/aui/aui_manager_event.rb', line 84

def get_pane; end

#get_vetoBoolean

true if this event was vetoed.

Returns:

  • (Boolean)

See Also:



71
# File 'lib/wx/doc/gen/aui/aui_manager_event.rb', line 71

def get_veto; end

#set_button(button) ⇒ void Also known as: button=

This method returns an undefined value.

Sets the ID of the button clicked that triggered this event.

Parameters:

  • button (Integer)


90
# File 'lib/wx/doc/gen/aui/aui_manager_event.rb', line 90

def set_button(button) end

#set_can_veto(can_veto) ⇒ void Also known as: can_veto=

This method returns an undefined value.

Sets whether or not this event can be vetoed.

Parameters:

  • can_veto (Boolean)


96
# File 'lib/wx/doc/gen/aui/aui_manager_event.rb', line 96

def set_can_veto(can_veto) end

#set_dc(pdc) ⇒ void Also known as: dc=

This method returns an undefined value.

TodoWhat is this?

Parameters:



104
# File 'lib/wx/doc/gen/aui/aui_manager_event.rb', line 104

def set_dc(pdc) end

#set_manager(manager) ⇒ void Also known as: manager=

This method returns an undefined value.

Sets the Wx::AUI::AuiManager this event is associated with.

Parameters:



110
# File 'lib/wx/doc/gen/aui/aui_manager_event.rb', line 110

def set_manager(manager) end

#set_pane(pane) ⇒ void Also known as: pane=

This method returns an undefined value.

Sets the pane this event is associated with.

Parameters:



116
# File 'lib/wx/doc/gen/aui/aui_manager_event.rb', line 116

def set_pane(pane) end

#veto(veto = true) ⇒ void

This method returns an undefined value.

Cancels the action indicated by this event if #can_veto is true.

Parameters:

  • veto (Boolean) (defaults to: true)


122
# File 'lib/wx/doc/gen/aui/aui_manager_event.rb', line 122

def veto(veto=true) end