Sha256: 32303f79bda40d85d1e426f5eef443ea7e94fd2dd9b7014a3acb6b221cdb23b6
Contents?: true
Size: 1.55 KB
Versions: 3
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
3 entries across 3 versions & 1 rubygems