Constructor
GtkMenuToolButtonnew_from_stock
deprecated: 3.10 since: 2.6
Declaration [src]
GtkToolItem*
gtk_menu_tool_button_new_from_stock (
const gchar* stock_id
)
Description [src]
Creates a new GtkMenuToolButton
.
The new GtkMenuToolButton
will contain an icon and label from
the stock item indicated by stock_id
.
Available since: 2.6
Deprecated since: 3.10
Use gtk_menu_tool_button_new()
instead.
Parameters
stock_id
-
Type:
const gchar*
The name of a stock item.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: GtkToolItem
The new GtkMenuToolButton
.
The data is owned by the called function. |