Adw.Bin
Description: Reference for Adw.Bin

### Class

# AdwBin

#### Description [src]

    class Adw.Bin : Gtk.Widget {
      parent_instance: GtkWidget
    }

A widget with one child.

The `AdwBin` widget has only one child, set with the `AdwBin:child` property.

It is useful for deriving subclasses, since it provides common code needed for handling a single child widget.

Available since: | 1.0

#### Hierarchy

#### Ancestors

- GtkWidget
- GInitiallyUnowned
- GObject

#### Implements

- GtkAccessible
- GtkBuildable
- GtkConstraintTarget

#### Constructors

###### adw_bin_new

Creates a new `AdwBin`.

Available since: 1.0

#### Instance methods

###### adw_bin_get_child

Gets the child widget of `self`.

Available since: 1.0

###### adw_bin_set_child

Sets the child widget of `self`.

Available since: 1.0

##### Methods inherited from GtkWidget (159)

##### Methods inherited from GObject (43)

#### Properties

###### Adw.Bin:child

The child widget of the `AdwBin`.

Available since: 1.0

##### Properties inherited from GtkWidget (34)

#### Signals

##### Signals inherited from GtkWidget (13)

##### Signals inherited from GObject (1)

#### Class structure

    struct AdwBinClass {
      GtkWidgetClass parent_class;

    }

###### Class members

`parent_class` |
    GtkWidgetClass
| No description available.