JWM Source Documentation
Functions
confirm.h File Reference

Header for the confirm dialog functions. More...

Go to the source code of this file.

Functions

char ProcessDialogEvent (const XEvent *event)
 Handle an event on a dialog window.
 
void ShowConfirmDialog (struct ClientNode *np, void(*action)(struct ClientNode *),...)
 Show a confirm dialog.
 
#define InitializeDialogs()   (void)(0)
 
#define StartupDialogs()   (void)(0)
 
#define DestroyDialogs()   (void)(0)
 
void ShutdownDialogs (void)
 Stop dialog processing.
 

Detailed Description

Header for the confirm dialog functions.

Author
Joe Wingbermuehle
Date
2004-2006

Definition in file confirm.h.

Macro Definition Documentation

#define DestroyDialogs ( )    (void)(0)

Definition at line 19 of file confirm.h.

Referenced by Destroy().

#define InitializeDialogs ( )    (void)(0)

Definition at line 16 of file confirm.h.

Referenced by Initialize().

#define StartupDialogs ( )    (void)(0)

Definition at line 17 of file confirm.h.

Referenced by Startup().

Function Documentation

char ProcessDialogEvent ( const XEvent *  event)

Handle an event on a dialog window.

Parameters
eventThe event.
Returns
1 if handled, 0 if not handled.

Definition at line 100 of file confirm.c.

References Assert, HandleDialogButtonPress(), HandleDialogButtonRelease(), HandleDialogExpose(), and HandleDialogKeyPress().

Referenced by WaitForEvent().

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  )

Stop dialog processing.

Definition at line 78 of file confirm.c.

References DestroyConfirmDialog().

Referenced by Shutdown().

joewing.net / Projects / JWM