Codebase list ruby-fxruby / 3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a rdoc-sources / FXFontSelector.rb
3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a

Tree @3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a (Download .tar.gz)

FXFontSelector.rb @3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2araw · history · blame

module Fox
  #
  # Font selection widget
  #
  # === Message identifiers
  #
  # +ID_FAMILY+:: x
  # +ID_WEIGHT+:: x
  # +ID_STYLE+:: x
  # +ID_STYLE_TEXT+:: x
  # +ID_SIZE+::  x
  # +ID_SIZE_TEXT+:: x
  # +ID_CHARSET+:: x
  # +ID_SETWIDTH+:: x
  # +ID_PITCH+:: x
  # +ID_SCALABLE+:: x
  # +ID_ALLFONTS+:: x
  #
  class FXFontSelector < FXPacker

    # The "Accept" button {FXButton}
    attr_reader :acceptButton

    # The "Cancel" button {FXButton}
    attr_reader :cancelButton

    # Font selection {FXFontDesc}
    attr_accessor :fontSelection

    #
    # Return an initialized FXFontSelector instance.
    #
    def initialize(p, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theFontSelector
    end
  end
end