[l10n] Updated German help translation screen-shots
[evolution.git] / e-util / e-text-event-processor-types.h
blob6e9d155f8c073d922f5b83fc2b592fb1c48694c9
1 /*
3 * This program is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2 of the License, or (at your option) version 3.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with the program; if not, see <http://www.gnu.org/licenses/>
17 * Authors:
18 * Chris Lahey <clahey@ximian.com>
20 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
24 #ifndef __E_TEXT_EVENT_PROCESSOR_TYPES_H__
25 #define __E_TEXT_EVENT_PROCESSOR_TYPES_H__
27 #include <gtk/gtk.h>
29 G_BEGIN_DECLS
31 typedef union _ETextEventProcessorEvent ETextEventProcessorEvent;
33 typedef enum {
34 E_TEP_VALUE,
35 E_TEP_SELECTION,
37 E_TEP_START_OF_BUFFER,
38 E_TEP_END_OF_BUFFER,
40 E_TEP_START_OF_LINE,
41 E_TEP_END_OF_LINE,
43 E_TEP_FORWARD_CHARACTER,
44 E_TEP_BACKWARD_CHARACTER,
46 E_TEP_FORWARD_WORD,
47 E_TEP_BACKWARD_WORD,
49 E_TEP_FORWARD_LINE,
50 E_TEP_BACKWARD_LINE,
52 E_TEP_FORWARD_PARAGRAPH,
53 E_TEP_BACKWARD_PARAGRAPH,
55 E_TEP_FORWARD_PAGE,
56 E_TEP_BACKWARD_PAGE,
58 E_TEP_SELECT_WORD,
59 E_TEP_SELECT_ALL
61 } ETextEventProcessorCommandPosition;
63 typedef enum {
64 E_TEP_MOVE,
65 E_TEP_SELECT,
66 E_TEP_DELETE,
67 E_TEP_INSERT,
69 E_TEP_CAPS,
71 E_TEP_COPY,
72 E_TEP_PASTE,
73 E_TEP_GET_SELECTION,
74 E_TEP_SET_SELECT_BY_WORD,
75 E_TEP_ACTIVATE,
77 E_TEP_GRAB,
78 E_TEP_UNGRAB,
80 E_TEP_NOP
81 } ETextEventProcessorCommandAction;
83 typedef struct {
84 ETextEventProcessorCommandPosition position;
85 ETextEventProcessorCommandAction action;
86 gint value;
87 const gchar *string;
88 guint32 time;
89 } ETextEventProcessorCommand;
91 typedef struct {
92 GdkEventType type;
93 guint32 time;
94 guint state;
95 guint button;
96 gint position;
97 } ETextEventProcessorEventButton;
99 typedef struct {
100 GdkEventType type;
101 guint32 time;
102 guint state;
103 guint keyval;
104 gint length;
105 const gchar *string;
106 } ETextEventProcessorEventKey;
108 typedef struct {
109 GdkEventType type;
110 guint32 time;
111 guint state;
112 gint position;
113 } ETextEventProcessorEventMotion;
115 union _ETextEventProcessorEvent {
116 GdkEventType type;
117 ETextEventProcessorEventButton button;
118 ETextEventProcessorEventKey key;
119 ETextEventProcessorEventMotion motion;
122 typedef enum _ETextEventProcessorCaps {
123 E_TEP_CAPS_UPPER,
124 E_TEP_CAPS_LOWER,
125 E_TEP_CAPS_TITLE
126 } ETextEventProcessorCaps;
128 G_END_DECLS
130 #endif /* __E_TEXT_EVENT_PROCESSOR_TYPES_H__ */