Class: StartSeparator

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

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

#inspectObject



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

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