GLXCurses.libs.ChildProperty module¶
-
class
GLXCurses.libs.ChildProperty.
ChildProperty
(expand=None, fill=None, pack_type=None, padding=None, position=None)[source]¶ Bases:
object
-
expand
¶ Whether the child should receive extra space when the parent grows.
Note that the default value for this property is False for Box, but HBox, VBox and other subclasses use the old default of True.
Note: The “hexpand” or “vexpand” properties are the preferred way to influence whether the child receives extra space, by setting the child’s expand property corresponding to the box’s orientation.
In contrast to “hexpand”, the expand child property does not cause the box to expand itself.
Flags: Read / Write Default value: False
Returns:
-
fill
¶ Whether the child should fill extra space or use it as padding.
Note: The “halign” or “valign” properties are the preferred way to influence whether the child fills available space, by setting the child’s align property corresponding to the box’s orientation to GLXC.ALIGN_FILL to fill, or to something else to refrain from filling.
Flags: Read / Write
Default value:
True
Returns: If True
the child fill extra space or use it as paddingReturn type: bool
-
pack_type
¶ Whether the child should fill extra space or use it as padding.
Note: The “halign” or “valign” properties are the preferred way to influence whether the child fills available space, by setting the child’s align property corresponding to the box’s orientation to GLXC.ALIGN_FILL to fill, or to something else to refrain from filling.
Flags: Read / Write
Default value:
True
Returns: If True
the child fill extra space or use it as paddingReturn type: bool
-
padding
¶ Extra space to put between the child and its neighbors, in chars.
Flags: Read / Write
Allowed values: <= G_MAXINT
Default value: 0
Returns: Extra space to put between the child and its neighbors, in chars. Return type: int
-
position
¶ Extra space to put between the child and its neighbors, in chars.
Flags: Read / Write
Allowed values: <= G_MAXINT
Default value: 0
Returns: Extra space to put between the child and its neighbors, in chars. Return type: int
-