Method

GtkMenuButtonset_direction

since: 3.6

Declaration [src]

void
gtk_menu_button_set_direction (
  GtkMenuButton* menu_button,
  GtkArrowType direction
)

Description [src]

Sets the direction in which the popup will be popped up, as well as changing the arrow’s direction. The child will not be changed to an arrow if it was customized.

If the does not fit in the available space in the given direction, GTK+ will its best to keep it inside the screen and fully visible.

If you pass GTK_ARROW_NONE for a direction, the popup will behave as if you passed GTK_ARROW_DOWN (although you won’t see any arrows).

Available since: 3.6

Parameters

direction

Type: GtkArrowType

A GtkArrowType.