JWM Source Documentation

dock.h File Reference

Dock tray component (used for system notifications). More...

Go to the source code of this file.

Functions

struct TrayComponentTypeCreateDock (int width)
 Create a dock to be used for notifications.
void HandleDockEvent (const XClientMessageEvent *event)
 Handle a client message sent to the dock window.
int HandleDockDestroy (Window win)
 Handle a destroy event.
int HandleDockSelectionClear (const XSelectionClearEvent *event)
 Handle a selection clear event.
int HandleDockResizeRequest (const XResizeRequestEvent *event)
 Handle a resize request.
int HandleDockConfigureRequest (const XConfigureRequestEvent *event)
 Handle a configure request.
int HandleDockReparentNotify (const XReparentEvent *event)
 Handle a reparent notify event.
void InitializeDock ()
void StartupDock ()
void ShutdownDock ()
void DestroyDock ()

Detailed Description

Dock tray component (used for system notifications).

Author:
Joe Wingbermuehle
Date:
2006

Definition in file dock.h.


Function Documentation

struct TrayComponentType* CreateDock ( int  width) [read]

Create a dock to be used for notifications.

Note that only one dock can be created.

Parameters:
widthThe width of an item in the dock.
void DestroyDock ( )
int HandleDockConfigureRequest ( const XConfigureRequestEvent *  event)

Handle a configure request.

Parameters:
eventThe configure request event.
Returns:
1 if handled, 0 otherwise.
int HandleDockDestroy ( Window  win)

Handle a destroy event.

Parameters:
winThe window that was destroyed.
Returns:
1 if handled, 0 otherwise.
void HandleDockEvent ( const XClientMessageEvent *  event)

Handle a client message sent to the dock window.

Parameters:
eventThe event.
int HandleDockReparentNotify ( const XReparentEvent *  event)

Handle a reparent notify event.

Parameters:
eventThe reparent notify event.
Returns:
1 if handled, 0 otherwise.
int HandleDockResizeRequest ( const XResizeRequestEvent *  event)

Handle a resize request.

Parameters:
eventThe resize request event.
Returns:
1 if handled, 0 otherwise.
int HandleDockSelectionClear ( const XSelectionClearEvent *  event)

Handle a selection clear event.

Parameters:
eventThe selection clear event.
Returns:
1 if handled, 0 otherwise.
void InitializeDock ( )
void ShutdownDock ( )
void StartupDock ( )