class Gtk::Container
Public Instance Methods
add(child, properties={})
click to toggle source
# File lib/gtk3/container.rb, line 20 def add(child, properties={}) child.freeze_child_notify begin add_raw(child) properties.each do |key, value| child_set_property(child, key, value) end self ensure child.thaw_child_notify end end
add_child(*args)
click to toggle source
Calls superclass method
# File lib/gtk3/container.rb, line 34 def add_child(*args) if args.size == 1 add(*args) else super end end
child_get_property(child, name)
click to toggle source
# File lib/gtk3/container.rb, line 55 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 45 def focus_chain set_explicitly, widgets = focus_chain_raw if set_explicitly widgets else nil end end
Also aliased as: focus_chain_raw