GFC Logo GFC Title Logo
Reference Manual
Main Page  |  Namespace List  |  Alphabetical List  |  Class List  |  File List

GFC::Gtk::Stock Class Reference

A C++ wrapper class for various stock methods. More...

#include <gfc/gtk/stock.hh>

List of all members.

Static Public Member Functions

Methods

Detailed Description

A C++ wrapper class for various stock methods.

Stock is a convenience class that wraps the miscellaneous GTK+ stock functions.


Member Function Documentation

void GFC::Gtk::Stock::add const StockItem item  )  [static]
 

Registers a stock item.

Parameters:
item The stock item to register.

If the item already exists with the same stock ID as one of the items, the old item gets replaced.

std::vector<StockId> GFC::Gtk::Stock::list_ids  )  [static]
 

Retrieves a list of all known stock IDs added to an IconFactory or registered with add().

Returns:
A vector of StockId that holds the list of known stock IDs.

bool GFC::Gtk::Stock::lookup const StockId stock_id,
StockItem item
[static]
 

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

Parameters:
stock_id The stock id for the stock item.
item A stock item to initialize with values.
Returns:
true if item was initialized.


The documentation for this class was generated from the following file:
Generated on Tue Aug 24 00:34:42 2004 for GFC-UI by doxygen 1.3.8