Cairo-Dock
3.4.0
|
Data Structures | |
struct | _GldiDesktopManagerBackend |
Definition of the Desktop Manager backend. More... | |
struct | _GldiDesktopBackground |
Definition of a Desktop Background Buffer. It has a reference count so that it can be shared across all the lib. More... | |
Functions | |
void | gldi_desktop_manager_register_backend (GldiDesktopManagerBackend *pBackend) |
gboolean | gldi_desktop_present_class (const gchar *cClass) |
gboolean | gldi_desktop_present_windows (void) |
gboolean | gldi_desktop_present_desktops (void) |
gboolean | gldi_desktop_show_widget_layer (void) |
gboolean | gldi_desktop_set_on_widget_layer (GldiContainer *pContainer, gboolean bOnWidgetLayer) |
void | gldi_desktop_get_current (int *iCurrentDesktop, int *iCurrentViewportX, int *iCurrentViewportY) |
This class manages the desktop: screen geometry, current desktop/viewport, etc, and notifies for any change on it.
signals
void gldi_desktop_manager_register_backend | ( | GldiDesktopManagerBackend * | pBackend | ) |
Register a Desktop Manager backend. NULL functions do not overwrite existing ones.
pBackend | a Desktop Manager backend; can be freeed after. |
gboolean gldi_desktop_present_class | ( | const gchar * | cClass | ) |
Present all the windows of a given class.
cClass | the class. |
gboolean gldi_desktop_present_windows | ( | void | ) |
Present all the windows of the current desktop.
gboolean gldi_desktop_present_desktops | ( | void | ) |
Present all the desktops.
gboolean gldi_desktop_show_widget_layer | ( | void | ) |
Show the Widget Layer.
gboolean gldi_desktop_set_on_widget_layer | ( | GldiContainer * | pContainer, |
gboolean | bOnWidgetLayer | ||
) |
Set a Container to be displayed on the Widget Layer.
pContainer | a container. |
bOnWidgetLayer | whether to set or unset the option. |
void gldi_desktop_get_current | ( | int * | iCurrentDesktop, |
int * | iCurrentViewportX, | ||
int * | iCurrentViewportY | ||
) |
Get the current workspace (desktop and viewport).
iCurrentDesktop | will be filled with the current desktop number |
iCurrentViewportX | will be filled with the current horizontal viewport number |
iCurrentViewportY | will be filled with the current vertical viewport number |