Sha256: 0e0486455bafb332b85f61718f0f2328f4a9b1eb8ff048c60ceecf98ffb27189
Contents?: true
Size: 1.5 KB
Versions: 10
Compression:
Stored size: 1.5 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 [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
10 entries across 10 versions & 1 rubygems