set_direction


Description:

public void set_direction (TextDirection direction)

Sets the direction of this.

If set to [enum@Gtk.TextDirection.ltr] or [enum@Gtk.TextDirection.rtl], the shortcut will only be displayed for this direction.

Parameters:

this

a shortcuts item

direction

the shortcut direction