Method: Context::Gtk::Widget#initialize

Defined in:
lib/Context/Gtk/Widget.rb

#initialize(delegate) ⇒ Widget

Returns a new instance of Widget.



18
19
20
21
22
23
24
# File 'lib/Context/Gtk/Widget.rb', line 18

def initialize(delegate)
    super(delegate)
    @mainWindow = nil
    # Packing hints for the container
    @expandHeight = false
    @expandWidth = false
end