Codebase list ruby-fxruby / 3ac7152a-ab2f-4628-b250-ba7cef029b84/upstream/1.6.45+git20230116.1.57f414d rdoc-sources / FXFontSelector.rb
3ac7152a-ab2f-4628-b250-ba7cef029b84/upstream/1.6.45+git20230116.1.57f414d

Tree @3ac7152a-ab2f-4628-b250-ba7cef029b84/upstream/1.6.45+git20230116.1.57f414d (Download .tar.gz)

FXFontSelector.rb @3ac7152a-ab2f-4628-b250-ba7cef029b84/upstream/1.6.45+git20230116.1.57f414draw · 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