JWM Source Documentation
group.h
Go to the documentation of this file.
1 
10 #ifndef GROUP_H
11 #define GROUP_H
12 
13 struct ClientNode;
14 struct GroupType;
15 
17 typedef unsigned char OptionType;
18 #define OPTION_INVALID 0
19 #define OPTION_STICKY 1
20 #define OPTION_LAYER 2
21 #define OPTION_DESKTOP 3
22 #define OPTION_ICON 4
23 #define OPTION_NOLIST 5
24 #define OPTION_BORDER 6
25 #define OPTION_NOBORDER 7
26 #define OPTION_TITLE 8
27 #define OPTION_NOTITLE 9
28 #define OPTION_PIGNORE 10
29 #define OPTION_MAXIMIZED 11
30 #define OPTION_MINIMIZED 12
31 #define OPTION_SHADED 13
32 #define OPTION_OPACITY 14
33 #define OPTION_MAX_H 15
34 #define OPTION_MAX_V 16
35 #define OPTION_NOFOCUS 17
36 #define OPTION_NOSHADE 18
37 #define OPTION_CENTERED 19
38 #define OPTION_TILED 20
39 #define OPTION_IIGNORE 21
40 #define OPTION_NOPAGER 22
41 #define OPTION_NOTURGENT 23
42 #define OPTION_CONSTRAIN 24
43 #define OPTION_FULLSCREEN 25
44 #define OPTION_NOMIN 26
45 #define OPTION_NOMAX 27
46 #define OPTION_NOCLOSE 28
47 #define OPTION_NOMOVE 29
48 #define OPTION_NORESIZE 30
49 #define OPTION_NOFULLSCREEN 31
50 #define OPTION_DRAG 32
51 #define OPTION_ILIST 33
52 #define OPTION_IPAGER 34
53 #define OPTION_FIXED 35
54 #define OPTION_AEROSNAP 36
55 #define OPTION_NODRAG 37
58 #define InitializeGroups() (void)(0)
59 #define StartupGroups() (void)(0)
60 #define ShutdownGroups() (void)(0)
61 void DestroyGroups(void);
67 struct GroupType *CreateGroup(void);
68 
73 void AddGroupClass(struct GroupType *gp, const char *pattern);
74 
79 void AddGroupName(struct GroupType *gp, const char *pattern);
80 
85 void AddGroupOption(struct GroupType *gp, OptionType option);
86 
92 void AddGroupOptionString(struct GroupType *gp, OptionType option,
93  const char *value);
94 
100 void AddGroupOptionUnsigned(struct GroupType *gp, OptionType option,
101  unsigned int value);
102 
106 void ApplyGroups(struct ClientNode *np);
107 
108 #endif /* GROUP_H */
109 

joewing.net / Projects / JWM