#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 |
Button with an icon above and a title underneath.
Definition at line 15 of file IconTextButton.h.
gtkutil::IconTextButton::IconTextButton | ( | const std::string & | name, | |
GdkPixbuf * | icon, | |||
bool | isToggle | |||
) | [inline] |
Construct an IconTextButton with the given label text and local icon path.
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.
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.
GdkPixbuf* gtkutil::IconTextButton::_icon [private] |
Definition at line 18 of file IconTextButton.h.
Referenced by operator GtkWidget *().
bool gtkutil::IconTextButton::_isToggle [private] |
Definition at line 24 of file IconTextButton.h.
Referenced by operator GtkWidget *().
GtkWidget* gtkutil::IconTextButton::_label [private] |
Definition at line 21 of file IconTextButton.h.
Referenced by IconTextButton(), and operator GtkWidget *().