File: gtkhtml-editor-widgets.h

package info (click to toggle)
gtkhtml4.0 4.8.5-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 10,244 kB
  • ctags: 6,515
  • sloc: ansic: 68,248; sh: 11,047; makefile: 492; xml: 25
file content (227 lines) | stat: -rw-r--r-- 13,500 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/* gtkhtml-editor-widgets.h
 *
 * Copyright (C) 2008 Novell, Inc.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of version 2 of the GNU Lesser General Public
 * License as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this program; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

#ifndef GTKHTML_EDITOR_WIDGETS_H
#define GTKHTML_EDITOR_WIDGETS_H

#define GTKHTML_EDITOR_WIDGET(editor, name) \
	(gtkhtml_editor_get_widget ((editor), (name)))

/* Cell Properties Window */
#define GTKHTML_EDITOR_WIDGET_CELL_PROPERTIES_CELL_RADIO_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "cell-properties-cell-radio-button")
#define GTKHTML_EDITOR_WIDGET_CELL_PROPERTIES_COLOR_COMBO(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "cell-properties-color-combo")
#define GTKHTML_EDITOR_WIDGET_CELL_PROPERTIES_COLUMN_RADIO_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "cell-properties-column-radio-button")
#define GTKHTML_EDITOR_WIDGET_CELL_PROPERTIES_COLUMN_SPAN_SPIN_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "cell-properties-column-span-spin-button")
#define GTKHTML_EDITOR_WIDGET_CELL_PROPERTIES_HEADER_STYLE_CHECK_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "cell-properties-header-style-check-button")
#define GTKHTML_EDITOR_WIDGET_CELL_PROPERTIES_HORIZONTAL_COMBO_BOX(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "cell-properties-horizontal-combo-box")
#define GTKHTML_EDITOR_WIDGET_CELL_PROPERTIES_IMAGE_FILE_CHOOSER(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "cell-properties-image-file-chooser")
#define GTKHTML_EDITOR_WIDGET_CELL_PROPERTIES_ROW_RADIO_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "cell-properties-row-radio-button")
#define GTKHTML_EDITOR_WIDGET_CELL_PROPERTIES_ROW_SPAN_SPIN_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "cell-properties-row-span-spin-button")
#define GTKHTML_EDITOR_WIDGET_CELL_PROPERTIES_TABLE_RADIO_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "cell-properties-table-radio-button")
#define GTKHTML_EDITOR_WIDGET_CELL_PROPERTIES_VERTICAL_COMBO_BOX(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "cell-properties-vertical-combo-box")
#define GTKHTML_EDITOR_WIDGET_CELL_PROPERTIES_WIDTH_CHECK_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "cell-properties-width-check-button")
#define GTKHTML_EDITOR_WIDGET_CELL_PROPERTIES_WIDTH_COMBO_BOX(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "cell-properties-width-combo-box")
#define GTKHTML_EDITOR_WIDGET_CELL_PROPERTIES_WIDTH_SPIN_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "cell-properties-width-spin-button")
#define GTKHTML_EDITOR_WIDGET_CELL_PROPERTIES_WINDOW(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "cell-properties-window")
#define GTKHTML_EDITOR_WIDGET_CELL_PROPERTIES_WRAP_TEXT_CHECK_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "cell-properties-wrap-text-check-button")

/* Find Window */
#define GTKHTML_EDITOR_WIDGET_FIND_BACKWARDS(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "find-backwards")
#define GTKHTML_EDITOR_WIDGET_FIND_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "find-button")
#define GTKHTML_EDITOR_WIDGET_FIND_CASE_SENSITIVE(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "find-case-sensitive")
#define GTKHTML_EDITOR_WIDGET_FIND_WINDOW(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "find-window")
#define GTKHTML_EDITOR_WIDGET_FIND_ENTRY(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "find-entry")
#define GTKHTML_EDITOR_WIDGET_FIND_REGULAR_EXPRESSION(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "find-regular-expression")
#define GTKHTML_EDITOR_WIDGET_FIND_RESULT_LABEL(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "find-result-label")

