Function

Gtkstock_add

deprecated: 3.10 

Declaration [src]

void
gtk_stock_add (
  const GtkStockItem* items,
  guint n_items
)

Description [src]

Registers each of the stock items in items. If an item already exists with the same stock ID as one of the items, the old item gets replaced. The stock items are copied, so GTK+ does not hold any pointer into items and items can be freed. Use gtk_stock_add_static() if items is persistent and GTK+ need not copy the array.

Deprecated since: 3.10

Please do not use it in newly written code.

Parameters

items

Type: An array of GtkStockItem

A GtkStockItem or array of items.

The length of the array is specified in the n_items argument.
The data is owned by the caller of the function.
n_items

Type: guint

Number of GtkStockItem in items.