SplitButton.direction

Get direction property.

  1. gtk.types.ArrowType direction [@property getter]
    class SplitButton
    @property
    direction
    ()
  2. gtk.types.ArrowType direction [@property setter]

Return Value

Type: gtk.types.ArrowType

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.