![]() |
![]() |
![]() |
libunity-webapps Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
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
);
void (*UnityWebappsIndicatorCallback) (UnityWebappsContext *context
,gpointer user_data
);
typedef struct { UnityWebappsContext *context; UnityWebappsGenIndicator *indicator_proxy; GHashTable *menu_callbacks_by_name; GHashTable *indicator_callbacks_by_name; guint indicator_rate; } 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
);