1.10 <AdwBin>

Class: <AdwBin>

It derives from <GtkWidget>.

A widget with one child.

The <AdwBin> widget has only one child, set with the Bin:child property.

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

Fields

parent-instance

Properties

Property: bin:child self

The child widget of the <AdwBin>.

Its value is a <GtkWidget>, or #f.

Set it with (set! (bin:child self) value).

Procedures

Method: bin:get-child self ⇒ %return
Method: get-child self ⇒ %return

Gets the child widget of self.

self

Passed: a <AdwBin>.

a bin

%return

Returned: a <GtkWidget>, or #f.

the child widget of self

Procedure: bin:new ⇒ %return

Creates a new <AdwBin>.

%return

Returned: a <GtkWidget>.

the new created <AdwBin>

Method: bin:set-child self [child]
Method: set-child self [child]

Sets the child widget of self.

self

Passed: a <AdwBin>.

a bin

child

Passed, or left out: a <GtkWidget>, or #f.

the child widget