Gtk.ToolItem.prototype.get_text_orientation

function get_text_orientation():Gtk.Orientation {
    // Gjs wrapper for gtk_tool_item_get_text_orientation()
}

Returns the text orientation used for tool_item. Custom subclasses of Gtk.ToolItem should call this function to find out how text should be orientated.

Since 2.20

Returns

a Gtk.Orientation indicating the text orientation used for tool_item