class Gtk::Container
Public Instance Methods
<<(widget)
click to toggle source
# File lib/gtk3/container.rb, line 34 def <<(widget) add(widget) self end
add(child, properties={})
click to toggle source
# File lib/gtk3/container.rb, line 22 def add(child, properties={}) child.freeze_child_notify begin add_raw(child) properties.each do |key, value| child_set_property(child, key, value) end ensure child.thaw_child_notify end end
Also aliased as: add_raw
child_get_property(child, name)
click to toggle source
# File lib/gtk3/container.rb, line 50 def child_get_property(child, name) property = self.class.find_child_property(name) value = GLib::Value.new(property.value_type) child_get_property_raw(child, name, value) value.value end
Also aliased as: child_get_property_raw
focus_chain()
click to toggle source
# File lib/gtk3/container.rb, line 40 def focus_chain set_explicitly, widgets = focus_chain_raw if set_explicitly widgets else nil end end
Also aliased as: focus_chain_raw