Function

Gtkstock_lookup

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.

Parameters

stock_id const gchar*
 

A stock item name.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
item 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

Returns: gboolean
 

TRUE if item was initialized.