Top | ![]() |
![]() |
![]() |
![]() |
|
midori_app_new () |
|
midori_app_new_proxy () |
const |
midori_app_get_name () |
|
midori_app_get_crashed () |
|
midori_app_set_instance_is_running () |
|
midori_app_instance_is_running () |
|
midori_app_instance_send_activate () |
|
midori_app_instance_send_new_browser () |
|
midori_app_instance_send_uris () |
|
midori_app_send_command () |
|
midori_app_add_browser () |
|
midori_app_create_browser () |
|
midori_app_get_browser () |
|
midori_app_get_browsers () |
|
midori_app_quit () |
|
midori_app_send_notification () |
|
midori_app_setup () |
|
midori_debug () |
|
midori_error () |
MidoriApp * midori_app_new (const
);gchar *name
Instantiates a new
MidoriApp * midori_app_new_proxy ();
MidoriApp *app
Instantiates a proxy
Since 0.5.0
void midori_app_set_instance_is_running ();
gboolean is_running
gboolean midori_app_instance_is_running ();
MidoriApp *app
Determines whether an instance of Midori is already running on the default display.
Use the "name" property if you want to run more than one instance.
gboolean midori_app_instance_send_activate ();
MidoriApp *app
Sends a message to an instance of Midori already running on the default display, asking to activate it.
Practically the current browser will be focussed.
gboolean midori_app_instance_send_new_browser ();
MidoriApp *app
Sends a message to an instance of Midori already running on the default display, asking to open a new browser.
gboolean midori_app_instance_send_uris (,
MidoriApp *app);
gchar **uris
Sends a message to an instance of Midori already
running on the default display, asking to open uris
.
The strings in uris
will each be opened in a new tab.
gboolean midori_app_send_command (,
MidoriApp *app);
gchar **command
Sends a command to an instance of Midori, which is either the current process or an already running instance with the same name on the default display.
Names of GtkAction objects of MidoriBrowser are recognized as commands.
Since 0.1.8
void midori_app_add_browser (,
MidoriApp *app);
MidoriBrowser *browser
Adds a
The app will take care of the browser's new-window and quit signals, as well as watch window closing so that the last closed window quits the app. Also the app watches focus changes to indicate the 'current' browser.
MidoriBrowser * midori_app_create_browser ();
MidoriApp *app
Creates a app
.
Note that creating a browser this way can be a lot faster than setting it up manually.
Since 0.1.2
MidoriBrowser * midori_app_get_browser ();
MidoriApp *app
Determines the current browser, which is the one that was last focussed.
Since 0.2.5
GList * midori_app_get_browsers ();
MidoriApp *app
Retrieves the browsers as a list.
Since 0.2.5
void midori_app_quit ();
MidoriApp *app
Quits the
Since 0.1.2 the "quit" signal is always emitted before quitting.
void midori_app_send_notification (,
MidoriApp *appconst
,gchar *titleconst
);gchar *message
Send
There is no guarantee that the message has been sent and displayed, as there might not be any notification service available.
Since 0.1.7
void midori_app_setup (,
gint *argc,
gchar ** *argument_vectorconst
);GOptionEntry *entries
Saves the argument vector, initializes threading and registers several custom stock items and prepares localization.
Since 0.4.2