Sha256: 799a79997aab5362c0bb4ca9c7f8687af9ac7e8bbae1e22eca3be1ee31478291
Contents?: true
Size: 1.55 KB
Versions: 1
Compression:
Stored size: 1.55 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 # # # @wxrb_require USE_FONTDLG,USE_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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wxruby3-0.9.2-x64-mingw-ucrt | lib/wx/doc/gen/font_picker_event.rb |