1.106 <GtkLayoutChild>

Class: <GtkLayoutChild>

It derives from <GObject>.

The base class for objects that are meant to hold layout properties.

If a <GtkLayoutManager> has per-child properties, like their packing type, or the horizontal and vertical span, or the icon name, then the layout manager should use a <GtkLayoutChild> implementation to store those properties.

A <GtkLayoutChild> instance is only ever valid while a widget is part of a layout.

Fields

parent-instance

Properties

Property: layout-child:child-widget self

The widget that is associated to the <GtkLayoutChild> instance.

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

It can only be set when the object is made, with #:child-widget.

Property: layout-child:layout-manager self

The layout manager that created the <GtkLayoutChild> instance.

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

It can only be set when the object is made, with #:layout-manager.

Procedures

Method: layout-child:get-child-widget self ⇒ %return
Method: get-child-widget self ⇒ %return

Retrieves the <GtkWidget> associated to the given self.

self

Passed: a <GtkLayoutChild>.

a <GtkLayoutChild>

%return

Returned: a <GtkWidget>.

a <GtkWidget>

Method: layout-child:get-layout-manager self ⇒ %return
Method: get-layout-manager self ⇒ %return

Retrieves the <GtkLayoutManager> instance that created the given self.

self

Passed: a <GtkLayoutChild>.

a <GtkLayoutChild>

%return

Returned: a <GtkLayoutManager>.

a <GtkLayoutManager>