class Gtk::Container
Public Class Methods
child_properties()
click to toggle source
# File lib/gtk3/container.rb, line 21 def child_properties child_properties_raw[0] end
Also aliased as: child_properties_raw
Public Instance Methods
<<(widget)
click to toggle source
# File lib/gtk3/container.rb, line 41 def <<(widget) add(widget) self end
add(child, properties={})
click to toggle source
# File lib/gtk3/container.rb, line 29 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 57 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 47 def focus_chain set_explicitly, widgets = focus_chain_raw if set_explicitly widgets else nil end end
Also aliased as: focus_chain_raw