Aller au code source de ce fichier.
Macros | |
#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 |
Définition de type | |
typedef gboolean(* | CairoDockNotificationFunc )(gpointer *data) |
Énumérations | |
enum | CairoDockNotificationType { CAIRO_DOCK_REMOVE_ICON = 0, CAIRO_DOCK_CLICK_ICON, CAIRO_DOCK_DOUBLE_CLICK_ICON, CAIRO_DOCK_MIDDLE_CLICK_ICON, CAIRO_DOCK_ADD_ICON, CAIRO_DOCK_MODIFY_ICON, CAIRO_DOCK_BUILD_MENU, CAIRO_DOCK_DROP_DATA, CAIRO_DOCK_DESKTOP_CHANGED, CAIRO_DOCK_NB_NOTIFICATIONS } |
Fonctions | |
void | cairo_dock_register_notification (CairoDockNotificationType iNotifType, CairoDockNotificationFunc pFunction, gboolean bRunFirst) |
void | cairo_dock_remove_notification_func (CairoDockNotificationType iNotifType, CairoDockNotificationFunc pFunction) |
gboolean | cairo_dock_notify (CairoDockNotificationType iNotifType, gpointer data) |
#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. TRUE si la notification a ete utilisee par quelqu'un, FALSE si aucune fonction n'est enregistree pour elle. |