Cairo-Dock
3.4.0
|
Data Structures | |
struct | _CairoDockClassAppli |
Definition of a Class of application. More... | |
Macros | |
#define | cairo_dock_register_class(cDesktopFile) |
Functions | |
void | gldi_window_foreach_inhibitor (GldiWindowActor *actor, GldiIconRFunc callback, gpointer data) |
void | cairo_dock_set_data_from_class (const gchar *cClass, Icon *pIcon) |
This class handles the Class Icons, which are icons pointing to the sub-dock of a class.
This class handles the managment of the applications classes. Classes are used to group the windows of a same program, and to bind a launcher to the launched application.
#define cairo_dock_register_class | ( | cDesktopFile | ) |
Register a class corresponding to a desktop file. Launchers can then derive from the class.
cDesktopFile | the desktop file path or name; if it's a name or if the path couldn't be found, it will be searched in the common directories. |
void gldi_window_foreach_inhibitor | ( | GldiWindowActor * | actor, |
GldiIconRFunc | callback, | ||
gpointer | data | ||
) |
Run a function on each Icon that inhibites a given window.
actor | the window actor |
callback | function to be called |
data | data passed to the callback |
void cairo_dock_set_data_from_class | ( | const gchar * | cClass, |
Icon * | pIcon | ||
) |
Make a launcher derive from a class. Parameters of the icon that are not NULL are not overwritten.
cClass | the class name |
pIcon | the icon |