Class: EndSeparator

Inherits:
Gtk::Arrow
  • Object
show all
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

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

#inspectObject



11
12
13
# File 'lib/ButtonMenu/EndSeparator.rb', line 11

def inspect
	"EndSeparator of "+get_ancestor(MenuHolder).inspect
end