SplitButton.setDirection

Sets the direction in which the popup will be popped up.

The dropdown arrow icon will point at the same direction.

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

If you pass gtk.types.ArrowType.None, it's equivalent to gtk.types.ArrowType.Down.

class SplitButton
void
setDirection

Parameters

direction gtk.types.ArrowType

the direction