unity-webapps-indicator-context
unity-webapps-indicator-context
|
|
Synopsis
void (*UnityWebappsIndicatorCallback) (UnityWebappsContext *context
,
gpointer user_data
);
UnityWebappsIndicatorContext;
void unity_webapps_indicator_add_action (UnityWebappsContext *context
,
const gchar *label
,
UnityWebappsIndicatorCallback callback
,
gpointer user_data
);
void unity_webapps_indicator_clear_indicator
(UnityWebappsContext *context
,
const gchar *name
);
void unity_webapps_indicator_context_free
(UnityWebappsIndicatorContext *context
);
UnityWebappsIndicatorContext * unity_webapps_indicator_context_new
(UnityWebappsContext *main_context
,
GError **error
);
gchar * unity_webapps_indicator_get_presence
(UnityWebappsContext *context
);
void unity_webapps_indicator_on_presence_changed_callback
(UnityWebappsContext *context
,
UnityWebappsIndicatorCallback callback
,
gpointer user_data
);
void unity_webapps_indicator_set_callback
(UnityWebappsContext *context
,
const gchar *name
,
UnityWebappsIndicatorCallback callback
,
gpointer user_data
);
void unity_webapps_indicator_set_property
(UnityWebappsContext *context
,
const gchar *name
,
const gchar *property
,
const gchar *value
);
void unity_webapps_indicator_set_property_icon
(UnityWebappsContext *context
,
const gchar *name
,
const gchar *property
,
const gchar *icon_url
);
void unity_webapps_indicator_show_indicator
(UnityWebappsContext *context
,
const gchar *name
);
Details
UnityWebappsIndicatorCallback ()
void (*UnityWebappsIndicatorCallback) (UnityWebappsContext *context
,
gpointer user_data
);
UnityWebappsIndicatorContext
typedef struct {
UnityWebappsContext *context;
UnityWebappsGenIndicator *indicator_proxy;
GHashTable *menu_callbacks_by_name;
GHashTable *indicator_callbacks_by_name;
guint indicator_rate;
} UnityWebappsIndicatorContext;
unity_webapps_indicator_clear_indicator ()
void unity_webapps_indicator_clear_indicator
(UnityWebappsContext *context
,
const gchar *name
);
unity_webapps_indicator_get_presence ()
gchar * unity_webapps_indicator_get_presence
(UnityWebappsContext *context
);
unity_webapps_indicator_set_property ()
void unity_webapps_indicator_set_property
(UnityWebappsContext *context
,
const gchar *name
,
const gchar *property
,
const gchar *value
);
unity_webapps_indicator_set_property_icon ()
void unity_webapps_indicator_set_property_icon
(UnityWebappsContext *context
,
const gchar *name
,
const gchar *property
,
const gchar *icon_url
);
unity_webapps_indicator_show_indicator ()
void unity_webapps_indicator_show_indicator
(UnityWebappsContext *context
,
const gchar *name
);