libgnomeuimm  2.28.0
Public Types | Public Member Functions | Protected Types | Protected Attributes | List of all members
Gnome::UI::Items::Icon Class Reference

Icons represent a standard Pixmap with various states. More...

#include <ui-items-icon.h>

Inheritance diagram for Gnome::UI::Items::Icon:
Gnome::UI::Items::IconFile Gnome::UI::Items::IconXpm

Public Types

enum  Type { NONE = GNOME_APP_PIXMAP_NONE, STOCK = GNOME_APP_PIXMAP_STOCK, DATA = GNOME_APP_PIXMAP_DATA, FILENAME = GNOME_APP_PIXMAP_FILENAME }
 

Public Member Functions

 Icon (const Gtk::StockID &stock_id)
 
 Icon (Type type=NONE)
 
 ~Icon ()
 
Type get_type () const
 
gconstpointer get_pixmap_info () const
 

Protected Types

typedef const char *const *const xpmdata_t
 

Protected Attributes

Type pixmap_type_
 
gconstpointer xpm_data_
 
Glib::ustring stock_id_
 
std::string filename_
 

Detailed Description

Icons represent a standard Pixmap with various states.

Member Typedef Documentation

typedef const char* const* const Gnome::UI::Items::Icon::xpmdata_t
protected

Member Enumeration Documentation

Enumerator
NONE 
STOCK 
DATA 
FILENAME 

Constructor & Destructor Documentation

Gnome::UI::Items::Icon::Icon ( const Gtk::StockID &  stock_id)
explicit
Gnome::UI::Items::Icon::Icon ( Type  type = NONE)
Gnome::UI::Items::Icon::~Icon ( )

Member Function Documentation

gconstpointer Gnome::UI::Items::Icon::get_pixmap_info ( ) const
Type Gnome::UI::Items::Icon::get_type ( ) const

Member Data Documentation

std::string Gnome::UI::Items::Icon::filename_
protected
Type Gnome::UI::Items::Icon::pixmap_type_
protected
Glib::ustring Gnome::UI::Items::Icon::stock_id_
protected
gconstpointer Gnome::UI::Items::Icon::xpm_data_
protected

The documentation for this class was generated from the following file: