Class: Gtk::Container
- Inherits:
-
Object
- Object
- Gtk::Container
- Extended by:
- GLib::Deprecatable
- Includes:
- Enumerable
- Defined in:
- lib/gtk3/container.rb,
lib/gtk3/deprecated.rb
Class Method Summary collapse
Instance Method Summary collapse
- #<<(widget) ⇒ Object
- #child_get_property(child, name) ⇒ Object
- #child_get_property_raw ⇒ Object
- #focus_chain ⇒ Object
- #focus_chain_raw ⇒ Object
Class Method Details
.child_properties ⇒ Object
21 22 23 |
# File 'lib/gtk3/container.rb', line 21 def child_properties child_properties_raw[0] end |
.child_properties_raw ⇒ Object
20 |
# File 'lib/gtk3/container.rb', line 20 alias_method :child_properties_raw, :child_properties |
Instance Method Details
#<<(widget) ⇒ Object
28 29 30 31 |
# File 'lib/gtk3/container.rb', line 28 def <<() add() self end |
#child_get_property(child, name) ⇒ Object
44 45 46 47 48 49 |
# File 'lib/gtk3/container.rb', line 44 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 |
#child_get_property_raw ⇒ Object
43 |
# File 'lib/gtk3/container.rb', line 43 alias_method :child_get_property_raw, :child_get_property |
#focus_chain ⇒ Object
34 35 36 37 38 39 40 41 |
# File 'lib/gtk3/container.rb', line 34 def focus_chain set_explicitly, = focus_chain_raw if set_explicitly else nil end end |
#focus_chain_raw ⇒ Object
33 |
# File 'lib/gtk3/container.rb', line 33 alias_method :focus_chain_raw, :focus_chain |