ToggleShown Class Reference

#include <widget.h>

Collaboration diagram for ToggleShown:
Collaboration graph
[legend]

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

GtkWidgetm_widget
ToggleItem m_item

Private Member Functions

 ToggleShown (const ToggleShown &other)
ToggleShownoperator= (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

Detailed Description

Definition at line 86 of file widget.h.


Member Typedef Documentation

typedef MemberCaller1<ToggleShown, const BoolImportCallback&, &ToggleShown::exportActive> ToggleShown::ActiveCaller

Definition at line 128 of file widget.h.

typedef MemberCaller<ToggleShown, &ToggleShown::toggle> ToggleShown::ToggleCaller

Definition at line 141 of file widget.h.


Constructor & Destructor Documentation

ToggleShown::ToggleShown ( const ToggleShown other  )  [private]
ToggleShown::ToggleShown ( bool  shown  )  [inline]

Definition at line 108 of file widget.h.


Member Function Documentation

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]

Definition at line 98 of file widget.h.

Referenced by connect().

void ToggleShown::exportActive ( const BoolImportCallback &  importCallback  )  [inline]

Definition at line 124 of file widget.h.

References active().

static gboolean ToggleShown::notify_visible ( GtkWidget widget,
gpointer  dummy,
ToggleShown self 
) [inline, static, private]

Definition at line 93 of file widget.h.

Referenced by connect().

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().


Field Documentation

Definition at line 106 of file widget.h.

Referenced by update().

Definition at line 88 of file widget.h.

Referenced by active(), connect(), and set().

Definition at line 105 of file widget.h.

Referenced by active(), connect(), set(), and toggle().


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

Generated by  doxygen 1.6.2