Sha256: c89d4e19631ea21ea07823655add8c1f0a4068f52c36bcb0c425fd7233b89b3d

Contents?: true

Size: 866 Bytes

Versions: 18

Compression:

Stored size: 866 Bytes

Contents

module Fox
  #
  # A picker button allows you to identify an arbitrary
  # location on the screen.
  #
  # === Events
  #
  # The following messages are sent by FXPicker to its target:
  #
  # +SEL_CHANGED+::
  #   sent continuously while the position is changing; the message data is an
  #   FXPoint instance indicating the current root window position of the mouse
  #   pointer.
  # +SEL_COMMAND+::
  #   sent when the left mouse button is clicked the second time (i.e. to
  #   "pick" a position); the message data is an FXPoint instance indicating
  #   the picked position in root window coordinates.
  #
  class FXPicker < FXButton
    #
    # Constructor
    #
    def initialize(p, text, ic=nil, tgt=nil, sel=0, opts=BUTTON_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_PAD, pr=DEFAULT_PAD, pt=DEFAULT_PAD, pb=DEFAULT_PAD) # :yields: thePicker
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
fxruby-1.2.2 rdoc-sources/FXPicker.rb
fxruby-1.2.3 rdoc-sources/FXPicker.rb
fxruby-1.2.4 rdoc-sources/FXPicker.rb
fxruby-1.2.5 rdoc-sources/FXPicker.rb
fxruby-1.2.6 rdoc-sources/FXPicker.rb
fxruby-1.4.0 rdoc-sources/FXPicker.rb
fxruby-1.4.1 rdoc-sources/FXPicker.rb
fxruby-1.4.2 rdoc-sources/FXPicker.rb
fxruby-1.4.3 rdoc-sources/FXPicker.rb
fxruby-1.4.4 rdoc-sources/FXPicker.rb
fxruby-1.4.5 rdoc-sources/FXPicker.rb
fxruby-1.4.6 rdoc-sources/FXPicker.rb
fxruby-1.4.7 rdoc-sources/FXPicker.rb
fxruby-1.6.0 rdoc-sources/FXPicker.rb
fxruby-1.6.1 rdoc-sources/FXPicker.rb
fxruby-1.6.2 rdoc-sources/FXPicker.rb
fxruby-1.6.3 rdoc-sources/FXPicker.rb
fxruby-1.6.4 rdoc-sources/FXPicker.rb