Gtk.ToolButton.prototype.get_stock_id

function get_stock_id():String {
    // Gjs wrapper for gtk_tool_button_get_stock_id()
}

Returns the name of the stock item. See Gtk.set_stock_id. The returned string is owned by GTK+ and must not be freed or modifed.

Since 2.4

Returns

the name of the stock item for button.