Class: EndSeparator
- Inherits:
-
Gtk::Arrow
- Object
- Gtk::Arrow
- EndSeparator
- Defined in:
- lib/ButtonMenu/EndSeparator.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) ⇒ EndSeparator
constructor
A new instance of EndSeparator.
- #inspect ⇒ Object
Constructor Details
#initialize(pack_dir) ⇒ EndSeparator
Returns a new instance of EndSeparator.
6 7 8 9 10 |
# File 'lib/ButtonMenu/EndSeparator.rb', line 6 def initialize(pack_dir) super(if pack_dir == "vertical" then Gtk::Arrow::UP;else Gtk::Arrow::LEFT;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/EndSeparator.rb', line 11 def inspect "EndSeparator of "+get_ancestor(MenuHolder).inspect end |