|
Cairo-Dock 2.4.0~1
|
Defines | |
| #define | _cairo_dock_appli_is_on_our_way(icon, pDock) |
| void cairo_dock_reset_applications_manager (void); | |
Functions | |
| void | cairo_dock_start_applications_manager (CairoDock *pDock) |
| Icon * | cairo_dock_search_window_covering_dock (CairoDock *pDock, gboolean bMaximizedWindow, gboolean bFullScreenWindow) |
| Icon * | cairo_dock_search_window_overlapping_dock (CairoDock *pDock) |
| GList * | cairo_dock_get_current_applis_list (void) |
| Window | cairo_dock_get_current_active_window (void) |
| Icon * | cairo_dock_get_current_active_icon (void) |
| Icon * | cairo_dock_get_icon_with_Xid (Window Xid) |
| void | cairo_dock_foreach_applis (CairoDockForeachIconFunc pFunction, gboolean bOutsideDockOnly, gpointer pUserData) |
| void | cairo_dock_foreach_applis_on_viewport (CairoDockForeachIconFunc pFunction, int iNumDesktop, int iNumViewportX, int iNumViewportY, gpointer pUserData) |
This class manages the list of known windows, ie the Taskbar. It also provides convenient functions to act on all the applis icons at once.
| void cairo_dock_start_applications_manager | ( | CairoDock * | pDock | ) |
Start the applications manager. It will load all the applis, and keep monitoring them. If enabled, it will insert them into the dock.
| pDock | the main dock |
| Icon* cairo_dock_search_window_covering_dock | ( | CairoDock * | pDock, |
| gboolean | bMaximizedWindow, | ||
| gboolean | bFullScreenWindow | ||
| ) |
Get the icon of an application whose window covers entirely a dock, or NULL if none. If both parameters are FALSE, check for all windows.
| pDock | the dock to test. |
| bMaximizedWindow | check for maximized windows only. |
| bFullScreenWindow | check for full screen windows only. |
Get the icon of an application whose window overlaps a dock, or NULL if none.
| pDock | the dock to test. |
| GList* cairo_dock_get_current_applis_list | ( | void | ) |
Get the list of appli's icons currently known by Cairo-Dock, including the icons not displayed in the dock. You can then order the list by z-order, name, etc.
| Window cairo_dock_get_current_active_window | ( | void | ) |
Get the currently active window ID.
| Icon* cairo_dock_get_current_active_icon | ( | void | ) |
Get the icon of the currently active window.
| Icon* cairo_dock_get_icon_with_Xid | ( | Window | Xid | ) |
Get the icon of a given window. The search is fast.
| Xid | the id of the X window. |
| void cairo_dock_foreach_applis | ( | CairoDockForeachIconFunc | pFunction, |
| gboolean | bOutsideDockOnly, | ||
| gpointer | pUserData | ||
| ) |
Run a function on all appli's icons.
| pFunction | a /ref CairoDockForeachIconFunc function to be called |
| bOutsideDockOnly | TRUE if you only want to go through icons that are not inside a dock, FALSE to go through all icons. |
| pUserData | a data passed to the function. |
| void cairo_dock_foreach_applis_on_viewport | ( | CairoDockForeachIconFunc | pFunction, |
| int | iNumDesktop, | ||
| int | iNumViewportX, | ||
| int | iNumViewportY, | ||
| gpointer | pUserData | ||
| ) |
Run a function on all appli's icons present on a given workspace.
| pFunction | a /ref CairoDockForeachIconFunc function to be called |
| iNumDesktop | number of the desktop |
| iNumViewportX | number of the horizontal viewport |
| iNumViewportY | number of the vertical viewport |
| pUserData | a data passed to the function. |