AdwBin
AdwBin — A widget with one child
|
|
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── AdwBin
Implemented Interfaces
AdwBin implements
GtkAccessible, GtkBuildable and GtkConstraintTarget.
Description
The AdwBin widget has only one child, set with the “child” property.
It is useful for deriving subclasses, since it provides common code needed
for handling a single child widget.
Functions
adw_bin_new ()
GtkWidget *
adw_bin_new (void);
Creates a new AdwBin.
Since: 1.0
adw_bin_get_child ()
GtkWidget *
adw_bin_get_child (AdwBin *self);
Gets the child widget of self
.
Returns
the child widget of self
.
[nullable][transfer none]
Since: 1.0
adw_bin_set_child ()
void
adw_bin_set_child (AdwBin *self,
GtkWidget *child);
Sets the child widget of self
.
Since: 1.0
Types and Values
ADW_TYPE_BIN
#define ADW_TYPE_BIN (adw_bin_get_type())
struct AdwBinClass
struct AdwBinClass {
GtkWidgetClass parent_class;
};
AdwBin
typedef struct _AdwBin AdwBin;
Property Details
The “child” property
“child” GtkWidget *
The child widget of the AdwBin.
Owner: AdwBin
Flags: Read / Write
Since: 1.0