Sha256: d8591e0e35eb16c850ae27fb526c50e22747488e60e83394a5e418e1ab00b6fa

Contents?: true

Size: 1016 Bytes

Versions: 37

Compression:

Stored size: 1016 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.
  # When activated, a menu radio sends a +SEL_COMMAND+ to its target;
  # the message data contains the new state.
  # A collection of menu radio widgets which belong to each other
  # is supposed to be updated by a common +SEL_UPDATE+ handler to
  # properly maintain the state between them.
  #
  # === Events
  #
  # The following messages are sent by FXMenuRadio to its target:
  #
  # +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, target=nil, selector=0, opts=0) # :yields: theMenuRadio
    end
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
fxruby-1.6.22.pre2-x86-mingw32 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.22.pre2 rdoc-sources/FXMenuRadio.rb
fxrubi-1.6.22.pre1-x86-mingw32 rdoc-sources/FXMenuRadio.rb
fxrubi-1.6.22.pre1 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.20-x86-mingw32 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.20-x86-linux rdoc-sources/FXMenuRadio.rb
fxruby-1.6.20 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.20-universal-darwin-10 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.19-x86-mingw32 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.14-mswin32 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.13-mswin32 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.11 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.10 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.12 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.13 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.14-universal-darwin-9 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.14 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.15-universal-darwin-9 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.15-x86-mswin32-60 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.15 rdoc-sources/FXMenuRadio.rb