Top | ![]() |
![]() |
![]() |
![]() |
|
midori_extension_load_from_file () |
|
midori_extension_activate () |
|
midori_extension_activate_gracefully () |
|
midori_extension_is_prepared () |
|
midori_extension_has_preferences () |
|
midori_extension_is_active () |
|
midori_extension_deactivate () |
|
midori_extension_get_app () |
const |
midori_extension_get_config_dir () |
|
midori_extension_install_boolean () |
|
midori_extension_get_boolean () |
|
midori_extension_set_boolean () |
|
midori_extension_install_integer () |
|
midori_extension_get_integer () |
|
midori_extension_set_integer () |
|
midori_extension_install_string () |
const |
midori_extension_get_string () |
|
midori_extension_set_string () |
|
midori_extension_install_string_list () |
|
midori_extension_get_string_list () |
|
midori_extension_set_string_list () |
|
midori_extension_load_from_folder () |
GObject * midori_extension_load_from_file (const
,gchar *extension_pathconst
,gchar *filename,
gboolean activate);
gboolean test
Load an extension from a file.
void midori_extension_activate (,
GObject *extensionconst
,gchar *filename,
gboolean activate);
MidoriApp *app
GObject * midori_extension_activate_gracefully (,
MidoriApp *appconst
,gchar *extension_pathconst
,gchar *filename);
gboolean activate
Load an extension into the context of a
gboolean midori_extension_is_prepared ();
MidoriExtension *extension
Determines if extension
is prepared for use, for instance
by ensuring that all required values are set and that it
is actually activatable.
gboolean midori_extension_has_preferences ();
MidoriExtension *extension
Determines if extension
has preferences.
gboolean midori_extension_is_active ();
MidoriExtension *extension
Determines if extension
is active.
Since:
void midori_extension_deactivate ();
MidoriExtension *extension
Attempts to deactivate extension
.
MidoriApp * midori_extension_get_app ();
MidoriExtension *extension
Retrieves the
constgchar * midori_extension_get_config_dir ();
MidoriExtension *extension
Retrieves the path to a directory reserved for configuration files specific to the extension.
If settings are installed on the extension, they will be loaded from and saved to a file "config" in this path.
void midori_extension_install_boolean (,
MidoriExtension *extensionconst
,gchar *name);
gboolean default_value
Installs a boolean that can be used to conveniently store user configuration.
Note that all settings have to be installed before the extension is activated.
Since:
gboolean midori_extension_get_boolean (,
MidoriExtension *extensionconst
);gchar *name
Retrieves the value of the specified setting.
Since:
void midori_extension_set_boolean (,
MidoriExtension *extensionconst
,gchar *name);
gboolean value
Assigns a new value to the specified setting.
Since:
void midori_extension_install_integer (,
MidoriExtension *extensionconst
,gchar *name);
gint default_value
Installs an integer that can be used to conveniently store user configuration.
Note that all settings have to be installed before the extension is activated.
Since:
gint midori_extension_get_integer (,
MidoriExtension *extensionconst
);gchar *name
Retrieves the value of the specified setting.
Since:
void midori_extension_set_integer (,
MidoriExtension *extensionconst
,gchar *name);
gint value
Assigns a new value to the specified setting.
Since:
void midori_extension_install_string (,
MidoriExtension *extensionconst
,gchar *nameconst
);gchar *default_value
Installs a string that can be used to conveniently store user configuration.
Note that all settings have to be installed before the extension is activated.
Since:
constgchar * midori_extension_get_string (,
MidoriExtension *extensionconst
);gchar *name
Retrieves the value of the specified setting.
Since:
void midori_extension_set_string (,
MidoriExtension *extensionconst
,gchar *nameconst
);gchar *value
Assigns a new value to the specified setting.
Since:
void midori_extension_install_string_list (,
MidoriExtension *extensionconst
,gchar *name,
gchar **default_value);
gsize default_length
Installs a string list that can be used to conveniently store user configuration.
Note that all settings have to be installed before the extension is activated.
Since:
gchar ** midori_extension_get_string_list (,
MidoriExtension *extensionconst
,gchar *name);
gsize *length
Retrieves the value of the specified setting.
extension |
a |
|
name |
the name of the setting |
|
length |
return location to store number of strings, or |
the list of
strings, NULL-terminated and to be freed with g_strfreev()
[transfer full][array zero-terminated=1]
Since:
void midori_extension_set_string_list (,
MidoriExtension *extensionconst
,gchar *name,
gchar **value);
gsize length
Assigns a new value to the specified setting.
extension |
a |
|
name |
the name of the setting |
|
value |
the new value |
|
length |
number of strings in |
Since: