Sha256: 8a59a66eeaba15cb7b78f4080809159e5a7133234bc536c434d7bebe0aa4377c

Contents?: true

Size: 1012 Bytes

Versions: 94

Compression:

Stored size: 1012 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

94 entries across 94 versions & 1 rubygems

Version Path
fxruby-1.6.37-x86-mingw32 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.37.rc1 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.37.rc1-x64-mingw32 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.37.rc1-x86-mingw32 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.36 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.36-x64-mingw32 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.36-x86-mingw32 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.35-x86-mingw32 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.35-x64-mingw32 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.35 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.34-x86-mingw32 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.34-x64-mingw32 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.34 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.33-x86-mingw32 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.33-x64-mingw32 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.33 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.32-x86-mingw32 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.32-x64-mingw32 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.32 rdoc-sources/FXMenuRadio.rb
fxruby-1.6.32.pre2-x64-mingw32 rdoc-sources/FXMenuRadio.rb