Gtk.StyleContext.prototype.set_direction
function set_direction(direction:Gtk.TextDirection):void { // Gjs wrapper for gtk_style_context_set_direction() }
Sets the reading direction for rendering purposes.
If you are using a Gtk.StyleContext returned from Gtk.get_style_context, you do not need to call this yourself.
Since 3.0
- direction
the new direction.