Class: Wx::RBN::RibbonPanelEvent

Inherits:
CommandEvent show all
Defined in:
lib/wx/doc/gen/rbn/ribbon_panel_event.rb

Overview

Event used to indicate various actions relating to a RibbonPanel.

See RibbonPanel for available event types.

Category: Events, Ribbon User Interface

See Also:

Requires:

  • USE_RIBBON

Instance Method Summary collapse

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

#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(command_type = Wx::EVT_NULL, win_id = 0, panel = nil) ⇒ Wx::RBN::RibbonPanelEvent

Constructor.

Parameters:

  • command_type (Wx::GenericCollapsiblePane::EventType) (defaults to: Wx::EVT_NULL)
  • win_id (Integer) (defaults to: 0)
  • panel (Wx::RBN::RibbonPanel) (defaults to: nil)


27
# File 'lib/wx/doc/gen/rbn/ribbon_panel_event.rb', line 27

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

Instance Method Details

#get_panelWx::RBN::RibbonPanel Also known as: panel

Returns the panel relating to this event.



31
# File 'lib/wx/doc/gen/rbn/ribbon_panel_event.rb', line 31

def get_panel; end

#set_panel(page) ⇒ void Also known as: panel=

This method returns an undefined value.

Sets the page relating to this event.

Parameters:



37
# File 'lib/wx/doc/gen/rbn/ribbon_panel_event.rb', line 37

def set_panel(page) end