JWM Source Documentation
group.h File Reference
Functions for handling window groups. More...
Go to the source code of this file.
Enumerations | |
| enum | OptionType { OPTION_INVALID = 0, OPTION_STICKY = 1, OPTION_LAYER = 2, OPTION_DESKTOP = 3, OPTION_ICON = 4, OPTION_NOLIST = 5, OPTION_BORDER = 6, OPTION_NOBORDER = 7, OPTION_TITLE = 8, OPTION_NOTITLE = 9, OPTION_PIGNORE = 10, OPTION_MAXIMIZED = 11, OPTION_MINIMIZED = 12, OPTION_SHADED = 13, OPTION_OPACITY = 14, OPTION_MAX_H = 15, OPTION_MAX_V = 16, OPTION_NOFOCUS = 17 } |
| Enumeration of group options. More... | |
Functions | |
| void | InitializeGroups () |
| void | StartupGroups () |
| void | ShutdownGroups () |
| void | DestroyGroups () |
| struct GroupType * | CreateGroup () |
| Create an empty group. | |
| void | AddGroupClass (struct GroupType *gp, const char *pattern) |
| Add a window class to a group. | |
| void | AddGroupName (struct GroupType *gp, const char *pattern) |
| Add a window name to a group. | |
| void | AddGroupOption (struct GroupType *gp, OptionType option) |
| Add a group option that doesn't take a value. | |
| void | AddGroupOptionValue (struct GroupType *gp, OptionType option, const char *value) |
| Add a group option that takes a value. | |
| void | ApplyGroups (struct ClientNode *np) |
| Apply any matching groups to a client. | |
Detailed Description
Enumeration Type Documentation
| enum OptionType |
Enumeration of group options.
- Enumerator:
Function Documentation
| void AddGroupClass | ( | struct GroupType * | gp, |
| const char * | pattern | ||
| ) |
Add a window class to a group.
- Parameters:
-
gp The group. pattern A pattern to match with the window class.
| void AddGroupName | ( | struct GroupType * | gp, |
| const char * | pattern | ||
| ) |
Add a window name to a group.
- Parameters:
-
gp The group. pattern A pattern to match with the window name.
| void AddGroupOption | ( | struct GroupType * | gp, |
| OptionType | option | ||
| ) |
Add a group option that doesn't take a value.
- Parameters:
-
gp The group. option The option.
| void AddGroupOptionValue | ( | struct GroupType * | gp, |
| OptionType | option, | ||
| const char * | value | ||
| ) |
Add a group option that takes a value.
- Parameters:
-
gp The group. option The option. value The option value.
| void ApplyGroups | ( | struct ClientNode * | np | ) |
Apply any matching groups to a client.
- Parameters:
-
np The client.
| struct GroupType* CreateGroup | ( | ) | [read] |
Create an empty group.
- Returns:
- An empty group.
| void DestroyGroups | ( | ) |
| void InitializeGroups | ( | ) |
| void ShutdownGroups | ( | ) |
| void StartupGroups | ( | ) |