Class: GtkApp::Drawer
- Inherits:
-
Gtk::Window
- Object
- Gtk::Window
- GtkApp::Drawer
- Defined in:
- lib/gtk_app/drawer.rb
Instance Attribute Summary collapse
-
#parent ⇒ Object
readonly
Returns the value of attribute parent.
Instance Method Summary collapse
-
#initialize(parent, view) ⇒ Drawer
constructor
, builder_file).
Constructor Details
#initialize(parent, view) ⇒ Drawer
, builder_file)
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/gtk_app/drawer.rb', line 5 def initialize(parent, view)#, builder_file) @parent = parent # super(controller, builder_file) super(Gtk::Window::POPUP) p view.objects add_child(view, view.vboxMain) # TODO: normalize the following setup decorated = false # app_paintable = true resizable = true visible = true setup_signals show_all # TODO: replace with slide out/in methods end |
Instance Attribute Details
#parent ⇒ Object (readonly)
Returns the value of attribute parent.
3 4 5 |
# File 'lib/gtk_app/drawer.rb', line 3 def parent @parent end |