Sets our main struct and passes it to the parent class.
A destructor is present on this object, but not explicitly documented in the source.
Copies a stock item, mostly useful for language bindings and not in applications.
Frees a stock item allocated on the heap, such as one returned by StockItem.copy. Also frees the fields inside the stock item, if they are not NULL.
Get the main Gtk struct
the main Gtk struct as a void*
Keyboard accelerator
User visible label.
Modifier type for keyboard accelerator
Identifier.
Translation domain of the menu or toolbar item
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.
Same as gtk_stock_add(), but doesn’t copy items, so items must persist until application exit.
Retrieves a list of all known stock IDs added to a gtk.IconFactory or registered with gtk_stock_add(). The list must be freed with g_slist_free(), and each string in the list must be freed with g_free().
Fills item with the registered values for stock_id, returning TRUE if stock_id was known.
Sets a function to be used for translating the label of a stock item.
the main Gtk struct