AdwBin

AdwBin

Functions

GtkWidget * adw_bin_new ()
GtkWidget * adw_bin_get_child ()
void adw_bin_set_child ()

Properties

GtkWidget * child Read / Write

Types and Values

#define ADW_TYPE_BIN
struct AdwBinClass
  AdwBin

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── AdwBin

Implemented Interfaces

AdwBin implements GtkAccessible, GtkBuildable and GtkConstraintTarget.

Description

Functions

adw_bin_new ()

GtkWidget *
adw_bin_new (void);

Creates a new AdwBin.

Returns

a new AdwBin

Since: 1.0


adw_bin_get_child ()

GtkWidget *
adw_bin_get_child (AdwBin *self);

Gets the child widget of self .

Parameters

self

an AdwBin

 

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 .

Parameters

self

an AdwBin

 

child

the child widget.

[nullable]

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