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.
| this |
a shortcuts item |
| direction |
the shortcut direction |