void Gtk::Stock::add | ( | const Gtk::StockItem& | item | ) |
Add a stock item to the list of registered stock items.
item | StockItem to register. |
If an item already exists with the same stock ID the old item gets replaced.
Glib::SListHandle<Gtk::StockID,Gtk::StockID_Traits> Gtk::Stock::get_ids | ( | ) |
Retrieves a list of all known stock IDs added to an IconFactory or registered with Stock::add().
bool Gtk::Stock::lookup | ( | const Gtk::StockID& | stock_id, | |
Gtk::IconSize | size, | |||
Gtk::Image& | image | |||
) |
bool Gtk::Stock::lookup | ( | const Gtk::StockID& | stock_id, | |
Gtk::IconSet& | iconset | |||
) |
See IconSet::lookup_default().
stock_id | StockID to search for. | |
iconset | to fill. |
true
if the item was found - false
otherwise. bool Gtk::Stock::lookup | ( | const Gtk::StockID& | stock_id, | |
Gtk::StockItem& | item | |||
) |
Fills item with the registered values for stock_id.
stock_id | StockID to search for. | |
item | item to fill in case stockid was found. |
true
if the item was found - false
otherwise. left-to-right languages:
right-to-left languages:
left-to-right languages:
right-to-left languages:
left-to-right languages:
right-to-left languages:
left-to-right languages:
right-to-left languages:
left-to-right languages:
right-to-left languages:
left-to-right languages:
right-to-left languages:
left-to-right languages:
right-to-left languages:
left-to-right languages:
right-to-left languages:
left-to-right languages:
right-to-left languages:
left-to-right languages:
right-to-left languages:
left-to-right languages:
right-to-left languages:
left-to-right languages:
right-to-left languages:
left-to-right languages:
right-to-left languages:
left-to-right languages:
right-to-left languages:
left-to-right languages:
right-to-left languages:
left-to-right languages:
right-to-left languages: