Enumerations | Functions

ap_UnixDialog_Spell.cpp File Reference

#include <stdlib.h>
#include <string.h>
#include "ut_string.h"
#include "ut_assert.h"
#include "ut_debugmsg.h"
#include "xap_UnixDialogHelper.h"
#include "xap_App.h"
#include "xap_UnixApp.h"
#include "xap_Frame.h"
#include "ap_Strings.h"
#include "ap_Dialog_Id.h"
#include "ap_Dialog_Spell.h"
#include "ap_UnixDialog_Spell.h"

Enumerations

enum  {
  SPELL_RESPONSE_ADD = 0, SPELL_RESPONSE_IGNORE, SPELL_RESPONSE_IGNORE_ALL, SPELL_RESPONSE_CHANGE,
  SPELL_RESPONSE_CHANGE_ALL
}
 

Custom response IDs.

More...
enum  { COLUMN_SUGGESTION = 0, COLUMN_NUMBER, NUM_COLUMNS }
 

Column indices for list-store.

More...

Functions

static void AP_UnixDialog_Spell__onAddClicked (GtkButton *, gpointer data)
static void AP_UnixDialog_Spell__onIgnoreClicked (GtkButton *, gpointer data)
static void AP_UnixDialog_Spell__onIgnoreAllClicked (GtkButton *, gpointer data)
static void AP_UnixDialog_Spell__onChangeClicked (GtkButton *, gpointer data)
static void AP_UnixDialog_Spell__onChangeAllClicked (GtkButton *, gpointer data)
static void AP_UnixDialog_Spell__onSuggestionDblClicked (GtkTreeView *, GtkTreePath *, GtkTreeViewColumn *, gpointer data)
static void AP_UnixDialog_Spell__onSuggestionSelected (GtkButton *, gpointer data)
static void AP_UnixDialog_Spell__onSuggestionChanged (GtkButton *, gpointer data)

Enumeration Type Documentation

anonymous enum

Custom response IDs.

Enumerator:
SPELL_RESPONSE_ADD 
SPELL_RESPONSE_IGNORE 
SPELL_RESPONSE_IGNORE_ALL 
SPELL_RESPONSE_CHANGE 
SPELL_RESPONSE_CHANGE_ALL 
anonymous enum

Column indices for list-store.

Enumerator:
COLUMN_SUGGESTION 
COLUMN_NUMBER 
NUM_COLUMNS 

Function Documentation

static void AP_UnixDialog_Spell__onAddClicked ( GtkButton *  ,
gpointer  data 
) [static]

Event dispatcher for button "Add"

References AP_UnixDialog_Spell::getWindow(), and SPELL_RESPONSE_ADD.

Referenced by AP_UnixDialog_Spell::_constructWindow().

static void AP_UnixDialog_Spell__onChangeAllClicked ( GtkButton *  ,
gpointer  data 
) [static]

Event dispatcher for button "Change All"

References AP_UnixDialog_Spell::getWindow(), and SPELL_RESPONSE_CHANGE_ALL.

Referenced by AP_UnixDialog_Spell::_constructWindow().

static void AP_UnixDialog_Spell__onChangeClicked ( GtkButton *  ,
gpointer  data 
) [static]

Event dispatcher for button "Change"

References AP_UnixDialog_Spell::getWindow(), and SPELL_RESPONSE_CHANGE.

Referenced by AP_UnixDialog_Spell::_constructWindow().

static void AP_UnixDialog_Spell__onIgnoreAllClicked ( GtkButton *  ,
gpointer  data 
) [static]

Event dispatcher for button "Ignore All"

References AP_UnixDialog_Spell::getWindow(), and SPELL_RESPONSE_IGNORE_ALL.

Referenced by AP_UnixDialog_Spell::_constructWindow().

static void AP_UnixDialog_Spell__onIgnoreClicked ( GtkButton *  ,
gpointer  data 
) [static]

Event dispatcher for button "Ignore"

References AP_UnixDialog_Spell::getWindow(), and SPELL_RESPONSE_IGNORE.

Referenced by AP_UnixDialog_Spell::_constructWindow().

static void AP_UnixDialog_Spell__onSuggestionChanged ( GtkButton *  ,
gpointer  data 
) [static]

Event dispatcher for editing the suggestion

References AP_UnixDialog_Spell::onSuggestionChanged().

Referenced by AP_UnixDialog_Spell::_constructWindow().

static void AP_UnixDialog_Spell__onSuggestionDblClicked ( GtkTreeView *  ,
GtkTreePath *  ,
GtkTreeViewColumn *  ,
gpointer  data 
) [static]

Event dispatcher for dblclicking a suggestion

References AP_UnixDialog_Spell::getWindow(), and SPELL_RESPONSE_CHANGE.

Referenced by AP_UnixDialog_Spell::_constructWindow().

static void AP_UnixDialog_Spell__onSuggestionSelected ( GtkButton *  ,
gpointer  data 
) [static]

Event dispatcher for selecting a suggestion

References AP_UnixDialog_Spell::onSuggestionSelected().

Referenced by AP_UnixDialog_Spell::_constructWindow().