Cairo-Dock  3.4.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
cairo-dock-applications-manager.h File Reference

Macros

#define GLDI_OBJECT_IS_APPLI_ICON(obj)
 

Functions

void cairo_dock_start_applications_manager (CairoDock *pDock)
 
GList * cairo_dock_get_current_applis_list (void)
 
Iconcairo_dock_get_current_active_icon (void)
 
Iconcairo_dock_get_appli_icon (GldiWindowActor *actor)
 
void cairo_dock_foreach_appli_icon (GldiIconFunc pFunction, gpointer pUserData)
 

Detailed Description

This class manages the list of icons representing a window, ie the Taskbar.

Macro Definition Documentation

#define GLDI_OBJECT_IS_APPLI_ICON (   obj)

Say if an object is an AppliIcon.

Parameters
objthe object.
Returns
TRUE if the object is a AppliIcon.

Function Documentation

void cairo_dock_start_applications_manager ( CairoDock pDock)

Start the applications manager. It will load all the appli-icons, and keep monitoring them. If enabled, it will insert them into the dock.

Parameters
pDockthe main dock
GList* cairo_dock_get_current_applis_list ( void  )

Get the list of appli-icons, including the icons not currently displayed in the dock. You can then order the list by z-order, name, etc.

Returns
a newly allocated list of appli-icons. You must free the list when you're done with it, but not the icons.
Icon* cairo_dock_get_current_active_icon ( void  )

Get the icon of the currently active window, if any.

Returns
the icon (maybe not inside a dock, maybe NULL).
Icon* cairo_dock_get_appli_icon ( GldiWindowActor actor)

Get the icon of a given window, if any.

Parameters
actorthe window actor
Returns
the icon (maybe not inside a dock, maybe NULL).
void cairo_dock_foreach_appli_icon ( GldiIconFunc  pFunction,
gpointer  pUserData 
)

Run a function on all Appli icons.

Parameters
pFunctionfunction to be called
pUserDatadata passed to the function.