| Top |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── PhoshClamp
This should not be confused with HdyClamp, which limits the size allocated
to its child and adds a dynamic margin around it. PhoshClamp instead
constraints the requested natural size, the child will still be allocated all
that the clamp gets.
gint
phosh_clamp_get_natural_size (PhoshClamp *self);
Gets the maximum natural size request.
void phosh_clamp_set_natural_size (PhoshClamp *self,gint natural_size);
Sets the maximum natural size request.