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

§ xpmdata_t

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

Member Enumeration Documentation

§ Type

Enumerator
NONE 
STOCK 
DATA 
FILENAME 

Constructor & Destructor Documentation

§ Icon() [1/2]

Gnome::UI::Items::Icon::Icon ( const Gtk::StockID &  stock_id)
explicit

§ Icon() [2/2]

Gnome::UI::Items::Icon::Icon ( Type  type = NONE)

§ ~Icon()

Gnome::UI::Items::Icon::~Icon ( )

Member Function Documentation

§ get_pixmap_info()

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

§ get_type()

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

Member Data Documentation

§ filename_

std::string Gnome::UI::Items::Icon::filename_
protected

§ pixmap_type_

Type Gnome::UI::Items::Icon::pixmap_type_
protected

§ stock_id_

Glib::ustring Gnome::UI::Items::Icon::stock_id_
protected

§ xpm_data_

gconstpointer Gnome::UI::Items::Icon::xpm_data_
protected

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