gtkutil::TextMenuItemAccelerator Class Reference

#include <MenuItemAccelerator.h>

Public Member Functions

 TextMenuItemAccelerator (const std::string &label, const std::string &accelLabel, GdkPixbuf *icon, bool isToggle)
virtual ~TextMenuItemAccelerator ()
virtual operator GtkWidget * ()
void setLabel (const std::string &newLabel)
void setAccelerator (const std::string &newAccel)
void setIcon (GdkPixbuf *icon)
void setIsToggle (bool isToggle)

Private Attributes

std::string _labelText
GtkWidget_label
std::string _accelLabelText
GtkWidget_accel
GdkPixbuf_icon
GtkWidget_iconImage
bool _isToggle

Detailed Description

Definition at line 12 of file MenuItemAccelerator.h.


Constructor & Destructor Documentation

gtkutil::TextMenuItemAccelerator::TextMenuItemAccelerator ( const std::string label,
const std::string accelLabel,
GdkPixbuf icon,
bool  isToggle 
)

Construct a menu item with the given label, accelerator and icon. The icon may be the empty string if no icon is required.

virtual gtkutil::TextMenuItemAccelerator::~TextMenuItemAccelerator (  )  [inline, virtual]

Definition at line 42 of file MenuItemAccelerator.h.


Member Function Documentation

virtual gtkutil::TextMenuItemAccelerator::operator GtkWidget * (  )  [virtual]
void gtkutil::TextMenuItemAccelerator::setAccelerator ( const std::string newAccel  ) 
void gtkutil::TextMenuItemAccelerator::setIcon ( GdkPixbuf icon  ) 
void gtkutil::TextMenuItemAccelerator::setIsToggle ( bool  isToggle  ) 
void gtkutil::TextMenuItemAccelerator::setLabel ( const std::string newLabel  ) 

Field Documentation

Definition at line 22 of file MenuItemAccelerator.h.

Definition at line 20 of file MenuItemAccelerator.h.

Definition at line 25 of file MenuItemAccelerator.h.

Definition at line 27 of file MenuItemAccelerator.h.

Definition at line 30 of file MenuItemAccelerator.h.

Definition at line 17 of file MenuItemAccelerator.h.

Definition at line 15 of file MenuItemAccelerator.h.


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

Generated by  doxygen 1.6.2