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

Header for the confirm dialog functions.

Author:
Joe Wingbermuehle
Date:
2004-2006

Definition in file confirm.h.


Function Documentation

void DestroyDialogs ( )
void InitializeDialogs ( )
int ProcessDialogEvent ( const XEvent *  event)

Handle an event on a dialog window.

Parameters:
eventThe event.
Returns:
1 if handled, 0 if not handled.
void ShowConfirmDialog ( struct ClientNode np,
void(*)(struct ClientNode *)  action,
  ... 
)

Show a confirm dialog.

Parameters:
npA client window associated with the dialog.
actionA callback to run if "OK" is clicked.
void ShutdownDialogs ( )
void StartupDialogs ( )