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::GRID::Grid::EventType) (defaults to: Wx::EVT_NULL)


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

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:



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

def can_veto; end

#get_buttonInteger Also known as: button

The ID of the button that was clicked.

Returns:

  • (Integer)


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

def get_button; end

#get_dcWx::DC Also known as: dc

TodoWhat is this?

Returns:



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

def get_dc; end

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

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

Returns:



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

def get_manager; end

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

The pane this event is associated with.



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

def get_pane; end

#get_vetoBoolean

true if this event was vetoed.

Returns:

  • (Boolean)

See Also:



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

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)


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

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)


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

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:



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

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:



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

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:



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

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)


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

def veto(veto=true) end