JWM Source Documentation
winmenu.h File Reference
Header for the window menu functions. More...
#include "menu.h"Go to the source code of this file.
Functions | |
| void | GetWindowMenuSize (struct ClientNode *np, int *width, int *height) |
| Get the size of a window menu. | |
| void | ShowWindowMenu (struct ClientNode *np, int x, int y) |
| Show a window menu. | |
| void | ChooseWindow (const MenuAction *action) |
| Grab the mouse to select a window. | |
Detailed Description
Function Documentation
| void ChooseWindow | ( | const MenuAction * | action | ) |
Grab the mouse to select a window.
- Parameters:
-
action The action to perform when a window is selected.
| void GetWindowMenuSize | ( | struct ClientNode * | np, |
| int * | width, | ||
| int * | height | ||
| ) |
Get the size of a window menu.
- Parameters:
-
np The client for the window menu. width The width return. height The height return.
| void ShowWindowMenu | ( | struct ClientNode * | np, |
| int | x, | ||
| int | y | ||
| ) |
Show a window menu.
- Parameters:
-
np The client for the window menu. x The x-coordinate of the menu (root relative). y The y-coordinate of the menu (root relative).