Function

Gtkstock_lookup

deprecated: 3.10 

Declaration [src]

gboolean
gtk_stock_lookup (
  const gchar* stock_id,
  GtkStockItem* item
)

Description [src]

Fills item with the registered values for stock_id, returning TRUE if stock_id was known.

Deprecated since: 3.10

Please do not use it in newly written code.

Parameters

stock_id

Type: const gchar*

A stock item name.

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

Type: GtkStockItem

Stock item to initialize with values.

The argument will be set by the function.
The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE if item was initialized.