Class
EBackendUserPrompterServer
since: 3.8
Description [src]
class EBackend.UserPrompterServer : EBackend.DBusServer
implements EDataServer.Extensible {
/* No available fields */
}
Contains only private data that should be read and manipulated using the functions below.
Available since: 3.8
Instance methods
e_user_prompter_server_register
Registers extension as a provider of dialog_name dialog. The names
are compared case sensitively and two extensions cannot provide
the same dialog. If the function succeeds, then it adds its own
reference on the extension.
since: 3.8
e_user_prompter_server_response
Finishes prompt initiated by a “prompt” signal or an extension prompt. The response for non-extension prompts is a 0-based index of a button
used to close the prompt.
since: 3.8
Methods inherited from EDBusServer (5)
e_dbus_server_hold
Increases the use count of server.
since: 3.4
e_dbus_server_load_modules
This function should be called once during server initialization to
load all available library modules to extend the server‘s functionality.
since: 3.4
e_dbus_server_quit
Emits the EDBusServer::quit signal with the given code.
since: 3.4
e_dbus_server_release
Decreates the use count of server.
since: 3.4
e_dbus_server_run
Emits the EDBusServer::run signal.
since: 3.4
Methods inherited from EExtensible (3)
e_extensible_list_extensions
Returns a list of EExtension objects bound to extensible whose
types are ancestors of extension_type. For a complete list of
extension objects bound to extensible, pass E_TYPE_EXTENSION.
e_extensible_load_extensions
Creates an instance of all instantiable subtypes of EExtension which
target the class of extensible. The lifetimes of these newly created
EExtension objects are bound to extensible such that they are finalized when extensible is finalized.
e_extensible_reload_extensions
Similar to e_extensible_load_extensions(), only loads newly discovered
extensions again. This can help in case a new module had been loaded
to the process, which provides the extensions for the extensible.
Signals
Signals inherited from EDBusServer (5)
EDBusServer::bus-acquired
Emitted when server acquires a connection to the session bus.
EDBusServer::bus-name-acquired
Emitted when server acquires its well-known session bus name.
EDBusServer::bus-name-lost
Emitted when server loses its well-known session bus name
or the session bus connection has been closed.
EDBusServer::quit-server
Emitted to request that server quit its main loop.
EDBusServer::run-server
Emitted to request that server start its main loop and
attempt to acquire its well-known session bus name.
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct EBackendUserPrompterServerClass {
EDBusServerClass parent_class;
void (* prompt) (
EUserPrompterServer* server,
gint id,
const gchar* type,
const gchar* title,
const gchar* primary_text,
const gchar* secondary_text,
gboolean use_markup,
const GSList* button_captions
);
}
No description available.
Class members
parent_class: EDBusServerClassNo description available.
prompt: void (* prompt) ( EUserPrompterServer* server, gint id, const gchar* type, const gchar* title, const gchar* primary_text, const gchar* secondary_text, gboolean use_markup, const GSList* button_captions )No description available.