Enumeration

GtkButtonBoxStyle

Declaration

enum Gtk.ButtonBoxStyle

Description [src]

Used to dictate the style that a GtkButtonBox uses to layout the buttons it contains.

Members

GTK_BUTTONBOX_SPREAD

Buttons are evenly spread across the box.

  • Value: 1
  • Available since: 3.0
GTK_BUTTONBOX_EDGE

Buttons are placed at the edges of the box.

  • Value: 2
  • Available since: 3.0
GTK_BUTTONBOX_START

Buttons are grouped towards the start of the box, (on the left for a HBox, or the top for a VBox).

  • Value: 3
  • Available since: 3.0
GTK_BUTTONBOX_END

Buttons are grouped towards the end of the box, (on the right for a HBox, or the bottom for a VBox).

  • Value: 4
  • Available since: 3.0
GTK_BUTTONBOX_CENTER

Buttons are centered in the box. Since 2.12.

  • Value: 5
  • Available since: 3.0
GTK_BUTTONBOX_EXPAND

Buttons expand to fill the box. This entails giving buttons a “linked” appearance, making button sizes homogeneous, and setting spacing to 0 (same as calling gtk_box_set_homogeneous() and gtk_box_set_spacing() manually). Since 3.12.

  • Value: 6
  • Available since: 3.0