![](gtk-logo.svg)

###  [ Gtk ](index.html)

API Version: 3.0

Library Version: 3.24

#####  Type

[ Container ](class.Container.html#description)

#####  Instance methods

[ add ](method.Container.add.html) [ add_with_properties
](method.Container.add_with_properties.html) [ check_resize
](method.Container.check_resize.html) [ child_get
](method.Container.child_get.html) [ child_get_property
](method.Container.child_get_property.html) [ child_get_valist
](method.Container.child_get_valist.html) [ child_notify
](method.Container.child_notify.html) [ child_notify_by_pspec
](method.Container.child_notify_by_pspec.html) [ child_set
](method.Container.child_set.html) [ child_set_property
](method.Container.child_set_property.html) [ child_set_valist
](method.Container.child_set_valist.html) [ child_type
](method.Container.child_type.html) [ forall ](method.Container.forall.html) [
foreach ](method.Container.foreach.html) [ get_border_width
](method.Container.get_border_width.html) [ get_children
](method.Container.get_children.html) [ get_focus_chain
](method.Container.get_focus_chain.html) [ get_focus_child
](method.Container.get_focus_child.html) [ get_focus_hadjustment
](method.Container.get_focus_hadjustment.html) [ get_focus_vadjustment
](method.Container.get_focus_vadjustment.html) [ get_path_for_child
](method.Container.get_path_for_child.html) [ get_resize_mode
](method.Container.get_resize_mode.html) [ propagate_draw
](method.Container.propagate_draw.html) [ remove
](method.Container.remove.html) [ resize_children
](method.Container.resize_children.html) [ set_border_width
](method.Container.set_border_width.html) [ set_focus_chain
](method.Container.set_focus_chain.html) [ set_focus_child
](method.Container.set_focus_child.html) [ set_focus_hadjustment
](method.Container.set_focus_hadjustment.html) [ set_focus_vadjustment
](method.Container.set_focus_vadjustment.html) [ set_reallocate_redraws
](method.Container.set_reallocate_redraws.html) [ set_resize_mode
](method.Container.set_resize_mode.html) [ unset_focus_chain
](method.Container.unset_focus_chain.html)

#####  Properties

[ border-width ](property.Container.border-width.html) [ child
](property.Container.child.html) [ resize-mode ](property.Container.resize-
mode.html)

#####  Signals

[ add ](signal.Container.add.html) [ check-resize ](signal.Container.check-
resize.html) [ remove ](signal.Container.remove.html) [ set-focus-child
](signal.Container.set-focus-child.html)

#####  Class methods

[ find_child_property ](class_method.Container.find_child_property.html) [
handle_border_width ](class_method.Container.handle_border_width.html) [
install_child_properties
](class_method.Container.install_child_properties.html) [
install_child_property ](class_method.Container.install_child_property.html) [
list_child_properties ](class_method.Container.list_child_properties.html)

#####  Virtual methods

[ add ](vfunc.Container.add.html) [ check_resize
](vfunc.Container.check_resize.html) [ child_type
](vfunc.Container.child_type.html) [ composite_name
](vfunc.Container.composite_name.html) [ forall ](vfunc.Container.forall.html)
[ get_child_property ](vfunc.Container.get_child_property.html) [
get_path_for_child ](vfunc.Container.get_path_for_child.html) [ remove
](vfunc.Container.remove.html) [ set_child_property
](vfunc.Container.set_child_property.html) [ set_focus_child
](vfunc.Container.set_focus_child.html)

Generated by [ gi-docgen ](https://gitlab.gnome.org/GNOME/gi-docgen) 2023.4

###  Class

#  [ Gtk ](index.html) Container

####  Description  [ [src]
](https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/gtkcontainer.c#L68
"go to source location")

    
    
    abstract class Gtk.Container : Gtk.Widget
      implements Atk.ImplementorIface, Gtk.Buildable {
      /* No available fields */
    }

A  GTK  \+ user interface is constructed by nesting widgets inside widgets.
Container widgets are the inner nodes in the resulting tree of widgets: they
contain other