Gtk.MenuButton.prototype.get_direction

function get_direction():Gtk.ArrowType {
    // Gjs wrapper for gtk_menu_button_get_direction()
}

Returns the direction the menu will be pointing at when popped up.

Since 3.6

Returns

a Gtk.ArrowType value.