|
Cairo-Dock 2.4.0~1
|
Functions | |
| gboolean | cairo_dock_export_current_theme (const gchar *cNewThemeName, gboolean bSaveBehavior, gboolean bSaveLaunchers) |
| gboolean | cairo_dock_package_current_theme (const gchar *cThemeName) |
| gchar * | cairo_dock_depackage_theme (const gchar *cPackagePath) |
| gboolean | cairo_dock_delete_themes (gchar **cThemesList) |
| gboolean | cairo_dock_import_theme (const gchar *cThemeName, gboolean bLoadBehavior, gboolean bLoadLaunchers) |
| CairoDockTask * | cairo_dock_import_theme_async (const gchar *cThemeName, gboolean bLoadBehavior, gboolean bLoadLaunchers, GFunc pCallback, gpointer data) |
This class allows defines the structure of the global theme of the dock (launchers, icons, plug-ins, configuration files, etc). It also provides methods to manage the themes, like exporting the current theme, importing new themes, deleting themes, etc.
| gboolean cairo_dock_export_current_theme | ( | const gchar * | cNewThemeName, |
| gboolean | bSaveBehavior, | ||
| gboolean | bSaveLaunchers | ||
| ) |
Export the current theme to a given name. Exported themes can be imported directly from the Theme Manager.
| cNewThemeName | name to export the theme to. |
| bSaveBehavior | whether to save the behavior paremeters too. |
| bSaveLaunchers | whether to save the launchers too. |
| gboolean cairo_dock_package_current_theme | ( | const gchar * | cThemeName | ) |
Create a package of the current theme. Packages can be distributed easily, and imported into the dock by a mere drag and drop into the Theme Manager. The package is placed in the Home.
| cThemeName | name of the package. |
| gchar* cairo_dock_depackage_theme | ( | const gchar * | cPackagePath | ) |
Extract a package into the themes folder. Does not load it.
| cPackagePath | path of a package. If the package is distant, it is first downoladed. |
| gboolean cairo_dock_delete_themes | ( | gchar ** | cThemesList | ) |
Remove some exported themes from the hard-disk.
| cThemesList | a list of theme names, NULL-terminated. |
| gboolean cairo_dock_import_theme | ( | const gchar * | cThemeName, |
| gboolean | bLoadBehavior, | ||
| gboolean | bLoadLaunchers | ||
| ) |
Import a theme, which can be : a local theme, a user theme, a distant theme, or even the path to a packaged theme.
| cThemeName | name of the theme to import. |
| bLoadBehavior | whether to import the behavior parameters too. |
| bLoadLaunchers | whether to import the launchers too. |
| CairoDockTask* cairo_dock_import_theme_async | ( | const gchar * | cThemeName, |
| gboolean | bLoadBehavior, | ||
| gboolean | bLoadLaunchers, | ||
| GFunc | pCallback, | ||
| gpointer | data | ||
| ) |
Asynchronously import a theme, which can be : a local theme, a user theme, a distant theme, or even the path to a packaged theme. This function is non-blocking, you'll get a CairoTask that you can discard at any time, and you'll get the result of the import as the first argument of the callback (the second being the data you passed to this function).
| cThemeName | name of the theme to import. |
| bLoadBehavior | whether to import the behavior parameters too. |
| bLoadLaunchers | whether to import the launchers too. |
| pCallback | function called when the download is finished. It takes the result of the import (TRUE for a successful import) and the data you've set here. |
| data | data to be passed to the callback. |