JWM Source Documentation
popup.h File Reference

Header for popup functions. More...

#include "settings.h"

Go to the source code of this file.


void ShowPopup (int x, int y, const char *text, const PopupMaskType context)
 Show a popup window.
char ProcessPopupEvent (const XEvent *event)
 Process a popup event.
#define InitializePopup()   (void)(0)
#define DestroyPopup()   (void)(0)
void StartupPopup (void)
 Startup popups.
void ShutdownPopup (void)
 Shutdown popups.

Detailed Description

Header for popup functions.

Joe Wingbermuehle

Definition in file popup.h.

Macro Definition Documentation

#define DestroyPopup ( )    (void)(0)

Definition at line 19 of file popup.h.

Referenced by Destroy().

#define InitializePopup ( )    (void)(0)

Definition at line 16 of file popup.h.

Referenced by Initialize().

Function Documentation

char ProcessPopupEvent ( const XEvent *  event)

Process a popup event.

eventThe event to process.
1 if handled, 0 otherwise.

Definition at line 220 of file popup.c.

References display, PopupType::height, JXCopyArea, JXDestroyWindow, JXFreePixmap, PopupType::pmap, rootGC, PopupType::width, and PopupType::window.

Referenced by WaitForEvent().

void ShowPopup ( int  x,
int  y,
const char *  text,
const PopupMaskType  context 
void ShutdownPopup ( void  )
void StartupPopup ( void  )

Startup popups.

Definition at line 42 of file popup.c.

References RegisterCallback(), SignalPopup(), PopupType::text, and PopupType::window.

Referenced by Startup().

joewing.net / Projects / JWM