|
Cairo-Dock 2.4.0~1
|
Data Structures | |
| struct | _CairoDockClassAppli |
| Definition of a Class of application. More... | |
Defines | |
| #define | cairo_dock_register_class(cDesktopFile) |
Functions | |
| void | cairo_dock_set_data_from_class (const gchar *cClass, Icon *pIcon) |
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 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 |