class Gtk::Container - gtk3-3.1.1 Documentation

# class Gtk::Container

### Public Instance Methods

<<(child, properties={})
Alias for: add
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

Also aliased as: add_raw, <<
add_raw(child, properties={})
Alias for: add
child_get_property(child, name) click to toggle source

    # File lib/gtk3/container.rb, line 45
    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
child_get_property_raw(child, name)
Alias for: child_get_property
focus_chain() click to toggle source

    # File lib/gtk3/container.rb, line 35
    def focus_chain
      set_explicitly, widgets = focus_chain_raw
      if set_explicitly
        widgets
      else
        nil
      end
    end

Also aliased as: focus_chain_raw
focus_chain_raw()
Alias for: focus_chain