See also Gtk::BuiltinStockID. More...
List of all members.
Detailed Description
Member Typedef Documentation
This typedef is just to make it more obvious that our operator const void* should be used like operator bool(). 
 
 
Constructor & Destructor Documentation
      
        
          | Gtk::StockID::StockID | ( |  | ) |  | 
      
 
 
Create a StockID from one of the build-in stock ids. 
See also Gtk::BuildinStockID. 
 
 
Create a StockID from its string representation. 
- Parameters:
- 
  
    | id | string representation of the stock id. Usually something like "gtk-about". |  
 
 
 
      
        
          | Gtk::StockID::StockID | ( | const char * | id | ) |  [explicit] | 
      
 
Create a StockID from its string representation. 
- Parameters:
- 
  
    | id | string representation of the stock id. Usually something like "gtk-about". |  
 
If id is 0 an empty StockID will be created. 
 
 
      
        
          | Gtk::StockID::~StockID | ( |  | ) |  | 
      
 
 
      
        
          | Gtk::StockID::StockID | ( | const StockID& | other | ) |  | 
      
 
Create a StockID as copy from another. 
- Parameters:
- 
  
  
 
 
Member Function Documentation
      
        
          | bool Gtk::StockID::equal | ( | const StockID& | rhs | ) | const | 
      
 
Check if two StockIDs are equal. 
- Parameters:
- 
  
  
- Returns:
- trueif both ids equal -- falseotherwise.
 
 
      
        
          | const char* Gtk::StockID::get_c_str | ( |  | ) | const | 
      
 
Get the string representation as a const gchar*. 
- Returns:
- string representation as const gchar*. 
 
 
Get the string representation of the StockID. 
- Returns:
- something like "gtk-about". 
 
 
      
        
          | Gtk::StockID::operator BoolExpr | ( |  | ) | const | 
      
 
Tests whether the StockID is not empty. 
For instance, 
 if(stockid)
   do_something()
 
 
Check if the StockIDs are equal. 
- Parameters:
- 
  
  
 
 
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file: