UnityWebappsContext

UnityWebappsContext

Functions

void unity_webapps_context_new ()
UnityWebappsContext * unity_webapps_context_new_sync ()
UnityWebappsContext * unity_webapps_context_new_for_context_name ()
const gchar * unity_webapps_context_get_context_name ()
const gchar * unity_webapps_context_get_name ()
const gchar * unity_webapps_context_get_domain ()
const gchar * unity_webapps_context_get_desktop_name ()
gchar * unity_webapps_context_get_icon_name ()
void unity_webapps_context_add_icon ()
GVariant * unity_webapps_context_list_interests ()
void unity_webapps_context_on_interest_appeared ()
void unity_webapps_context_on_interest_vanished ()
gchar * unity_webapps_context_get_interest_owner ()
void unity_webapps_context_raise ()
void unity_webapps_context_raise_interest ()
void unity_webapps_context_close ()
void unity_webapps_context_close_interest ()
void unity_webapps_context_request_preview ()
gboolean unity_webapps_context_get_view_is_active ()
void unity_webapps_context_set_view_is_active ()
void unity_webapps_context_on_view_is_active_changed ()
gchar * unity_webapps_context_get_view_location ()
void unity_webapps_context_set_view_location ()
void unity_webapps_context_on_view_location_changed ()
guint64 unity_webapps_context_get_view_window ()
void unity_webapps_context_set_view_window ()
void unity_webapps_context_on_view_window_changed ()
void unity_webapps_context_on_close_callback ()
void unity_webapps_context_on_raise_callback ()
void unity_webapps_context_set_preview_requested_callback ()
void unity_webapps_context_destroy ()
void (*UnityWebappsContextActionCallback) ()
void (*UnityWebappsContextLocationNotifyCallback) ()
void (*UnityWebappsContextNotifyCallback) ()
const gchar * (*UnityWebappsContextPreviewCallback) ()
void (*UnityWebappsContextPreviewReadyCallback) ()
void (*UnityWebappsContextRaiseCallback) ()
void (*UnityWebappsContextReadyCallback) ()
void (*UnityWebappsContextViewNotifyCallback) ()
void (*UnityWebappsContextWindowNotifyCallback) ()

Types and Values

Object Hierarchy


Description

Functions

unity_webapps_context_new ()

void
unity_webapps_context_new (UnityWebappsService *service,
                           const gchar *name,
                           const gchar *domain,
                           const gchar *icon_url,
                           const gchar *mime_types,
                           UnityWebappsContextReadyCallback callback,
                           gpointer user_data);

unity_webapps_context_new_sync ()

UnityWebappsContext *
unity_webapps_context_new_sync (UnityWebappsService *service,
                                const gchar *name,
                                const gchar *domain,
                                const gchar *icon_url,
                                const gchar *mime_types);

unity_webapps_context_new_for_context_name ()

UnityWebappsContext *
unity_webapps_context_new_for_context_name
                               (UnityWebappsService *service,
                                const gchar *context_name);

unity_webapps_context_get_context_name ()

const gchar *
unity_webapps_context_get_context_name
                               (UnityWebappsContext *context);

unity_webapps_context_get_name ()

const gchar *
unity_webapps_context_get_name (UnityWebappsContext *context);

unity_webapps_context_get_domain ()

const gchar *
unity_webapps_context_get_domain (UnityWebappsContext *context);

unity_webapps_context_get_desktop_name ()

const gchar *
unity_webapps_context_get_desktop_name
                               (UnityWebappsContext *context);

unity_webapps_context_get_icon_name ()

gchar *
unity_webapps_context_get_icon_name (UnityWebappsContext *context);

unity_webapps_context_add_icon ()

void
unity_webapps_context_add_icon (UnityWebappsContext *context,
                                const gchar *url,
                                gint size);

unity_webapps_context_list_interests ()

GVariant *
unity_webapps_context_list_interests (UnityWebappsContext *context);

unity_webapps_context_on_interest_appeared ()

void
unity_webapps_context_on_interest_appeared
                               (UnityWebappsContext *context,
                                UnityWebappsContextNotifyCallback callback,
                                gpointer user_data);

unity_webapps_context_on_interest_vanished ()

void
unity_webapps_context_on_interest_vanished
                               (UnityWebappsContext *context,
                                UnityWebappsContextNotifyCallback callback,
                                gpointer user_data);

unity_webapps_context_get_interest_owner ()

gchar *
unity_webapps_context_get_interest_owner
                               (UnityWebappsContext *context,
                                gint interest_id);

unity_webapps_context_raise ()

void
unity_webapps_context_raise (UnityWebappsContext *context);

unity_webapps_context_raise_interest ()

void
unity_webapps_context_raise_interest (UnityWebappsContext *context,
                                      gint interest_id);

unity_webapps_context_close ()

void
unity_webapps_context_close (UnityWebappsContext *context);

unity_webapps_context_close_interest ()

