Method

GtkActionset_stock_id

deprecated: 3.10 since: 2.16

Declaration [src]

void
gtk_action_set_stock_id (
  GtkAction* action,
  const gchar* stock_id
)

Description [src]

Sets the stock id on action.

Available since: 2.16

Deprecated since: 3.10

Use GAction instead, which has no equivalent of stock items.

Sets propertyGtk.Action:stock-id

Parameters

stock_id

Type: const gchar*

The stock id.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.