/* Image Properties Window */
#define GTKHTML_EDITOR_WIDGET_IMAGE_PROPERTIES_ALIGNMENT_COMBO_BOX(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "image-properties-alignment-combo-box")
#define GTKHTML_EDITOR_WIDGET_IMAGE_PROPERTIES_BORDER_SPIN_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "image-properties-border-spin-button")
#define GTKHTML_EDITOR_WIDGET_IMAGE_PROPERTIES_DESCRIPTION_ENTRY(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "image-properties-description-entry")
#define GTKHTML_EDITOR_WIDGET_IMAGE_PROPERTIES_HEIGHT_COMBO_BOX(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "image-properties-height-combo-box")
#define GTKHTML_EDITOR_WIDGET_IMAGE_PROPERTIES_HEIGHT_SPIN_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "image-properties-height-spin-button")
#define GTKHTML_EDITOR_WIDGET_IMAGE_PROPERTIES_SOURCE_FILE_CHOOSER(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "image-properties-source-file-chooser")
#define GTKHTML_EDITOR_WIDGET_IMAGE_PROPERTIES_URL_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "image-properties-url-button")
#define GTKHTML_EDITOR_WIDGET_IMAGE_PROPERTIES_URL_ENTRY(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "image-properties-url-entry")
#define GTKHTML_EDITOR_WIDGET_IMAGE_PROPERTIES_WIDTH_COMBO_BOX(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "image-properties-width-combo-box")
#define GTKHTML_EDITOR_WIDGET_IMAGE_PROPERTIES_WIDTH_SPIN_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "image-properties-width-spin-button")
#define GTKHTML_EDITOR_WIDGET_IMAGE_PROPERTIES_WINDOW(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "image-properties-window")
#define GTKHTML_EDITOR_WIDGET_IMAGE_PROPERTIES_X_PADDING_SPIN_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "image-properties-x-padding-spin-button")
#define GTKHTML_EDITOR_WIDGET_IMAGE_PROPERTIES_Y_PADDING_SPIN_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "image-properties-y-padding-spin-button")

/* Link Properties Window */
#define GTKHTML_EDITOR_WIDGET_LINK_PROPERTIES_DESCRIPTION_ENTRY(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "link-properties-description-entry")
#define GTKHTML_EDITOR_WIDGET_LINK_PROPERTIES_TEST_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "link-properties-test-button")
#define GTKHTML_EDITOR_WIDGET_LINK_PROPERTIES_URL_ENTRY(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "link-properties-url-entry")
#define GTKHTML_EDITOR_WIDGET_LINK_PROPERTIES_WINDOW(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "link-properties-window")

/* Page Properties Window */
#define GTKHTML_EDITOR_WIDGET_PAGE_PROPERTIES_BACKGROUND_COLOR_COMBO(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "page-properties-background-color-combo")
#define GTKHTML_EDITOR_WIDGET_PAGE_PROPERTIES_CUSTOM_FILE_CHOOSER(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "page-properties-custom-file-chooser")
#define GTKHTML_EDITOR_WIDGET_PAGE_PROPERTIES_LINK_COLOR_COMBO(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "page-properties-link-color-combo")
#define GTKHTML_EDITOR_WIDGET_PAGE_PROPERTIES_TEMPLATE_COMBO_BOX(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "page-properties-template-combo-box")
#define GTKHTML_EDITOR_WIDGET_PAGE_PROPERTIES_TEXT_COLOR_COMBO(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "page-properties-text-color-combo")
#define GTKHTML_EDITOR_WIDGET_PAGE_PROPERTIES_WINDOW(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "page-properties-window")

/* Paragraph Properties Window */
#define GTKHTML_EDITOR_WIDGET_PARAGRAPH_PROPERTIES_CENTER_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "paragraph-properties-center-button")
#define GTKHTML_EDITOR_WIDGET_PARAGRAPH_PROPERTIES_LEFT_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "paragraph-properties-left-button")
#define GTKHTML_EDITOR_WIDGET_PARAGRAPH_PROPERTIES_RIGHT_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "paragraph-properties-right-button")
#define GTKHTML_EDITOR_WIDGET_PARAGRAPH_PROPERTIES_STYLE_COMBO_BOX(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "paragraph-properties-style-combo-box")
#define GTKHTML_EDITOR_WIDGET_PARAGRAPH_PROPERTIES_WINDOW(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "paragraph-properties-window")

/* Replace Confirmation Window */
#define GTKHTML_EDITOR_WIDGET_REPLACE_CONFIRMATION_CLOSE_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "replace-confirmation-close-button")
#define GTKHTML_EDITOR_WIDGET_REPLACE_CONFIRMATION_NEXT_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "replace-confirmation-next-button")
#define GTKHTML_EDITOR_WIDGET_REPLACE_CONFIRMATION_REPLACE_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "replace-confirmation-replace-button")
#define GTKHTML_EDITOR_WIDGET_REPLACE_CONFIRMATION_REPLACE_ALL_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "replace-confirmation-replace-all-button")
#define GTKHTML_EDITOR_WIDGET_REPLACE_CONFIRMATION_WINDOW(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "replace-confirmation-window")

