set_direction


Description:

[ Version ( since = "3.6" ) ]
public void set_direction (ArrowType direction)

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).

Parameters:

this

a MenuButton

direction

a ArrowType