Synopsis
#include <midori/midori.h>
#define GTK_ACTIVATABLE
#define G_PARAM_STATIC_STRINGS
#define g_content_type_from_mime_type (mtp)
#define gtk_activatable_get_related_action
#define gtk_dialog_get_action_area (dlg)
#define gtk_dialog_get_content_area (dlg)
#define gtk_menu_item_set_label (menuitem,
label)
void gtk_tool_item_set_tooltip_text (GtkToolItem *toolitem
,
const gchar *text
);
#define gtk_widget_get_allocation (wdgt,
alloc)
#define gtk_widget_get_realized (widget)
#define gtk_widget_get_sensitive (widget)
#define gtk_widget_get_visible (widget)
#define gtk_widget_get_window (wdgt)
#define gtk_widget_has_focus (widget)
#define gtk_widget_is_toplevel (widget)
#define gtk_widget_set_can_focus (widget,
flag)
void gtk_widget_set_has_tooltip (GtkWidget *widget
,
gboolean has_tooltip
);
void gtk_widget_set_tooltip_text (GtkWidget *widget
,
const gchar *text
);
gchar * midori_download_prepare_tooltip_text
(WebKitDownload *download
);
gchar * sokoke_accept_languages (const gchar * const *lang_names
);
GtkWidget * sokoke_action_create_popup_menu_item
(GtkAction *action
);
gchar * sokoke_build_thumbnail_path (const gchar *name
);
void sokoke_combo_box_add_strings (GtkComboBox *combobox
,
const gchar *label_first
,
...
);
void sokoke_container_show_children (GtkContainer *container
);
gint sokoke_days_between (const time_t *day1
,
const time_t *day2
);
void sokoke_entry_set_default_text (GtkEntry *entry
,
const gchar *default_text
);
gboolean sokoke_external_uri (const gchar *uri
);
GtkWidget * sokoke_file_chooser_dialog_new (const gchar *title
,
GtkWindow *window
,
GtkFileChooserAction action
);
gchar * sokoke_find_config_filename (const gchar *folder
,
const gchar *filename
);
gchar * sokoke_find_data_filename (const gchar *filename
);
gchar * sokoke_find_lib_path (const gchar *folder
);
gchar * sokoke_format_uri_for_display (const gchar *uri
);
gchar ** sokoke_get_argv (gchar **argument_vector
);
guint sokoke_gtk_action_count_modifiers (GtkAction *action
);
gchar * sokoke_hostname_from_uri (const gchar *uri
,
gchar **path
);
gboolean sokoke_is_app_or_private (void
);
gchar * sokoke_js_script_eval (JSContextRef js_context
,
const gchar *script
,
gchar **exception
);
gboolean sokoke_key_file_get_boolean_default (GKeyFile *key_file
,
const gchar *group
,
const gchar *key
,
gboolean default_value
,
GError **error
);
gdouble sokoke_key_file_get_double_default (GKeyFile *key_file
,
const gchar *group
,
const gchar *key
,
gdouble default_value
,
GError **error
);
gint sokoke_key_file_get_integer_default (GKeyFile *key_file
,
const gchar *group
,
const gchar *key
,
const gint default_value
,
GError **error
);
gchar * sokoke_key_file_get_string_default (GKeyFile *key_file
,
const gchar *group
,
const gchar *key
,
const gchar *default_value
,
GError **error
);
gchar ** sokoke_key_file_get_string_list_default
(GKeyFile *key_file
,
const gchar *group
,
const gchar *key
,
gsize *length
,
gchar **default_value
,
gsize *default_length
,
GError *error
);
gboolean sokoke_key_file_save_to_file (GKeyFile *key_file
,
const gchar *filename
,
GError **error
);
gchar * sokoke_magic_uri (const gchar *uri
);
void sokoke_message_dialog (GtkMessageType message_type
,
const gchar *short_message
,
const gchar *detailed_message
,
gboolean modal
);
gboolean sokoke_prefetch_uri (MidoriWebSettings *settings
,
const char *uri
,
SoupAddressCallback callback
,
gpointer user_data
);
gboolean sokoke_recursive_fork_protection (const gchar *uri
,
gboolean set_uri
);
GList * sokoke_register_privacy_item (const gchar *name
,
const gchar *label
,
GCallback clear
);
void sokoke_register_stock_items (void
);
gboolean sokoke_remove_path (const gchar *path
,
gboolean ignore_errors
);
gchar * sokoke_replace_variables (const gchar *template
,
const gchar *variable_first
,
...
);
gboolean sokoke_resolve_hostname (const gchar *hostname
);
gchar * sokoke_search_uri (const gchar *uri
,
const gchar *keywords
);
const gchar * sokoke_set_config_dir (const gchar *new_config_dir
);
gboolean sokoke_show_uri (GdkScreen *screen
,
const gchar *uri
,
guint32 timestamp
,
GError **error
);
gboolean sokoke_show_uri_with_mime_type (GdkScreen *screen
,
const gchar *uri
,
const gchar *mime_type
,
guint32 timestamp
,
GError **error
);
void sokoke_spawn_app (const gchar *uri
,
gboolean inherit_config
);
gboolean sokoke_spawn_program (const gchar *command
,
const gchar *argument
);
gint64 sokoke_time_t_to_julian (const time_t *timestamp
);
gchar * sokoke_uri_to_ascii (const gchar *uri
);
gchar * sokoke_uri_unescape_string (const gchar *uri
);
void sokoke_widget_copy_clipboard (GtkWidget *widget
,
const gchar *text
);
void sokoke_widget_get_text_size (GtkWidget *widget
,
const gchar *text
,
gint *width
,
gint *height
);
void sokoke_widget_set_pango_font_style (GtkWidget *widget
,
PangoStyle style
);
void sokoke_widget_set_visible (GtkWidget *widget
,
gboolean visible
);
gboolean sokoke_window_activate_key (GtkWindow *window
,
GdkEventKey *event
);
GtkWidget * sokoke_xfce_header_new (const gchar *icon
,
const gchar *title
);
Details
GTK_ACTIVATABLE
#define GTK_ACTIVATABLE GTK_WIDGET
G_PARAM_STATIC_STRINGS
#define G_PARAM_STATIC_STRINGS
g_content_type_from_mime_type()
#define g_content_type_from_mime_type(mtp)
gtk_activatable_get_related_action
#define gtk_activatable_get_related_action gtk_widget_get_action
gtk_dialog_get_action_area()
#define gtk_dialog_get_action_area(dlg) dlg->action_area
gtk_dialog_get_content_area()
#define gtk_dialog_get_content_area(dlg) dlg->vbox
gtk_menu_item_set_label()
#define gtk_menu_item_set_label(menuitem, label)
gtk_tool_item_set_tooltip_text ()
void gtk_tool_item_set_tooltip_text (GtkToolItem *toolitem
,
const gchar *text
);
gtk_widget_get_allocation()
#define gtk_widget_get_allocation(wdgt, alloc) *alloc = wdgt->allocation
gtk_widget_get_realized()
#define gtk_widget_get_realized(widget) GTK_WIDGET_REALIZED (widget)
gtk_widget_get_sensitive()
#define gtk_widget_get_sensitive(widget) GTK_WIDGET_IS_SENSITIVE (widget)
gtk_widget_get_visible()
#define gtk_widget_get_visible(widget) GTK_WIDGET_VISIBLE (widget)
gtk_widget_get_window()
#define gtk_widget_get_window(wdgt) wdgt->window
gtk_widget_has_focus()
#define gtk_widget_has_focus(widget) GTK_WIDGET_HAS_FOCUS (widget)
gtk_widget_is_toplevel()
#define gtk_widget_is_toplevel(widget) GTK_WIDGET_TOPLEVEL (widget)
gtk_widget_set_can_focus()
#define gtk_widget_set_can_focus(widget,flag)
gtk_widget_set_has_tooltip ()
void gtk_widget_set_has_tooltip (GtkWidget *widget
,
gboolean has_tooltip
);
gtk_widget_set_tooltip_text ()
void gtk_widget_set_tooltip_text (GtkWidget *widget
,
const gchar *text
);
midori_download_prepare_tooltip_text ()
gchar * midori_download_prepare_tooltip_text
(WebKitDownload *download
);
sokoke_accept_languages ()
gchar * sokoke_accept_languages (const gchar * const *lang_names
);
sokoke_action_create_popup_menu_item ()
GtkWidget * sokoke_action_create_popup_menu_item
(GtkAction *action
);
sokoke_build_thumbnail_path ()
gchar * sokoke_build_thumbnail_path (const gchar *name
);
sokoke_combo_box_add_strings ()
void sokoke_combo_box_add_strings (GtkComboBox *combobox
,
const gchar *label_first
,
...
);
sokoke_container_show_children ()
void sokoke_container_show_children (GtkContainer *container
);
sokoke_days_between ()
gint sokoke_days_between (const time_t *day1
,
const time_t *day2
);
sokoke_entry_set_default_text ()
void sokoke_entry_set_default_text (GtkEntry *entry
,
const gchar *default_text
);
sokoke_external_uri ()
gboolean sokoke_external_uri (const gchar *uri
);
sokoke_file_chooser_dialog_new ()
GtkWidget * sokoke_file_chooser_dialog_new (const gchar *title
,
GtkWindow *window
,
GtkFileChooserAction action
);
sokoke_find_config_filename ()
gchar * sokoke_find_config_filename (const gchar *folder
,
const gchar *filename
);
sokoke_find_data_filename ()
gchar * sokoke_find_data_filename (const gchar *filename
);
sokoke_find_lib_path ()
gchar * sokoke_find_lib_path (const gchar *folder
);
sokoke_format_uri_for_display ()
gchar * sokoke_format_uri_for_display (const gchar *uri
);
sokoke_get_argv ()
gchar ** sokoke_get_argv (gchar **argument_vector
);
sokoke_gtk_action_count_modifiers ()
guint sokoke_gtk_action_count_modifiers (GtkAction *action
);
sokoke_hostname_from_uri ()
gchar * sokoke_hostname_from_uri (const gchar *uri
,
gchar **path
);
sokoke_is_app_or_private ()
gboolean sokoke_is_app_or_private (void
);
sokoke_js_script_eval ()
gchar * sokoke_js_script_eval (JSContextRef js_context
,
const gchar *script
,
gchar **exception
);
sokoke_key_file_get_boolean_default ()
gboolean sokoke_key_file_get_boolean_default (GKeyFile *key_file
,
const gchar *group
,
const gchar *key
,
gboolean default_value
,
GError **error
);
sokoke_key_file_get_double_default ()
gdouble sokoke_key_file_get_double_default (GKeyFile *key_file
,
const gchar *group
,
const gchar *key
,
gdouble default_value
,
GError **error
);
sokoke_key_file_get_integer_default ()
gint sokoke_key_file_get_integer_default (GKeyFile *key_file
,
const gchar *group
,
const gchar *key
,
const gint default_value
,
GError **error
);
sokoke_key_file_get_string_default ()
gchar * sokoke_key_file_get_string_default (GKeyFile *key_file
,
const gchar *group
,
const gchar *key
,
const gchar *default_value
,
GError **error
);
sokoke_key_file_get_string_list_default ()
gchar ** sokoke_key_file_get_string_list_default
(GKeyFile *key_file
,
const gchar *group
,
const gchar *key
,
gsize *length
,
gchar **default_value
,
gsize *default_length
,
GError *error
);
sokoke_key_file_save_to_file ()
gboolean sokoke_key_file_save_to_file (GKeyFile *key_file
,
const gchar *filename
,
GError **error
);
sokoke_magic_uri ()
gchar * sokoke_magic_uri (const gchar *uri
);
sokoke_message_dialog ()
void sokoke_message_dialog (GtkMessageType message_type
,
const gchar *short_message
,
const gchar *detailed_message
,
gboolean modal
);
sokoke_prefetch_uri ()
gboolean sokoke_prefetch_uri (MidoriWebSettings *settings
,
const char *uri
,
SoupAddressCallback callback
,
gpointer user_data
);
sokoke_recursive_fork_protection ()
gboolean sokoke_recursive_fork_protection (const gchar *uri
,
gboolean set_uri
);
sokoke_register_privacy_item ()
GList * sokoke_register_privacy_item (const gchar *name
,
const gchar *label
,
GCallback clear
);
sokoke_register_stock_items ()
void sokoke_register_stock_items (void
);
sokoke_remove_path ()
gboolean sokoke_remove_path (const gchar *path
,
gboolean ignore_errors
);
sokoke_replace_variables ()
gchar * sokoke_replace_variables (const gchar *template
,
const gchar *variable_first
,
...
);
sokoke_resolve_hostname ()
gboolean sokoke_resolve_hostname (const gchar *hostname
);
sokoke_search_uri ()
gchar * sokoke_search_uri (const gchar *uri
,
const gchar *keywords
);
sokoke_set_config_dir ()
const gchar * sokoke_set_config_dir (const gchar *new_config_dir
);
sokoke_show_uri ()
gboolean sokoke_show_uri (GdkScreen *screen
,
const gchar *uri
,
guint32 timestamp
,
GError **error
);
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_spawn_app ()
void sokoke_spawn_app (const gchar *uri
,
gboolean inherit_config
);
sokoke_spawn_program ()
gboolean sokoke_spawn_program (const gchar *command
,
const gchar *argument
);
sokoke_time_t_to_julian ()
gint64 sokoke_time_t_to_julian (const time_t *timestamp
);
sokoke_uri_to_ascii ()
gchar * sokoke_uri_to_ascii (const gchar *uri
);
sokoke_uri_unescape_string ()
gchar * sokoke_uri_unescape_string (const gchar *uri
);
sokoke_widget_copy_clipboard ()
void sokoke_widget_copy_clipboard (GtkWidget *widget
,
const gchar *text
);
sokoke_widget_get_text_size ()
void sokoke_widget_get_text_size (GtkWidget *widget
,
const gchar *text
,
gint *width
,
gint *height
);
sokoke_widget_set_pango_font_style ()
void sokoke_widget_set_pango_font_style (GtkWidget *widget
,
PangoStyle style
);
sokoke_widget_set_visible ()
void sokoke_widget_set_visible (GtkWidget *widget
,
gboolean visible
);
sokoke_window_activate_key ()
gboolean sokoke_window_activate_key (GtkWindow *window
,
GdkEventKey *event
);
sokoke_xfce_header_new ()
GtkWidget * sokoke_xfce_header_new (const gchar *icon
,
const gchar *title
);