Swallow tray component.
More...
Go to the source code of this file.
Detailed Description
Swallow tray component.
- Author:
- Joe Wingbermuehle
- Date:
- 2005-2006
Definition in file swallow.h.
Function Documentation
| int CheckSwallowMap |
( |
const XMapEvent * |
event | ) |
|
Determine if a map event was for a window that should be swallowed.
- Parameters:
-
- Returns:
- 1 if this window should be swallowed, 0 if not.
| struct TrayComponentType* CreateSwallow |
( |
const char * |
name, |
|
|
const char * |
command, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| [read] |
Create a swallowed application tray component.
- Parameters:
-
| name | The name of the application to swallow. |
| command | The command used to start the swallowed application. |
| width | The width to use (0 for default). |
| height | the height to use (0 for default). |
| void InitializeSwallow |
( |
| ) |
|
| int ProcessSwallowEvent |
( |
const XEvent * |
event | ) |
|
Process an event on a swallowed window.
- Parameters:
-
| event | The event to process. |
- Returns:
- 1 if the event was for a swallowed window, 0 if not.