unity-webapps-launcher-context

unity-webapps-launcher-context

Synopsis

void                (*UnityWebappsLauncherCallback)     (UnityWebappsContext *context,
                                                         gpointer user_data);
                    UnityWebappsLauncherContext;
void                unity_webapps_launcher_add_action   (UnityWebappsContext *context,
                                                         const gchar *label,
                                                         UnityWebappsLauncherCallback callback,
                                                         gpointer user_data);
void                unity_webapps_launcher_clear_count  (UnityWebappsContext *context);
void                unity_webapps_launcher_clear_progress
                                                        (UnityWebappsContext *context);
void                unity_webapps_launcher_context_free (UnityWebappsLauncherContext *context);
UnityWebappsLauncherContext * unity_webapps_launcher_context_new
                                                        (UnityWebappsContext *main_context,
                                                         GError **error);
void                unity_webapps_launcher_set_count    (UnityWebappsContext *context,
                                                         gint count);
void                unity_webapps_launcher_set_progress (UnityWebappsContext *context,
                                                         gdouble progress);
void                unity_webapps_launcher_set_urgent   (UnityWebappsContext *context);

Description

Details

UnityWebappsLauncherCallback ()

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

UnityWebappsLauncherContext

typedef struct {
  UnityWebappsContext *context;

  UnityWebappsGenLauncher *launcher_proxy;
  GHashTable *quicklist_callbacks_by_name;
  guint launcher_rate;
} UnityWebappsLauncherContext;

unity_webapps_launcher_add_action ()

void                unity_webapps_launcher_add_action   (UnityWebappsContext *context,
                                                         const gchar *label,
                                                         UnityWebappsLauncherCallback callback,
                                                         gpointer user_data);

unity_webapps_launcher_clear_count ()

void                unity_webapps_launcher_clear_count  (UnityWebappsContext *context);

unity_webapps_launcher_clear_progress ()

void                unity_webapps_launcher_clear_progress
                                                        (UnityWebappsContext *context);

unity_webapps_launcher_context_free ()

void                unity_webapps_launcher_context_free (UnityWebappsLauncherContext *context);

unity_webapps_launcher_context_new ()

UnityWebappsLauncherContext * unity_webapps_launcher_context_new
                                                        (UnityWebappsContext *main_context,
                                                         GError **error);

unity_webapps_launcher_set_count ()

void                unity_webapps_launcher_set_count    (UnityWebappsContext *context,
                                                         gint count);

unity_webapps_launcher_set_progress ()

void                unity_webapps_launcher_set_progress (UnityWebappsContext *context,
                                                         gdouble progress);

unity_webapps_launcher_set_urgent ()

void                unity_webapps_launcher_set_urgent   (UnityWebappsContext *context);