NonModalEntry Class Reference

#include <nonmodal.h>

Public Member Functions

 NonModalEntry (const Callback &apply, const Callback &cancel)
void connect (GtkEntry *entry)

Static Private Member Functions

static gboolean focus_in (GtkEntry *entry, GdkEventFocus *event, NonModalEntry *self)
static gboolean focus_out (GtkEntry *entry, GdkEventFocus *event, NonModalEntry *self)
static gboolean changed (GtkEntry *entry, NonModalEntry *self)
static gboolean enter (GtkEntry *entry, GdkEventKey *event, NonModalEntry *self)
static gboolean escape (GtkEntry *entry, GdkEventKey *event, NonModalEntry *self)

Private Attributes

bool m_editing
Callback m_apply
Callback m_cancel

Detailed Description

Definition at line 49 of file nonmodal.h.


Constructor & Destructor Documentation

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

Definition at line 99 of file nonmodal.h.


Member Function Documentation

static gboolean NonModalEntry::changed ( GtkEntry entry,
NonModalEntry self 
) [inline, static, private]

Definition at line 70 of file nonmodal.h.

Referenced by connect().

void NonModalEntry::connect ( GtkEntry entry  )  [inline]
static gboolean NonModalEntry::enter ( GtkEntry entry,
GdkEventKey *  event,
NonModalEntry self 
) [inline, static, private]

Definition at line 76 of file nonmodal.h.

Referenced by connect().

static gboolean NonModalEntry::escape ( GtkEntry entry,
GdkEventKey *  event,
NonModalEntry self 
) [inline, static, private]

Definition at line 87 of file nonmodal.h.

Referenced by connect().

static gboolean NonModalEntry::focus_in ( GtkEntry entry,
GdkEventFocus *  event,
NonModalEntry self 
) [inline, static, private]

Definition at line 55 of file nonmodal.h.

Referenced by connect().

static gboolean NonModalEntry::focus_out ( GtkEntry entry,
GdkEventFocus *  event,
NonModalEntry self 
) [inline, static, private]

Definition at line 61 of file nonmodal.h.

Referenced by connect().


Field Documentation

Callback NonModalEntry::m_apply [private]

Definition at line 52 of file nonmodal.h.

Callback NonModalEntry::m_cancel [private]

Definition at line 53 of file nonmodal.h.

bool NonModalEntry::m_editing [private]

Definition at line 51 of file nonmodal.h.


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

Generated by  doxygen 1.6.2