Method

GtkButtonset_can_shrink

Declaration [src]

void
gtk_button_set_can_shrink (
  GtkButton* button,
  gboolean can_shrink
)

Description [src]

Sets whether the button size can be smaller than the natural size of its contents.

For text buttons, setting can_shrink to true will ellipsize the label.

For icons and custom children, this function has no effect.

Available since:4.12

Parameters

can_shrink gboolean
 

Whether the button can shrink.