Sha256: 8bd9ba7ddf72a2eafd36956262f28e8bf91a170efccc780ba63c3eba857b85b5

Contents?: true

Size: 893 Bytes

Versions: 13

Compression:

Stored size: 893 Bytes

Contents

module Fox
  #
  # The FXMenuRadio widget is used to change a state in the application from a menu.
  # Menu radio commands may reflect the state of the application by graying out, becoming
  # hidden, or by displaying a bullet.
  #
  # === Events
  #
  # The following messages are sent by FXMenuRadio to its target:
  #
  # +SEL_KEYPRESS+::	sent when a key goes down; the message data is an FXEvent instance.
  # +SEL_KEYRELEASE+::	sent when a key goes up; the message data is an FXEvent instance.
  # +SEL_COMMAND+::		sent when the command is activated
  #
  class FXMenuRadio < FXMenuCommand

    # Radio button state, one of +TRUE+, +FALSE+ or +MAYBE+
    attr_accessor :check
    
    # Radio background color [FXColor]
    attr_accessor :radioColor

    #
    # Construct a menu radio
    #
    def initialize(p, text, tgt=nil, sel=0, opts=0) # :yields: theMenuRadio
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fxruby-1.2.3 rdoc-sources/FXMenuRadio.rb
fxruby-1.2.2 rdoc-sources/FXMenuRadio.rb
fxruby-1.2.4 rdoc-sources/FXMenuRadio.rb
fxruby-1.2.5 rdoc-sources/FXMenuRadio.rb
fxruby-1.4.0 rdoc-sources/FXMenuRadio.rb
fxruby-1.2.6 rdoc-sources/FXMenuRadio.rb
fxruby-1.4.1 rdoc-sources/FXMenuRadio.rb
fxruby-1.4.2 rdoc-sources/FXMenuRadio.rb
fxruby-1.4.3 rdoc-sources/FXMenuRadio.rb
fxruby-1.4.4 rdoc-sources/FXMenuRadio.rb
fxruby-1.4.5 rdoc-sources/FXMenuRadio.rb
fxruby-1.4.6 rdoc-sources/FXMenuRadio.rb
fxruby-1.4.7 rdoc-sources/FXMenuRadio.rb