sokoke

sokoke

Synopsis

#include <midori/midori.h>

gchar *             sokoke_js_script_eval               (JSContextRef js_context,
                                                         const gchar *script,
                                                         gchar **exception);
void                sokoke_message_dialog               (GtkMessageType message_type,
                                                         const gchar *short_message,
                                                         const gchar *detailed_message,
                                                         gboolean modal);
gboolean            sokoke_show_uri_with_mime_type      (GdkScreen *screen,
                                                         const gchar *uri,
                                                         const gchar *mime_type,
                                                         guint32 timestamp,
                                                         GError **error);
gboolean            sokoke_show_uri                     (GdkScreen *screen,
                                                         const gchar *uri,
                                                         guint32 timestamp,
                                                         GError **error);
gchar *             sokoke_prepare_command              (const gchar *command,
                                                         gboolean quote_command,
                                                         const gchar *argument,
                                                         gboolean quote_argument);
gboolean            sokoke_spawn_program                (const gchar *command,
                                                         gboolean quote_command,
                                                         const gchar *argument,
                                                         gboolean quote_argument,
                                                         gboolean sync);
void                sokoke_spawn_gdb                    (const gchar *gdb,
                                                         gboolean sync);
void                sokoke_spawn_app                    (const gchar *uri,
                                                         gboolean inherit_config);
gboolean            sokoke_external_uri                 (const gchar *uri);
gchar *             sokoke_magic_uri                    (const gchar *uri,
                                                         gboolean allow_search,
                                                         gboolean allow_realtive);
void                sokoke_widget_set_visible           (GtkWidget *widget,
                                                         gboolean visible);
GtkWidget *         sokoke_xfce_header_new              (const gchar *icon,
                                                         const gchar *title);
gboolean            sokoke_key_file_save_to_file        (GKeyFile *key_file,
                                                         const gchar *filename,
                                                         GError **error);
void                sokoke_widget_get_text_size         (GtkWidget *widget,
                                                         const gchar *text,
                                                         gint *width,
                                                         gint *height);
gint64              sokoke_time_t_to_julian             (const time_t *timestamp);
gchar *             sokoke_replace_variables            (const gchar *template,
                                                         const gchar *variable_first,
                                                         ...);
gboolean            sokoke_window_activate_key          (GtkWindow *window,
                                                         GdkEventKey *event);
guint               sokoke_gtk_action_count_modifiers   (GtkAction *action);
gboolean            sokoke_prefetch_uri                 (MidoriWebSettings *settings,
                                                         const char *uri,
                                                         GCallback callback,
                                                         gpointer user_data);
gboolean            sokoke_resolve_hostname             (const gchar *hostname);
gboolean            sokoke_recursive_fork_protection    (const gchar *uri,
                                                         gboolean set_uri);
void                sokoke_widget_copy_clipboard        (GtkWidget *widget,
                                                         const gchar *text,
                                                         GtkClipboardGetFunc get_cb,
                                                         gpointer owner);
GtkWidget *         sokoke_search_entry_new             (const gchar *placeholder_text);
gchar *             sokoke_get_win32_desktop_lnk_path_for_filename
                                                        (gchar *filename);
void                sokoke_create_win32_desktop_lnk     (gchar *prefix,
                                                         gchar *filename,
                                                         gchar *uri);

Description

Details

sokoke_js_script_eval ()

gchar *             sokoke_js_script_eval               (JSContextRef js_context,
                                                         const gchar *script,
                                                         gchar **exception);

sokoke_message_dialog ()

void                sokoke_message_dialog               (GtkMessageType message_type,
                                                         const gchar *short_message,
                                                         const gchar *detailed_message,
                                                         gboolean modal);

sokoke_show_uri_with_mime_type ()

gboolean            sokoke_show_uri_with_mime_type      (GdkScreen *screen,
                                                         const gchar *uri,
                                                         const gchar *mime_type,
                                                         guint32 timestamp,
                                                         GError **error);

sokoke_show_uri ()

gboolean            sokoke_show_uri                     (GdkScreen *screen,
                                                         const gchar *uri,
                                                         guint32 timestamp,
                                                         GError **error);

sokoke_prepare_command ()

gchar *             sokoke_prepare_command              (const gchar *command,
                                                         gboolean quote_command,
                                                         const gchar *argument,
                                                         gboolean quote_argument);

sokoke_spawn_program ()

gboolean            sokoke_spawn_program                (const gchar *command,
                                                         gboolean quote_command,
                                                         const gchar *argument,
                                                         gboolean quote_argument,
                                                         gboolean sync);

sokoke_spawn_gdb ()

void                sokoke_spawn_gdb                    (const gchar *gdb,
                                                         gboolean sync);

sokoke_spawn_app ()

void                sokoke_spawn_app                    (const gchar *uri,
                                                         gboolean inherit_config);

sokoke_external_uri ()

gboolean            sokoke_external_uri                 (const gchar *uri);

sokoke_magic_uri ()

gchar *             sokoke_magic_uri                    (const gchar *uri,
                                                         gboolean allow_search,
                                                         gboolean allow_realtive);

sokoke_widget_set_visible ()

void                sokoke_widget_set_visible           (GtkWidget *widget,
                                                         gboolean visible);

sokoke_xfce_header_new ()

GtkWidget *         sokoke_xfce_header_new              (const gchar *icon,
                                                         const gchar *title);

sokoke_key_file_save_to_file ()

gboolean            sokoke_key_file_save_to_file        (GKeyFile *key_file,
                                                         const gchar *filename,
                                                         GError **error);

sokoke_widget_get_text_size ()

void                sokoke_widget_get_text_size         (GtkWidget *widget,
                                                         const gchar *text,
                                                         gint *width,
                                                         gint *height);

sokoke_time_t_to_julian ()

gint64              sokoke_time_t_to_julian             (const time_t *timestamp);

sokoke_replace_variables ()

gchar *             sokoke_replace_variables            (const gchar *template,
                                                         const gchar *variable_first,
                                                         ...);

sokoke_window_activate_key ()

gboolean            sokoke_window_activate_key          (GtkWindow *window,
                                                         GdkEventKey *event);

sokoke_gtk_action_count_modifiers ()

guint               sokoke_gtk_action_count_modifiers   (GtkAction *action);

sokoke_prefetch_uri ()

gboolean            sokoke_prefetch_uri                 (MidoriWebSettings *settings,
                                                         const char *uri,
                                                         GCallback callback,
                                                         gpointer user_data);

sokoke_resolve_hostname ()

gboolean            sokoke_resolve_hostname             (const gchar *hostname);

sokoke_recursive_fork_protection ()

gboolean            sokoke_recursive_fork_protection    (const gchar *uri,
                                                         gboolean set_uri);

sokoke_widget_copy_clipboard ()

void                sokoke_widget_copy_clipboard        (GtkWidget *widget,
                                                         const gchar *text,
                                                         GtkClipboardGetFunc get_cb,
                                                         gpointer owner);

sokoke_search_entry_new ()

GtkWidget *         sokoke_search_entry_new             (const gchar *placeholder_text);

sokoke_get_win32_desktop_lnk_path_for_filename ()

gchar *             sokoke_get_win32_desktop_lnk_path_for_filename
                                                        (gchar *filename);

sokoke_create_win32_desktop_lnk ()

void                sokoke_create_win32_desktop_lnk     (gchar *prefix,
                                                         gchar *filename,
                                                         gchar *uri);