Gtk.LayoutChild¶
- Subclasses:
Gtk.ConstraintLayoutChild,Gtk.FixedLayoutChild,Gtk.GridLayoutChild,Gtk.OverlayLayoutChild
Methods¶
- Inherited:
- Structs:
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/co |
|||
r/w/co |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Gtk.LayoutChild(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
The base class for objects that are meant to hold layout properties.
If a
GtkLayoutManagerhas per-child properties, like their packing type, or the horizontal and vertical span, or the icon name, then the layout manager should use aGtkLayoutChildimplementation to store those properties.A
GtkLayoutChildinstance is only ever valid while a widget is part of a layout.- get_child_widget()[source]¶
- Returns:
a
GtkWidget- Return type:
Retrieves the
GtkWidgetassociated to the given self.
Property Details¶
- Gtk.LayoutChild.props.child_widget¶
- Name:
child-widget- Type:
- Default Value:
- Flags:
The widget that is associated to the
GtkLayoutChildinstance.
- Gtk.LayoutChild.props.layout_manager¶
- Name:
layout-manager- Type:
- Default Value:
- Flags:
The layout manager that created the
GtkLayoutChildinstance.