JWM Source Documentation
confirm.h File Reference
Header for the confirm dialog functions. More...
Go to the source code of this file.
Functions | |
| int | ProcessDialogEvent (const XEvent *event) |
| Handle an event on a dialog window. | |
| void | ShowConfirmDialog (struct ClientNode *np, void(*action)(struct ClientNode *),...) |
| Show a confirm dialog. | |
| void | InitializeDialogs () |
| void | StartupDialogs () |
| void | ShutdownDialogs () |
| void | DestroyDialogs () |
Detailed Description
Function Documentation
| void DestroyDialogs | ( | ) |
| void InitializeDialogs | ( | ) |
| int ProcessDialogEvent | ( | const XEvent * | event | ) |
Handle an event on a dialog window.
- Parameters:
-
event The event.
- Returns:
- 1 if handled, 0 if not handled.
| void ShowConfirmDialog | ( | struct ClientNode * | np, |
| void(*)(struct ClientNode *) | action, | ||
| ... | |||
| ) |
Show a confirm dialog.
- Parameters:
-
np A client window associated with the dialog. action A callback to run if "OK" is clicked.
| void ShutdownDialogs | ( | ) |
| void StartupDialogs | ( | ) |