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:
GtkLayoutChild
is 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 aGtkLayoutChild
implementation to store those properties.A
GtkLayoutChild
instance is only ever valid while a widget is part of a layout.- get_child_widget()[source]¶
- Returns:
a
GtkWidget
- Return type:
Retrieves the
GtkWidget
associated 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
GtkLayoutChild
instance.
- Gtk.LayoutChild.props.layout_manager¶
- Name:
layout-manager
- Type:
- Default Value:
- Flags:
The layout manager that created the
GtkLayoutChild
instance.