Sha256: 47849f01737b044f9ad4305c1c1e8fe1b66ec6c3134e8c9fbb1cb1c75fafaa71

Contents?: true

Size: 1.72 KB

Versions: 10

Compression:

Stored size: 1.72 KB

Contents

# :stopdoc:
# This file is automatically generated by the WXRuby3 documentation 
# generator. Do not alter this file.
# :startdoc:


module Wx::RBN

  # Event used to indicate various actions relating to a button on a {Wx::RBN::RibbonButtonBar}.
  # For toggle buttons, {Wx::RBN::RibbonButtonBarEvent#is_checked} can be used to test the state of the button.
  # See {Wx::RBN::RibbonButtonBar} for available event types.
  # === 
  # 
  # Category:  {Wx::Events}, Ribbon User Interface
  # @see Wx::RBN::RibbonBar 
  # 
  # 
  class RibbonButtonBarEvent < CommandEvent
  
    # Constructor.
    # @param command_type [Integer] 
    # @param win_id [Integer] 
    # @param bar [Wx::RibbonButtonBar] 
    # @param button [Integer] 
    # @return [RibbonButtonBarEvent]
    def initialize(command_type=Wx::EVT_NULL, win_id=0, bar=nil, button=nil) end
    
    # Returns the bar which contains the button which the event relates to.
    # @return [Wx::RibbonButtonBar]
    def get_bar; end
    alias_method :bar, :get_bar
    
    # Sets the button bar relating to this event.
    # @param bar [Wx::RibbonButtonBar] 
    # @return [void]
    def set_bar(bar) end
    alias_method :bar=, :set_bar
    
    # Returns the button which the event relates to.
    # @return [Integer]
    def get_button; end
    alias_method :button, :get_button
    
    # Sets the button relating to this event.
    # @param bar [Integer] 
    # @return [void]
    def set_button(bar) end
    alias_method :button=, :set_button
    
    # Display a popup menu as a result of this (dropdown clicked) event.
    # @param menu [Wx::Menu] 
    # @return [true,false]
    def popup_menu(menu) end
    
  end # RibbonButtonBarEvent
  

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.2-x64-mingw-ucrt lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb
wxruby3-0.9.0.pre.rc.1-x64-mingw-ucrt lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb
wxruby3-0.9.0.pre.beta.14-x64-mingw-ucrt lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb
wxruby3-0.9.0.pre.beta.13-x64-mingw-ucrt lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb
wxruby3-0.9.0.pre.beta.11-x64-mingw-ucrt lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb
wxruby3-0.9.0.pre.beta.10-x64-mingw-ucrt lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb
wxruby3-0.9.0.pre.beta.9-x64-mingw-ucrt lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb
wxruby3-0.9.0.pre.beta.8-x64-mingw-ucrt lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb
wxruby3-0.9.0.pre.beta.2-x64-mingw-ucrt-3.2-3.2.2 lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb
wxruby3-0.9.0.pre.beta.1-x64-mingw-ucrt-3.2 lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb