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

Header for the window menu functions.

Author:
Joe Wingbermuehle
Date:
2004-2006

Definition in file winmenu.h.


Function Documentation

void ChooseWindow ( const MenuAction action)

Grab the mouse to select a window.

Parameters:
actionThe 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:
npThe client for the window menu.
widthThe width return.
heightThe height return.
void ShowWindowMenu ( struct ClientNode np,
int  x,
int  y 
)

Show a window menu.

Parameters:
npThe client for the window menu.
xThe x-coordinate of the menu (root relative).
yThe y-coordinate of the menu (root relative).