Gtk.Action.prototype.get_name

function get_name():String {
    // Gjs wrapper for gtk_action_get_name()
}

Returns the name of the action.

Since 2.4

Returns

the name of the action. The string belongs to GTK+ and should not be freed.