Misc useful functions used by various parts of matchbox.
More...
Detailed Description
Misc useful functions used by various parts of matchbox.
Function Documentation
Exec a command similar to how a shell would, mainly passing quotes.
- Parameters:
-
- Returns:
- exec() result
Get window ID of app with specified binary name.
- Parameters:
-
dpy | X11 Display |
bin_name | name of executable ( argv[0] ) |
- Returns:
- X11 window ID or None if not found.
Test to see if an app is in 'startup' phase.
- Parameters:
-
dpy | X11 Display |
bin_name | name of executable ( argv[0] ) |
- Returns:
- True / False
Safely returns the current HOME directory or /tmp if not set.
You should not free the value returned.
- Returns:
- home directory or /tmp if not set
Get root pixmap if set.
- Parameters:
-
- Returns:
- Pixmap of root window or None if not set.
Get a full theme path from its name.
The function allocates memory for the returned data, this should be freed by the caller.
- Parameters:
-
- Returns:
- full pull to theme directory or NULL
Raise/Activate an existing window.
- Parameters:
-
dpy | X11 Display |
win | Window ID to 'activate' |