Gio.MenuItem.prototype.get_link

function get_link(link: String): Gio.MenuModel {
    // Gjs wrapper for g_menu_item_get_link()
}
  

Queries the named link on menu_item.

Since 2.34

link

the link name to query

Returns

the link, or null