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 TrayComponentType * | CreateDock (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
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:
-
width The width of an item in the dock.
| void DestroyDock | ( | ) |
| int HandleDockConfigureRequest | ( | const XConfigureRequestEvent * | event | ) |
Handle a configure request.
- Parameters:
-
event The configure request event.
- Returns:
- 1 if handled, 0 otherwise.
| int HandleDockDestroy | ( | Window | win | ) |
Handle a destroy event.
- Parameters:
-
win The 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:
-
event The event.
| int HandleDockReparentNotify | ( | const XReparentEvent * | event | ) |
Handle a reparent notify event.
- Parameters:
-
event The reparent notify event.
- Returns:
- 1 if handled, 0 otherwise.
| int HandleDockResizeRequest | ( | const XResizeRequestEvent * | event | ) |
Handle a resize request.
- Parameters:
-
event The resize request event.
- Returns:
- 1 if handled, 0 otherwise.
| int HandleDockSelectionClear | ( | const XSelectionClearEvent * | event | ) |
Handle a selection clear event.
- Parameters:
-
event The selection clear event.
- Returns:
- 1 if handled, 0 otherwise.
| void InitializeDock | ( | ) |
| void ShutdownDock | ( | ) |
| void StartupDock | ( | ) |