Sha256: b1280d5d30fe1ab0a0b9fd5f2700d0958bcc8c7f91e24e71192c7b32900aefcd

Contents?: true

Size: 1.51 KB

Versions: 3

Compression:

Stored size: 1.51 KB

Contents

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


module Wx

  # 
  FNTP_FONTDESC_AS_LABEL = 8
  
  # 
  FNTP_USEFONT_FOR_LABEL = 16
  
  # 
  FONTBTN_DEFAULT_STYLE = 24
  
  # 
  FNTP_USE_TEXTCTRL = 2
  
  # 
  FNTP_DEFAULT_STYLE = 24
  
  # 
  # 
  EVT_FONTPICKER_CHANGED = 10170
  
  # This event class is used for the events generated by {Wx::FontPickerCtrl}.
  # === Events using this class
  # 
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::FontPickerEvent} events.
  # Event handler methods:
  # 
  # - {Wx::EvtHandler#evt_fontpicker_changed}(id, meth = nil, &block): Generated whenever the selected font changes. 
  # 
  # === 
  # 
  # Category:  {Wx::Events}
  # @see Wx::FontPickerCtrl 
  # 
  # 
  class FontPickerEvent < CommandEvent
  
    # The constructor is not normally used by the user code.
    # @param generator [Wx::Object] 
    # @param id [Integer] 
    # @param font [Wx::Font,Wx::FontInfo] 
    # @return [Wx::FontPickerEvent]
    def initialize(generator, id, font) end
    
    # Retrieve the font the user has just selected.
    # @return [Wx::Font]
    def get_font; end
    alias_method :font, :get_font
    
    # Set the font associated with the event.
    # @param f [Wx::Font,Wx::FontInfo] 
    # @return [void]
    def set_font(f) end
    alias_method :font=, :set_font
    
  end # FontPickerEvent
  

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wxruby3-0.9.1-x64-mingw-ucrt lib/wx/doc/gen/font_picker_event.rb
wxruby3-0.9.0-x64-mingw-ucrt lib/wx/doc/gen/font_picker_event.rb
wxruby3-0.9.0.pre.rc.3-x64-mingw-ucrt lib/wx/doc/gen/font_picker_event.rb