Aller au code source de ce fichier.
#define CAIRO_DOCK_RUN_FIRST TRUE |
#define CAIRO_DOCK_RUN_AFTER FALSE |
#define CAIRO_DOCK_INTERCEPT_NOTIFICATION TRUE |
#define CAIRO_DOCK_LET_PASS_NOTIFICATION FALSE |
typedef gboolean(* CairoDockNotificationFunc)(gpointer *data) |
void cairo_dock_register_notification | ( | CairoDockNotificationType | iNotifType, | |
CairoDockNotificationFunc | pFunction, | |||
gboolean | bRunFirst | |||
) |
Enregistre une action a appeler lors d'une notification.
iNotifType | type de la notification. | |
pFunction | fonction notifiee. | |
bRunFirst | CAIRO_DOCK_RUN_FIRST pour etre enregistre en 1er, CAIRO_DOCK_RUN_AFTER pour etre enregistreé en dernier. |
void cairo_dock_remove_notification_func | ( | CairoDockNotificationType | iNotifType, | |
CairoDockNotificationFunc | pFunction | |||
) |
Enleve une fonction de la liste des fonctions appelees par une notification donnee.
iNotifType | type de la notification. | |
pFunction | fonction notifiee. |
gboolean cairo_dock_notify | ( | CairoDockNotificationType | iNotifType, | |
gpointer | data | |||
) |
Enleve une fonction de la liste des fonctions appelees par une notification donnee.
iNotifType | type de la notification. | |
data | donnees passees a la fonction notifiee. |
void cairo_dock_register_first_notifications | ( | int | iFirstNotifType, | |
... | ||||
) |
Enregistre une liste de fonctions devant etre notifiees en premier. La liste est une liste de couples (CairoDockNotificationType, CairoDockNotificationFunc), et doit etre clot par -1.
iFirstNotifType | type de la 1ere notification. | |
... | 1ere fonction notifiee, puis couple de (notification, fonction), termine par -1. |
void cairo_dock_register_last_notifications | ( | int | iFirstNotifType, | |
... | ||||
) |
Enregistre une liste de fonctions devant etre notifiees en dernier. La liste est une liste de couples (CairoDockNotificationType, CairoDockNotificationFunc), et doit etre clot par -1.
iFirstNotifType | type de la 1ere notification. | |
... | 1ere fonction notifiee, puis couple de (notification, fonction), termine par -1. |
void cairo_dock_remove_notification_funcs | ( | int | iFirstNotifType, | |
... | ||||
) |
Enleve une liste de fonctions notifiees. La liste est une liste de couples (CairoDockNotificationType, CairoDockNotificationFunc), et doit etre clot par -1.
iFirstNotifType | type de la 1ere notification. | |
... | 1ere fonction notifiee, puis couple de (notification, fonction), termine par -1. |