1# Controls for generating various function (f.whatever) related handling.
2#
3# Each section (delimieted by "START(section)" and "END(section)" has a
4# potentially different format.  But all of them begin with the function
5# name in lowercase (sans leading 'f.').
6
7
8# First section: the main meat of functions.  Almost everything should
9# wind up here.
10#
11# Format: "<name> <conftype> <defcursor> <ifdef>"
12# conftype -> for the config file parsing, defining the keyword type.
13#             'S' -> FSKEYWORD    '-' -> FKEYWORD
14# defcurs -> Deferral cursor for deferring function.  x-ref
15#            should_defer(), defer_cursor(), and related.
16#            - -> DC_NONE, CS -> _SELECT, CM -> _MOVE, CD -> _DESTROY
17# ifdef -> whether the pieces for this function should be hidden behind
18#          an #ifdef.  - for no, otherwise a string of what it should
19#          #ifdef.
20#
21# START(main)
22addtoworkspace        S CS -
23adoptwindow           - -  CAPTIVE
24altcontext            - -  -
25altkeymap             S -  -
26autolower             - CS -
27autoraise             - CS -
28backiconmgr           - -  -
29backmapiconmgr        - -  -
30beep                  - -  -
31bottomzoom            - CS -
32changepriority        S CS -
33changesize            S CS -
34circledown            - -  -
35circleup              - -  -
36colormap              S -  -
37deiconify             - CS -
38delete                - CD -
39deleteordestroy       - CD -
40deltastop             - -  -
41destroy               - CD -
42downiconmgr           - -  -
43downworkspace         - -  -
44exec                  S -  -
45fill                  S CS -
46fittocontent          - CS WINBOX
47focus                 - CS -
48forcemove             - CM -
49forwiconmgr           - -  -
50forwmapiconmgr        - -  -
51fullscreenzoom        - CS -
52fullzoom              - CS -
53function              S -  -
54gotoworkspace         S -  -
55hideiconmgr           - -  -
56hideworkspacemgr      - -  -
57horizoom              - CS -
58hypermove             - CM CAPTIVE
59iconify               - CS -
60identify              - CS -
61initsize              - CS -
62jumpdown              S CM -
63jumpleft              S CM -
64jumpright             S CM -
65jumpup                S CM -
66lefticonmgr           - -  -
67leftworkspace         - -  -
68leftzoom              - CS -
69lower                 - CS -
70menu                  S -  -
71move                  - CM -
72movepack              - CM -
73movepush              - CM -
74moveresize            S CS -
75movetitlebar          - CM -
76movetonextworkspace   - CS -
77movetonextworkspaceandfollow - CS -
78movetoprevworkspace   - CS -
79movetoprevworkspaceandfollow - CS -
80nexticonmgr           - -  -
81nextworkspace         - -  -
82nop                   - -  -
83occupy                - CS -
84occupyall             - CS -
85pack                  S CS -
86pin                   - -  -
87previconmgr           - -  -
88prevworkspace         - -  -
89priorityswitching     - CS -
90quit                  - -  -
91raise                 - CS -
92raiseicons            - -  -
93raiselower            - CS -
94raiseorsqueeze        - CS -
95refresh               - -  -
96removefromworkspace   S CS -
97rereadsounds          - -  SOUNDS
98rescuewindows         - -  -
99resize                - CM -
100restart               - -  -
101restoregeometry       - CS -
102righticonmgr          - -  -
103rightworkspace        - -  -
104rightzoom             - CS -
105ring                  - CS -
106savegeometry          - CS -
107saveyourself          - CS -
108separator             - -  -
109setbuttonsstate       - -  -
110setmapstate           - -  -
111setpriority           S CS -
112showbackground        - -  -
113showiconmgr           - -  -
114showworkspacemgr      - -  -
115slowdownanimation     - -  -
116sorticonmgr           - CS -
117speedupanimation      - -  -
118squeeze               - CS -
119startanimation        - -  -
120stopanimation         - -  -
121switchpriority        - CS -
122tinylower             - CS -
123tinyraise             - CS -
124title                 - -  -
125toggleoccupation      S CS -
126togglesound           - -  SOUNDS
127togglestate           - -  -
128toggleworkspacemgr    - -  -
129topzoom               - CS -
130trace                 S -  -
131unfocus               - -  -
132unsqueeze             - CS -
133upiconmgr             - -  -
134upworkspace           - -  -
135vanish                - CS -
136version               - -  -
137warphere              S -  -
138warpring              S -  -
139warpto                S -  -
140warptoiconmgr         S -  -
141warptoscreen          S -  -
142winrefresh            - CS -
143xbottomzoom           - CS -
144xfullscreenzoom       - CS -
145xfullzoom             - CS -
146xhorizoom             - CS -
147xleftzoom             - CS -
148xrightzoom            - CS -
149xtopzoom              - CS -
150xzoom                 - CS -
151zoom                  - CS -
152# END(main)
153
154
155# Aliases: These are additional names we permit in config files for
156# existing functions.
157# Format: "<name> <aliasfor>"
158# START(aliases)
159hbzoom bottomzoom
160hzoom  horizoom
161vlzoom leftzoom
162vrzoom rightzoom
163htzoom topzoom
164
165twmrc  restart
166# END(aliases)
167
168
169# Synthetic functions; these are things used internally.  Mostly in
170# synthetic magic menus like TwmWindows.  So the dispatcher for executing
171# functions needs to handle them, and we need numbers defined for them.
172# But they can't be in config files or the like, so there's no parsing
173# needed for them.
174# Format: "<name>"
175# START(synthetic)
176popup
177winwarp
178# END(synthetic)
179
180
181# vim:ft=conf
182