gtkutil::IconTextButton Class Reference

#include <IconTextButton.h>

Public Member Functions

 IconTextButton (const std::string &name, GdkPixbuf *icon, bool isToggle)
 operator GtkWidget * ()

Private Attributes

GdkPixbuf_icon
GtkWidget_label
bool _isToggle

Detailed Description

Button with an icon above and a title underneath.

Definition at line 15 of file IconTextButton.h.


Constructor & Destructor Documentation

gtkutil::IconTextButton::IconTextButton ( const std::string name,
GdkPixbuf icon,
bool  isToggle 
) [inline]

Construct an IconTextButton with the given label text and local icon path.

Parameters:
name The text to display under the icon.
icon Name of local icon file.
isToggle true if the button should be a toggle button, false for a normal button.

Definition at line 33 of file IconTextButton.h.

References _label.


Member Function Documentation

gtkutil::IconTextButton::operator GtkWidget * (  )  [inline]

Operator cast to GtkWidget* packs the widgets and returns a button with the contents.

Definition at line 44 of file IconTextButton.h.

References _icon, _isToggle, and _label.


Field Documentation

Definition at line 18 of file IconTextButton.h.

Referenced by operator GtkWidget *().

Definition at line 24 of file IconTextButton.h.

Referenced by operator GtkWidget *().

Definition at line 21 of file IconTextButton.h.

Referenced by IconTextButton(), and operator GtkWidget *().


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

Generated by  doxygen 1.6.2