void
unity_webapps_context_close_interest (UnityWebappsContext *context,
                                      gint interest_id);

unity_webapps_context_request_preview ()

void
unity_webapps_context_request_preview (UnityWebappsContext *context,
                                       gint interest_id,
                                       UnityWebappsContextPreviewReadyCallback callback,
                                       gpointer user_data);

unity_webapps_context_get_view_is_active ()

gboolean
unity_webapps_context_get_view_is_active
                               (UnityWebappsContext *context,
                                gint interest_id);

unity_webapps_context_set_view_is_active ()

void
unity_webapps_context_set_view_is_active
                               (UnityWebappsContext *context,
                                gboolean active);

unity_webapps_context_on_view_is_active_changed ()

void
unity_webapps_context_on_view_is_active_changed
                               (UnityWebappsContext *context,
                                UnityWebappsContextViewNotifyCallback callback,
                                gpointer user_data);

unity_webapps_context_get_view_location ()

gchar *
unity_webapps_context_get_view_location
                               (UnityWebappsContext *context,
                                gint interest_id);

unity_webapps_context_set_view_location ()

void
unity_webapps_context_set_view_location
                               (UnityWebappsContext *context,
                                const gchar *location);

unity_webapps_context_on_view_location_changed ()

void
unity_webapps_context_on_view_location_changed
                               (UnityWebappsContext *context,
                                UnityWebappsContextLocationNotifyCallback callback,
                                gpointer user_data);

unity_webapps_context_get_view_window ()

guint64
unity_webapps_context_get_view_window (UnityWebappsContext *context,
                                       gint interest_id);

unity_webapps_context_set_view_window ()

void
unity_webapps_context_set_view_window (UnityWebappsContext *context,
                                       guint64 window);

unity_webapps_context_on_view_window_changed ()

void
unity_webapps_context_on_view_window_changed
                               (UnityWebappsContext *context,
                                UnityWebappsContextWindowNotifyCallback callback,
                                gpointer user_data);

unity_webapps_context_on_close_callback ()

void
unity_webapps_context_on_close_callback
                               (UnityWebappsContext *context,
                                UnityWebappsContextCloseCallback callback,
                                gpointer user_data);

unity_webapps_context_on_raise_callback ()

void
unity_webapps_context_on_raise_callback
                               (UnityWebappsContext *context,
                                UnityWebappsContextRaiseCallback callback,
                                gpointer user_data);

unity_webapps_context_set_preview_requested_callback ()

void
unity_webapps_context_set_preview_requested_callback
                               (UnityWebappsContext *context,
                                UnityWebappsContextPreviewCallback callback,
                                gpointer user_data);

unity_webapps_context_destroy ()

void
unity_webapps_context_destroy (UnityWebappsContext *context,
                               gboolean user_abandoned);

UnityWebappsContextActionCallback ()

void
(*UnityWebappsContextActionCallback) (UnityWebappsContext *context,
                                      gpointer user_data);

UnityWebappsContextLocationNotifyCallback ()

void
(*UnityWebappsContextLocationNotifyCallback)
                               (UnityWebappsContext *Param1,
                                gint Param2,
                                const gchar *Param3,
                                gpointer Param4);

UnityWebappsContextNotifyCallback ()

void
(*UnityWebappsContextNotifyCallback) (UnityWebappsContext *Param1,
                                      gint Param2,
                                      gpointer Param3);

UnityWebappsContextPreviewCallback ()

const gchar *
(*UnityWebappsContextPreviewCallback) (UnityWebappsContext *context,
                                       gpointer user_data);

UnityWebappsContextPreviewReadyCallback ()

void
(*UnityWebappsContextPreviewReadyCallback)
                               (UnityWebappsContext *context,
                                gint interest_id,
                                const gchar *preview_data,
                                gpointer user_data);

UnityWebappsContextRaiseCallback ()

void
(*UnityWebappsContextRaiseCallback) (UnityWebappsContext *context,
                                     const gchar *file,
                                     gpointer user_data);

UnityWebappsContextReadyCallback ()

void
(*UnityWebappsContextReadyCallback) (UnityWebappsContext *Param1,
                                     gpointer user_data);

UnityWebappsContextViewNotifyCallback ()

void
(*UnityWebappsContextViewNotifyCallback)
                               (UnityWebappsContext *Param1,
                                gint Param2,
                                gboolean Param3,
                                gpointer Param4);

UnityWebappsContextWindowNotifyCallback ()

void
(*UnityWebappsContextWindowNotifyCallback)
                               (UnityWebappsContext *Param1,
                                gint Param2,
                                guint64 Param3,
                                gpointer Param4);

Types and Values

struct UnityWebappsContext

struct UnityWebappsContext {
	GObject object;
	UnityWebappsContextPrivate *priv;
};

struct UnityWebappsContextClass

struct UnityWebappsContextClass {
	GObjectClass parent_class;

	UnityWebappsContextAcceptDataChanged accept_data_changed;
};