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               (gpointer boxed_type);

Object Hierarchy

  GObject
   +----MexNotificationSource
         +----MexGenericNotificationSource
         +----MexGIONotificationSource
         +----MexNetworkNotificationSource

Signals

  "notification-added"                             : Run First
  "notification-removed"                           : Run First

Description

Details

struct MexNotificationSource

struct MexNotificationSource;

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               (gpointer boxed_type);

Signal Details

The "notification-added" signal

void                user_function                      (MexNotificationSource *mexnotificationsource,
                                                        MexNotification       *arg1,
                                                        gpointer               user_data)                  : Run First

The "notification-removed" signal

void                user_function                      (MexNotificationSource *mexnotificationsource,
                                                        MexNotification       *arg1,
                                                        gpointer               user_data)                  : Run First