#include <widget.h>
Public Types | |
typedef MemberCaller1 < ToggleShown, const BoolImportCallback &,&ToggleShown::exportActive > | ActiveCaller |
typedef MemberCaller < ToggleShown,&ToggleShown::toggle > | ToggleCaller |
Public Member Functions | |
ToggleShown (bool shown) | |
void | update () |
bool | active () const |
void | exportActive (const BoolImportCallback &importCallback) |
void | set (bool shown) |
void | toggle () |
void | connect (GtkWidget *widget) |
Data Fields | |
GtkWidget * | m_widget |
ToggleItem | m_item |
Private Member Functions | |
ToggleShown (const ToggleShown &other) | |
ToggleShown & | operator= (const ToggleShown &other) |
Static Private Member Functions | |
static gboolean | notify_visible (GtkWidget *widget, gpointer dummy, ToggleShown *self) |
static gboolean | destroy (GtkWidget *widget, ToggleShown *self) |
Private Attributes | |
bool | m_shownDeferred |
Definition at line 86 of file widget.h.
typedef MemberCaller1<ToggleShown, const BoolImportCallback&, &ToggleShown::exportActive> ToggleShown::ActiveCaller |
typedef MemberCaller<ToggleShown, &ToggleShown::toggle> ToggleShown::ToggleCaller |
ToggleShown::ToggleShown | ( | const ToggleShown & | other | ) | [private] |
bool ToggleShown::active | ( | ) | const [inline] |
Definition at line 116 of file widget.h.
References m_shownDeferred, and m_widget.
Referenced by exportActive().
void ToggleShown::connect | ( | GtkWidget * | widget | ) | [inline] |
Definition at line 142 of file widget.h.
References destroy(), m_shownDeferred, m_widget, notify_visible(), update(), and widget_set_visible().
static gboolean ToggleShown::destroy | ( | GtkWidget * | widget, | |
ToggleShown * | self | |||
) | [inline, static, private] |
void ToggleShown::exportActive | ( | const BoolImportCallback & | importCallback | ) | [inline] |
static gboolean ToggleShown::notify_visible | ( | GtkWidget * | widget, | |
gpointer | dummy, | |||
ToggleShown * | self | |||
) | [inline, static, private] |
ToggleShown& ToggleShown::operator= | ( | const ToggleShown & | other | ) | [private] |
void ToggleShown::set | ( | bool | shown | ) | [inline] |
Definition at line 129 of file widget.h.
References m_shownDeferred, m_widget, and widget_set_visible().
void ToggleShown::toggle | ( | ) | [inline] |
Definition at line 137 of file widget.h.
References m_widget, and widget_toggle_visible().
void ToggleShown::update | ( | ) | [inline] |
Definition at line 112 of file widget.h.
References m_item, and ToggleItem::update().
Referenced by connect().
bool ToggleShown::m_shownDeferred [private] |