qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
Go to the documentation of this file.
25 #include <gdk-pixbuf/gdk-pixbuf.h>
27 #include <glib-object.h>
36 #define TYPE_STATUS_NOTIFIER (status_notifier_get_type())
37 #define STATUS_NOTIFIER(obj) \
38 (G_TYPE_CHECK_INSTANCE_CAST((obj), TYPE_STATUS_NOTIFIER, StatusNotifier))
39 #define STATUS_NOTIFIER_CLASS(klass) \
40 (G_TYPE_CHECK_CLASS_CAST((klass), TYPE_STATUS_NOTIFIER, StatusNotiferClass))
41 #define IS_STATUS_NOTIFIER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), TYPE_STATUS_NOTIFIER))
42 #define IS_STATUS_NOTIFIER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((obj), TYPE_STATUS_NOTIFIER))
43 #define STATUS_NOTIFIER_GET_CLASS(obj) \
44 (G_TYPE_INSTANCE_GET_CLASS((obj), TYPE_STATUS_NOTIFIER, StatusNotifierClass))
48 #define STATUS_NOTIFIER_ERROR g_quark_from_static_string("StatusNotifier error")
219 const gchar* icon_name);
224 const gchar* icon_name);
gchar * status_notifier_get_icon_name(StatusNotifier *sn, StatusNotifierIcon icon)
GType status_notifier_get_type(void) G_GNUC_CONST
@ STATUS_NOTIFIER_STATUS_NEEDS_ATTENTION
gboolean(* context_menu)(StatusNotifier *sn, gint x, gint y)
@ STATUS_NOTIFIER_ATTENTION_ICON
void status_notifier_set_tooltip_title(StatusNotifier *sn, const gchar *title)
@ _NB_STATUS_NOTIFIER_ICONS
@ STATUS_NOTIFIER_CATEGORY_HARDWARE
void status_notifier_register(StatusNotifier *sn)
void status_notifier_set_from_icon_name(StatusNotifier *sn, StatusNotifierIcon icon, const gchar *icon_name)
@ STATUS_NOTIFIER_STATUS_ACTIVE
void status_notifier_set_window_id(StatusNotifier *sn, guint32 window_id)
gchar * status_notifier_get_tooltip_title(StatusNotifier *sn)
void status_notifier_thaw_tooltip(StatusNotifier *sn)
gboolean(* activate)(StatusNotifier *sn, gint x, gint y)
void status_notifier_set_tooltip(StatusNotifier *sn, const gchar *icon_name, const gchar *title, const gchar *body)
gchar * status_notifier_get_title(StatusNotifier *sn)
StatusNotifier * status_notifier_new_from_icon_name(const gchar *id, StatusNotifierCategory category, const gchar *icon_name)
StatusNotifierPrivate * priv
@ STATUS_NOTIFIER_SCROLL_ORIENTATION_VERTICAL
gboolean status_notifier_has_pixbuf(StatusNotifier *sn, StatusNotifierIcon icon)
gchar * status_notifier_get_tooltip_body(StatusNotifier *sn)
@ STATUS_NOTIFIER_ERROR_NO_CONNECTION
void status_notifier_set_status(StatusNotifier *sn, StatusNotifierStatus status)
@ STATUS_NOTIFIER_STATE_REGISTERED
const gchar * status_notifier_get_id(StatusNotifier *sn)
@ STATUS_NOTIFIER_CATEGORY_COMMUNICATIONS
@ STATUS_NOTIFIER_STATE_REGISTERING
StatusNotifierStatus status_notifier_get_status(StatusNotifier *sn)
@ STATUS_NOTIFIER_ERROR_NO_HOST
@ STATUS_NOTIFIER_STATUS_PASSIVE
gboolean(* scroll)(StatusNotifier *sn, gint delta, StatusNotifierScrollOrientation orientation)
gchar * status_notifier_get_attention_movie_name(StatusNotifier *sn)
void status_notifier_set_from_pixbuf(StatusNotifier *sn, StatusNotifierIcon icon, GdkPixbuf *pixbuf)
@ STATUS_NOTIFIER_CATEGORY_SYSTEM_SERVICES
StatusNotifierCategory status_notifier_get_category(StatusNotifier *sn)
@ STATUS_NOTIFIER_SCROLL_ORIENTATION_HORIZONTAL
gboolean(* secondary_activate)(StatusNotifier *sn, gint x, gint y)
StatusNotifier * status_notifier_new_from_pixbuf(const gchar *id, StatusNotifierCategory category, GdkPixbuf *pixbuf)
@ STATUS_NOTIFIER_OVERLAY_ICON
GObjectClass parent_class
@ STATUS_NOTIFIER_STATE_NOT_REGISTERED
void status_notifier_set_title(StatusNotifier *sn, const gchar *title)
GdkPixbuf * status_notifier_get_pixbuf(StatusNotifier *sn, StatusNotifierIcon icon)
typedefG_BEGIN_DECLS struct _StatusNotifier StatusNotifier
@ STATUS_NOTIFIER_CATEGORY_APPLICATION_STATUS
StatusNotifierScrollOrientation
void status_notifier_freeze_tooltip(StatusNotifier *sn)
@ STATUS_NOTIFIER_STATE_FAILED
StatusNotifierState status_notifier_get_state(StatusNotifier *sn)
@ STATUS_NOTIFIER_TOOLTIP_ICON
void(* registration_failed)(StatusNotifier *sn, GError *error)
@ STATUS_NOTIFIER_ERROR_NO_NAME
struct _StatusNotifierPrivate StatusNotifierPrivate
void status_notifier_set_tooltip_body(StatusNotifier *sn, const gchar *body)
guint32 status_notifier_get_window_id(StatusNotifier *sn)
void status_notifier_set_attention_movie_name(StatusNotifier *sn, const gchar *movie_name)
@ STATUS_NOTIFIER_ERROR_NO_WATCHER