Class: StartSeparator
- Inherits:
-
Gtk::Arrow
- Object
- Gtk::Arrow
- StartSeparator
- Defined in:
- lib/ButtonMenu/StartSeparator.rb
Overview
this file is part of manqod manqod is distributed under the CDDL licence the author of manqod is Dobai-Pataky Balint([email protected])
Instance Method Summary collapse
-
#initialize(pack_dir) ⇒ StartSeparator
constructor
A new instance of StartSeparator.
- #inspect ⇒ Object
Constructor Details
#initialize(pack_dir) ⇒ StartSeparator
Returns a new instance of StartSeparator.
6 7 8 9 10 |
# File 'lib/ButtonMenu/StartSeparator.rb', line 6 def initialize(pack_dir) super(if pack_dir == "vertical" then Gtk::Arrow::DOWN;else Gtk::Arrow::RIGHT;end,Gtk::SHADOW_OUT) set_size_request(20,10) set_no_show_all(true) end |
Instance Method Details
#inspect ⇒ Object
11 12 13 |
# File 'lib/ButtonMenu/StartSeparator.rb', line 11 def inspect "StartSeparator of "+get_ancestor(MenuHolder).inspect end |