NonModalSpinner Class Reference

#include <nonmodal.h>

Public Member Functions

 NonModalSpinner (const Callback &apply, const Callback &cancel)
void connect (GtkSpinButton *spin)

Static Private Member Functions

static gboolean changed (GtkSpinButton *spin, NonModalSpinner *self)
static gboolean enter (GtkSpinButton *spin, GdkEventKey *event, NonModalSpinner *self)
static gboolean escape (GtkSpinButton *spin, GdkEventKey *event, NonModalSpinner *self)

Private Attributes

Callback m_apply
Callback m_cancel

Detailed Description

Definition at line 113 of file nonmodal.h.


Constructor & Destructor Documentation

NonModalSpinner::NonModalSpinner ( const Callback &  apply,
const Callback &  cancel 
) [inline]

Definition at line 144 of file nonmodal.h.


Member Function Documentation

static gboolean NonModalSpinner::changed ( GtkSpinButton spin,
NonModalSpinner self 
) [inline, static, private]

Definition at line 118 of file nonmodal.h.

Referenced by connect().

void NonModalSpinner::connect ( GtkSpinButton spin  )  [inline]

Definition at line 148 of file nonmodal.h.

References changed(), enter(), and escape().

static gboolean NonModalSpinner::enter ( GtkSpinButton spin,
GdkEventKey *  event,
NonModalSpinner self 
) [inline, static, private]

Definition at line 124 of file nonmodal.h.

Referenced by connect().

static gboolean NonModalSpinner::escape ( GtkSpinButton spin,
GdkEventKey *  event,
NonModalSpinner self 
) [inline, static, private]

Definition at line 133 of file nonmodal.h.

Referenced by connect().


Field Documentation

Callback NonModalSpinner::m_apply [private]

Definition at line 115 of file nonmodal.h.

Callback NonModalSpinner::m_cancel [private]

Definition at line 116 of file nonmodal.h.


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

Generated by  doxygen 1.6.2