Class: Wx::RBN::RibbonPanelEvent
- Inherits:
-
CommandEvent
- Object
- Object
- Event
- CommandEvent
- Wx::RBN::RibbonPanelEvent
- 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
Instance Method Summary collapse
-
#get_panel ⇒ Wx::RBN::RibbonPanel
(also: #panel)
Returns the panel relating to this event.
-
#initialize(command_type = Wx::EVT_NULL, win_id = 0, panel = nil) ⇒ Wx::RBN::RibbonPanelEvent
constructor
Constructor.
-
#set_panel(page) ⇒ void
(also: #panel=)
Sets the page relating to this event.
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.
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_panel ⇒ Wx::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.
37 |
# File 'lib/wx/doc/gen/rbn/ribbon_panel_event.rb', line 37 def set_panel(page) end |