MexNotificationSource

MexNotificationSource

Synopsis

struct              MexNotificationSource;
struct              MexNotificationSourceClass;
MexNotificationSource * mex_notification_source_new     (void);
MexNotification *   mex_notification_source_new_notification
                                                        (MexNotificationSource *source,
                                                         const gchar *message,
                                                         const gchar *icon,
                                                         gint duration);
void                mex_notification_source_emit_notification_added
                                                        (MexNotificationSource *source,
                                                         MexNotification *notification);
void                mex_notification_source_emit_notification_remove
                                                        (MexNotificationSource *source,
                                                         MexNotification *notification);
GType               mex_notification_get_type           (void);
#define             MEX_TYPE_NOTIFICATION
void                mex_notification_free               (MexNotification *notification);

Description

Details

struct MexNotificationSource

struct MexNotificationSource {
  GObject parent;
};

struct MexNotificationSourceClass

struct MexNotificationSourceClass {
  GObjectClass parent_class;
  void (*notification_added) (MexNotificationSource *source, MexNotification *notification);
  void (*notification_removed) (MexNotificationSource *source, MexNotification *notification);
};

mex_notification_source_new ()

MexNotificationSource * mex_notification_source_new     (void);

mex_notification_source_new_notification ()

MexNotification *   mex_notification_source_new_notification
                                                        (MexNotificationSource *source,
                                                         const gchar *message,
                                                         const gchar *icon,
                                                         gint duration);

mex_notification_source_emit_notification_added ()

void                mex_notification_source_emit_notification_added
                                                        (MexNotificationSource *source,
                                                         MexNotification *notification);

mex_notification_source_emit_notification_remove ()

void                mex_notification_source_emit_notification_remove
                                                        (MexNotificationSource *source,
                                                         MexNotification *notification);

mex_notification_get_type ()

GType               mex_notification_get_type           (void);

MEX_TYPE_NOTIFICATION

#define MEX_TYPE_NOTIFICATION mex_notification_get_type ()

mex_notification_free ()

void                mex_notification_free               (MexNotification *notification);