/* Replace Window */
#define GTKHTML_EDITOR_WIDGET_REPLACE_BACKWARDS(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "replace-backwards")
#define GTKHTML_EDITOR_WIDGET_REPLACE_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "replace-button")
#define GTKHTML_EDITOR_WIDGET_REPLACE_CASE_SENSITIVE(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "replace-case-sensitive")
#define GTKHTML_EDITOR_WIDGET_REPLACE_ENTRY(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "replace-entry")
#define GTKHTML_EDITOR_WIDGET_REPLACE_WITH_ENTRY(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "replace-with-entry")
#define GTKHTML_EDITOR_WIDGET_REPLACE_WINDOW(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "replace-window")

/* Rule Properties Window */
#define GTKHTML_EDITOR_WIDGET_RULE_PROPERTIES_ALIGNMENT_COMBO_BOX(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "rule-properties-alignment-combo-box")
#define GTKHTML_EDITOR_WIDGET_RULE_PROPERTIES_SHADED_CHECK_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "rule-properties-shaded-check-button")
#define GTKHTML_EDITOR_WIDGET_RULE_PROPERTIES_SIZE_SPIN_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "rule-properties-size-spin-button")
#define GTKHTML_EDITOR_WIDGET_RULE_PROPERTIES_WIDTH_COMBO_BOX(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "rule-properties-width-combo-box")
#define GTKHTML_EDITOR_WIDGET_RULE_PROPERTIES_WIDTH_SPIN_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "rule-properties-width-spin-button")
#define GTKHTML_EDITOR_WIDGET_RULE_PROPERTIES_WINDOW(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "rule-properties-window")

/* Spell Check Window */
#define GTKHTML_EDITOR_WIDGET_SPELL_WINDOW(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "spell-window")

/* Table Properties Window */
#define GTKHTML_EDITOR_WIDGET_TABLE_PROPERTIES_ALIGNMENT_COMBO_BOX(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "table-properties-alignment-combo-box")
#define GTKHTML_EDITOR_WIDGET_TABLE_PROPERTIES_BORDER_SPIN_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "table-properties-border-spin-button")
#define GTKHTML_EDITOR_WIDGET_TABLE_PROPERTIES_COLOR_COMBO(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "table-properties-color-combo")
#define GTKHTML_EDITOR_WIDGET_TABLE_PROPERTIES_COLS_SPIN_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "table-properties-cols-spin-button")
#define GTKHTML_EDITOR_WIDGET_TABLE_PROPERTIES_IMAGE_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "table-properties-image-button")
#define GTKHTML_EDITOR_WIDGET_TABLE_PROPERTIES_PADDING_SPIN_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "table-properties-padding-spin-button")
#define GTKHTML_EDITOR_WIDGET_TABLE_PROPERTIES_ROWS_SPIN_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "table-properties-rows-spin-button")
#define GTKHTML_EDITOR_WIDGET_TABLE_PROPERTIES_SPACING_SPIN_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "table-properties-spacing-spin-button")
#define GTKHTML_EDITOR_WIDGET_TABLE_PROPERTIES_WIDTH_CHECK_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "table-properties-width-check-button")
#define GTKHTML_EDITOR_WIDGET_TABLE_PROPERTIES_WIDTH_COMBO_BOX(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "table-properties-width-combo-box")
#define GTKHTML_EDITOR_WIDGET_TABLE_PROPERTIES_WIDTH_SPIN_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "table-properties-width-spin-button")
#define GTKHTML_EDITOR_WIDGET_TABLE_PROPERTIES_WINDOW(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "table-properties-window")

/* Text Properties Window */
#define GTKHTML_EDITOR_WIDGET_TEXT_PROPERTIES_BOLD_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "text-properties-bold-button")
#define GTKHTML_EDITOR_WIDGET_TEXT_PROPERTIES_COLOR_COMBO(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "text-properties-color-combo")
#define GTKHTML_EDITOR_WIDGET_TEXT_PROPERTIES_ITALIC_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "text-properties-italic-button")
#define GTKHTML_EDITOR_WIDGET_TEXT_PROPERTIES_SIZE_COMBO_BOX(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "text-properties-size-combo-box")
#define GTKHTML_EDITOR_WIDGET_TEXT_PROPERTIES_STRIKETHROUGH_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "text-properties-strikethrough-button")
#define GTKHTML_EDITOR_WIDGET_TEXT_PROPERTIES_UNDERLINE_BUTTON(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "text-properties-underline-button")
#define GTKHTML_EDITOR_WIDGET_TEXT_PROPERTIES_WINDOW(editor) \
	GTKHTML_EDITOR_WIDGET ((editor), "text-properties-window")

#endif /* GTKHTML_EDITOR_WIDGETS_H */