Class: FX::Shutter

Inherits:
Fox::FXShutter
  • 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) ⇒ Shutter

Returns a new instance of Shutter.



810
811
812
813
# File 'lib/libGUIb16.rb', line 810

def initialize(p, opts = 0)
  super(p, nil, 0, opts | Fox::LAYOUT_FILL_X | Fox::LAYOUT_FILL_Y | Fox::LAYOUT_TOP | Fox::LAYOUT_LEFT | Fox::FRAME_SUNKEN, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
  handleMMB_Events
end