summaryrefslogtreecommitdiff
path: root/tags/edje.edc.tags
blob: 003ca222531f9f1ff2116c494fd868e804bde68c (plain)
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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
# format=pipe
#
# Edje EDC tags for autocomplate & help-tooltip for Geany
#
# Note: actually the properties help string only show when you type "("
#       so you need to type "image(" to show the help
#
# Usage: copy this file to "~/.config/geany/tags/" folder (or just link it).
#
# Format:
#   tag_name||: [param1] [param2]... |
#     or:
#   tag_name||disambiguation: [param1] [param2]... |
#
#
# Strangness:
#   * "alias" help do not work
#   * "limits" autocomp do not work
#   * "params" autocomp do not work
#   * "params.bool" help do not work
#   * "map.center" autocomp do not work
#   * "part.type" autocomp/help do not work
#   * "item.position" autocomp/help do not work
#   * "part.repeat_events" autocomp is strange
#
###############################################################################
###########  BLOCKS  ##########################################################
collections
###############################################################################
###########  EXTERNALS  #######################################################
externals
external||: "ext name"|
###############################################################################
###########  fonts  ###########################################################
fonts
font||fonts.font: "font file" "font alias"|
###############################################################################
###########  DATA  ############################################################
data
item||: "key" "value"|
file||: "key" "filename.ext"|
###############################################################################
###########  COLLECTIONS  #####################################################
base_scale||: [scale val]|
###############################################################################
###########  images.image  ####################################################
images
image||: [file name] [ RAW / COMP / LOSSY / LOSSY_ETC1 / LOSSY_ETC2 / USER ] (comp level)|
RAW
COMP
LOSSY
LOSSY_ETC1
LOSSY_ETC2
USER
border||: [left] [right] [top [bottom]|
border_scale_by||: [0.0 or bigger]
size||: [minw] [minh] [maxw] [maxh]|
###############################################################################
###########  COLORS  ##########################################################
color_class
color_classes
color||: [red] [green] [blue] [alpha]|
color2||: [red] [green] [blue] [alpha]|
color3||: [red] [green] [blue] [alpha]|
###############################################################################
###########  TEXT STYLES  #####################################################
styles
style
base||: [style properties string]|
tag||: [tag name] [style properties string]|
###############################################################################
###########  SOUNDS  ##########################################################
sounds
vibrations
sample
tone||: [tone name] [frequency]|
name||sounds.sample.name: [sample name] [compression type] (quality) 
###############################################################################
###########  GROUP  ###########################################################
inherit||group.inherit: [parent group name]|
inherit_only||: [1 or 0]|
target_group||: [name] [part/program1] [part/program2] ...|
script_only||: [on/off]|
script_recursion||: [1/0]
alias||: [additional name]|
min||: [width] [height]|
max||: [width] [height]|
broadcast_signal||: [on/off]|
orientation||: [ AUTO / LTR / RTL ]|
AUTO
LTR
RTL
program_source||: [source name]|
###############################################################################
###########  GROUP.LIMITS  ####################################################
limits
vertical||: [name] [height barrier]|
horizontal||: [name] [width barrier]|
###############################################################################
###########  PART  ############################################################
parts
part
name||part.name: [part name]|
type||: [ RECT / TEXT / IMAGE / SWALLOW / TEXTBLOCK / GROUP / BOX / TABLE / EXTERNAL / PROXY / SPACER ]|
NONE
RECT
TEXT
IMAGE
SWALLOW
TEXTBLOCK
GROUP
BOX
TABLE
EXTERNAL
PROXY
SPACER
mouse_events||: [1 or 0]|
repeat_events||: [1 or 0]|
scale||: [1 or 0]|
inherit||part.inherit: [part name]|
pointer_mode||: [ AUTOGRAB / NOGRAB ]|
AUTOGRAB
NOGRAB
precise_is_inside||: [1 or 0]|
use_alternate_font_metrics||: [1 or 0]|
program_remove||: [program name] [program name] [program name] ...|
part_remove||: [part name] [part name] [part name] ...|
physics_body||: [ NONE / RIGID_BOX / RIGID_SPHERE / RIGID_CYLINDER / SOFT_BOX / SOFT_SPHERE / SOFT_CYLINDER / CLOTH / BOUNDARY_TOP / BOUNDARY_BOTTOM / BOUNDARY_RIGHT / BOUNDARY_LEFT / BOUNDARY_FRONT / BOUNDARY_BACK ]
NONE
RIGID_BOX
RIGID_SPHERE
RIGID_CYLINDER
SOFT_BOX
SOFT_SPHERE
SOFT_CYLINDER
CLOTH
BOUNDARY_TOP
BOUNDARY_BOTTOM
BOUNDARY_RIGHT
BOUNDARY_LEFT
BOUNDARY_FRONT
BOUNDARY_BACK
insert_before||: [another part's name]|
insert_after||: [another part's name]|
ignore_flags||: [FLAG] ... (flag can be NONE or ON_HOLD)|
NONE
ON_HOLD
clip_to||: [another part's name]|
source||: [another group's name]|
source2||: [another group's name]|
source3||: [another group's name]|
source4||: [another group's name]|
source5||: [another group's name]|
source6||: [another group's name]|
effect||: [ PLAIN / OUTLINE / SOFT_OUTLINE / SHADOW / SOFT_SHADOW / OUTLINE_SHADOW / OUTLINE_SOFT_SHADOW / FAR_SHADOW / FAR_SOFT_SHADOW / GLOW ] (DIRECTION)
NONE
PLAIN
OUTLINE
SOFT_OUTLINE
SHADOW
SOFT_SHADOW
OUTLINE_SHADOW
OUTLINE_SOFT_SHADOW
FAR_SHADOW
FAR_SOFT_SHADOW
GLOW
#part_effect (param2)
BOTTOM_RIGHT
BOTTOM
BOTTOM_LEFT
LEFT
TOP_LEFT
TOP
TOP_RIGHT
RIGHT
entry_mode||: [ NONE / PLAIN / EDITABLE / PASSWORD ]|ù
NONE
PLAIN
EDITABLE
PASSWORD
select_mode||: [ DEFAULT / EXPLICIT ]|
DEFAULT
EXPLICIT
cursor_mode||: [ UNDER / BEFORE ]|
UNDER
BEFORE
multiline||: [1 or 0]|
access||: [1 or 0]|
###############################################################################
###########  DESCRIPTION  #####################################################
description
inherit||description.inherit: [another desc name] [another desc index]|
state||: [name] [index]|
visible||: [0 or 1]|
limit||: [ NONE / WIDTH / HEIGHT / BOTH ]|
NONE
WIDTH
HEIGHT
BOTH
align||: [X axis] [Y axis]|
fixed||: [width] [height]|
color_class||description.color_class: [color class name]|
minmul||: [width multipler] [height multiplier]|
step||: step [width] [height]|
aspect||: [min] [max]|
aspect_preference||: [ NONE / BOTH / VERTICAL / HORIZONTAL / SOURCE ]|
NONE
VERTICAL
HORIZONTAL
BOTH
SOURCE
rel1
rel2
relative||: [X axis] [Y axis]|
offset||: [X axis] [Y axis]|
to||: [another part name]|
to_x||: [another part name]|
to_y||: [another part name]|
#############  DESCRIPTION.IMAGE  #############################################
normal||: [image filename]
tween||: [image filename]
border||image.border: [left] [right] [top] [bottom]|
middle||: [ NONE / DEFAULT / SOLID ]|
NONE
DEFAULT
SOLID
border_scale||: [ 1 / 0 ]|
border_scale_by||: [value]|
scale_hint||: [ 0 / NONE / DYNAMIC / STATIC ]|
NONE
DYNAMIC
STATIC
smooth||: [0 or 1]|
############# DESCRIPTION.TEXT  ###############################################
text||text.text: [a string of text]|
font||text.font: [font alias]|
size||text.size: [font size in pt]|
size_range||: [font min size in points (pt)] [font max size in points (pt)]|
fit||: [horizontal] [vertical]|
min||text.min: [horizontal] [vertical]|
max||text.min: [horizontal] [vertical]|
align||text.align: [horizontal] [vertical]|
source||text.source: [another TEXT part's name]|
text_source||: [another TEXT part's name]|
ellipsis||: [point of balance]|
filter||: [filter program as a string]|
text_class||: [class name]|
color_class||part.color_class: 
repch||: [the replacement character string]|
type||image.fill.type: [ SCALE / TILE ] 
SCALE
TILE
###############################################################################
###########  DRAGABLE  ########################################################
dragable
x||: [enable/disable] [step] [count]|
y||: [enable/disable] [step] [count]|
confine||: [another part's name]|
threshold||: [another part's name]|
events||: [another dragable part's name]|
###############################################################################
###########  BOX/TABLE  #######################################################
layout||: [ horizontal / vertical / horizontal_homogeneous  / vertical_homogeneou / horizontal_max / vertical_max / horizontal_flow / vertical_flow / stack / custom ]|
homogeneous||: [ NONE / TABLE / ITEM ]|
NONE
TABLE
ITEM
padding||box.pagging: [horizontal] [vertical]|
###############################################################################
###########  BOX / TABLE ITEMS  ###############################################
type||: [ GROUP ]|
GROUP
name||group.name: [name for the object]|
source||: [a group name]|
min||: [width] [height]|
max||: [width] [height]|
spread||: [width] [height]|
prefer||: [width] [height]|
padding||box.item.padding: [left] [right] [top] [bottom]|
align||box.item.align: [x] [y]
weight||: [x] [y]|
position||: [col] [row]|
span||: [col] [row]|
aspect||box.item.aspect: [w] [h]|
aspect_mode||: [NONE / NEITHER / HORIZONTAL / VERTICAL / BOTH ]|
NONE
NEITHER
HORIZONTAL
VERTICAL
BOTH
options||: [extra options]|
###############################################################################
###########  PHYSICS  #########################################################
physics

mass||: [body's mass in kilograms]|
restitution||: [body's restitution]|
friction||: [body's friction]|
ignore_part_pos||: [1 or 0]|
damping||: [linear damping] [angular damping]|
sleep||: [linear sleeping threshold] [angular sleeping threshold]|
material||: [ CUSTOM / CONCRETE / IRON / PLASTIC / POLYSTYRENE / RUBBER / WOOD ]|
CUSTOM
CONCRETE
IRON
PLASTIC
POLYSTYRENE
RUBBER
WOOD
density||: [body's material density]|
hardness||: [ 0.0 - 1.0 ]|
light_on||: [1 or 0]|
z||: [body position in z axis]|
depth||: [body's depth]|
backface_cull||: [1 or 0]|
movement_freedom
linear||: [x-axis (1/0)] [y-axis (1/0)] [z-axis (1/0)]
angular||: [x-axis (1/0)] [y-axis (1/0)] [z-axis (1/0)]
faces
face
type||physics.face.type: [ BOX_MIDDLE_FRONT / BOX_MIDDLE_BACK / BOX_FRONT / BOX_BACK / BOX_LEFT / BOX_RIGHT / BOX_TOP / BOX_BOTTOM / CLOTH_FRONT / CLOTH_BACK / CYLINDER_MIDDLE_FRONT / CYLINDER_MIDDLE_BACK / CYLINDER_FRONT / CYLINDER_BACK / CYLINDER_CURVED / SPHERE_FRONT / SPHERE_BACK ]|
BOX_MIDDLE_FRONT
BOX_MIDDLE_BACK
BOX_FRONT
BOX_BACK
BOX_LEFT
BOX_RIGHT
BOX_TOP
BOX_BOTTOM
CLOTH_FRONT
CLOTH_BACK
CYLINDER_MIDDLE_FRONT
CYLINDER_MIDDLE_BACK
CYLINDER_FRONT
CYLINDER_BACK
CYLINDER_CURVED
SPHERE_FRONT
SPHERE_BACK
###############################################################################
###########  PHYSICS (WORLD)  #################################################
gravity||: [x-axis] [y-axis] [z-axis]|
rate||: [rate pixels / meter]|
depth||: [depth in pixels]|
z||: [world's front border position]|
###############################################################################
###########  MAP  #############################################################
map
perspective||: [another part's name]|
light||: [another part's name]|
on||: [1 or 0]|
smooth||: [1 or 0]|
alpha||: [1 or 0]|
backface_cull||: [1 or 0]|
perspective_on||: [1 or 0]|
color||: [point] [red] [green] [blue] [alpha]|
rotation
center||: [another part's name]|
x||: [X degrees]|
y||: [Y degrees]|
z||: [Z degrees]|
zplane||: [unscaled Z value]|
focal||: [distance]|
###############################################################################
###########  EXTENAL PARAMS  ##################################################
params
int||: [param_name] [int_value]|
double||: [param_name] [double_value]|
string||: [param_name] [string_value]|
bool||: [param_name] [bool_value]|
choice||: [param_name] [choice_string]|
###############################################################################
###########  PROGRAMS  ########################################################
programs
program
name||program.name: [program name]|
signal||: [signal name]|
source||: [source name]|
filter||: [part] [state]|
in||: [from] [range]|
action||: [ STATE_SET / ACTION_STOP / SIGNAL_EMIT / ... ] (param1) (param2) (param3) (param4)|
STATE_SET
ACTION_STOP
SIGNAL_EMIT
DRAG_VAL_SET
DRAG_VAL_STEP
DRAG_VAL_PAGE
SCRIPT
FOCUS_SET
FOCUS_OBJECT
PARAM_COPY
PARAM_SET
PLAY_SAMPLE
PLAY_TONE
PHYSICS_IMPULSE
PHYSICS_TORQUE_IMPULSE
PHYSICS_FORCE
PHYSICS_TORQUE
PHYSICS_FORCES_CLEAR
PHYSICS_VEL_SET
PHYSICS_ANG_VEL_SET
PHYSICS_STOP
PHYSICS_ROT_SET
PLAY_VIBRATION
#### PLAY_SAMPLE channel
EFFECT
BACKGROUND
MUSIC
FOREGROUND
INTERFACE
INPUT
ALERT
transition||: [ LIN / SIN / SIN_FAC /  ACCEL / DECEL / ACCEL_FAC / DECEL_FAC / DIVIS / BOUNCE / SPRING ] [length] (interp val 1) (interp val 2) (CURRENT)|
LINEAR
SINUSOIDAL
CUBIC_BEZIER
ACCELERATE
DECELERATE
ACCELERATE_FACTOR
DECELERATE_FACTOR
SINUSOIDAL_FACTOR
DIVISOR_INTERP
BOUNCE
SPRING
target||: [target part or program]|
target_groups||: [group] (group) (group)|
after||: [ another program ]|
api||: [name] [description]|