Bin


Object Hierarchy:

Adw.Bin Adw.Bin Adw.Bin Gtk.Widget Gtk.Widget Gtk.Widget->Adw.Bin GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Adw.Bin Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Adw.Bin Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Adw.Bin Gtk.ConstraintTarget->Gtk.Widget

Description:

[ CCode ( type_id = "adw_bin_get_type ()" ) ]
[ Version ( since = "1.0" ) ]
public class Bin : Widget, Accessible, Buildable, ConstraintTarget

A widget with one child.

<picture> <source srcset="bin-dark.png" media="(prefers-color-scheme: dark)"> <img src="bin.png" alt="bin"> < /picture>

The `AdwBin` widget has only one child, set with the [property@Bin:child] property.

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


Namespace: Adw
Package: libadwaita-1

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Accessible
All known members inherited from interface Gtk.Buildable



2022 vala-language.org