Class: FX::ShutterItem
- Inherits:
-
Fox::FXShutterItem
- Object
- Fox::FXShutterItem
- FX::ShutterItem
- Includes:
- MiddleBtn, Responder
- Defined in:
- lib/libGUIb16.rb,
lib/libGUIb14.rb
Instance Method Summary collapse
-
#initialize(p, opts = 0) ⇒ ShutterItem
constructor
A new instance of ShutterItem.
- #text ⇒ Object
- #text=(text) ⇒ Object
Methods included from MiddleBtn
#handleMMB_Events, #onMiddleBtnPress, #onMiddleBtnRelease
Constructor Details
#initialize(p, opts = 0) ⇒ ShutterItem
Returns a new instance of ShutterItem.
819 820 821 822 823 824 825 826 |
# File 'lib/libGUIb16.rb', line 819 def initialize(p, opts = 0) super(p, "ShutterItem", nil, opts | Fox::LAYOUT_FILL_X | Fox::LAYOUT_TOP | Fox::LAYOUT_LEFT, 0, 0, 0, 0, 2, 2, 4, 4, 4, 4) .padBottom = 3 .padTop = 3 .padLeft = 5 .padRight = 5 handleMMB_Events end |
Instance Method Details
#text ⇒ Object
832 833 834 |
# File 'lib/libGUIb16.rb', line 832 def text .text end |
#text=(text) ⇒ Object
828 829 830 |
# File 'lib/libGUIb16.rb', line 828 def text=(text) .text = text end |