Class: FX::Option

Inherits:
Fox::FXOption
  • Object
show all
Includes:
MiddleBtn, Responder
Defined in:
lib/libGUIb16.rb,
lib/libGUIb14.rb

Instance Method Summary collapse

Methods included from MiddleBtn

#handleMMB_Events, #onMiddleBtnPress, #onMiddleBtnRelease

Constructor Details

#initialize(p, opts = 0) ⇒ Option

Returns a new instance of Option.



728
729
730
731
# File 'lib/libGUIb16.rb', line 728

def initialize(p, opts = 0)
  super(p, "Option", nil, nil, 0, opts | Fox::JUSTIFY_NORMAL | Fox::ICON_BEFORE_TEXT)
  handleMMB_Events
end