Gtk.Menu.prototype.get_title

function get_title():String {
    // Gjs wrapper for gtk_menu_get_title()
}

Returns the title of the menu. See Gtk.set_title.

Returns

the title of the menu, or null if the menu has no title set on it. This string is owned by GTK+ and should not be modified or freed.