Top |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── HdyColumn
The HdyColumn widget limits the size of the widget it contains to a given maximum width. The expansion of the child from its minimum to its maximum size is eased out for a smooth transition.
If the child requires more than the requested maximum width, it will be allocated the minimum width it can fit in instead.
HdyColumn has a single CSS node with name column. The node will get the style classes .wide when its child reached its maximum width, .narrow when the column allocates its full width to its child, .medium in-between, or none if it didn't compute its size yet.
gint
hdy_column_get_maximum_width (HdyColumn *self
);
Gets the maximum width to allocate to the contained child.
void hdy_column_set_maximum_width (HdyColumn *self
,gint maximum_width
);
Sets the maximum width to allocate to the contained child.
gint
hdy_column_get_linear_growth_width (HdyColumn *self
);
Gets the width up to which the child will be allocated all the available width and starting from which it will be allocated a portion of the available width. In bith cases the allocated width won't exceed the declared maximum.
void hdy_column_set_linear_growth_width (HdyColumn *self
,gint linear_growth_width
);
Sets the width up to which the child will be allocated all the available width and starting from which it will be allocated a portion of the available width. In bith cases the allocated width won't exceed the declared maximum.
“linear-growth-width”
property“linear-growth-width” gint
The width up to which the child will be allocated all the width.
Owner: HdyColumn
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“maximum-width”
property“maximum-width” gint
The maximum width allocated to the child.
Owner: HdyColumn
Flags: Read / Write
Allowed values: >= 0
Default value: 0