Class
PurpleUi
unstable since: 3.0
Description [src]
abstract class Purple.Ui : GObject.Object
{
/* No available fields */
}
An abstract class representing a user interface.
All user interfaces must create a subclass of this and pass it to
purple_core_init()
.
Available since: 3.0
Functions
purple_ui_error_quark
The error domain to identify errors with the user interface abstraction.
since: 0.3
Instance methods
purple_ui_get_account_manager_backend
Gets the PurpleAccountManagerBackend
that the user interface wants to use.
unstable since: 3.0
purple_ui_get_history_adapter
Gets the history adapter that the user interface wants to use.
unstable since: 3.0
purple_ui_get_presence_manager
Gets the PurplePresenceManager
that the user interface wants to use.
unstable since: 3.0
purple_ui_get_settings_backend
Get the GSettingsBackend
that the user interface is using for
its settings.
unstable since: 3.0
purple_ui_start
Tells the user interface that libpurple is done initializing and that the user interface should continue its initialization.
unstable since: 3.0
Properties
Purple.Ui:client-type
The client type of the user interface. Common values include bot
,
console
, mobile
, pc
, web
, etc.
unstable since: 3.0
Purple.Ui:id
The identifier of the user interface. This is used in places where a constant string is need to represent the user interface.
unstable since: 3.0
Purple.Ui:name
The name of the user interface. This is used in places where it will be displayed to users, so it should be translated.
unstable since: 3.0
Purple.Ui:support-website
The support website of the user interface. This should link to a page that specifically directs users how to get support for your user interface.
unstable since: 3.0
Purple.Ui:website
The website of the user interface. This should be the main website.
unstable since: 3.0
Signals
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 PurpleUiClass {
gboolean (* start) (
PurpleUi* ui,
GError** error
);
void (* stop) (
PurpleUi* ui
);
PurpleConversationManager* (* get_conversation_manager) (
PurpleUi* ui
);
PurpleHistoryAdapter* (* get_history_adapter) (
PurpleUi* ui
);
PurplePresenceManager* (* get_presence_manager) (
PurpleUi* ui
);
gpointer (* get_settings_backend) (
PurpleUi* ui
);
PurpleAccountManagerBackend* (* get_account_manager_backend) (
PurpleUi* ui
);
void (* open_uri) (
PurpleUi* ui,
const char* uri,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer data
);
gboolean (* open_uri_finish) (
PurpleUi* ui,
GAsyncResult* result,
GError** error
);
}
No description available.
Class members
start: gboolean (* start) ( PurpleUi* ui, GError** error )
No description available.
stop: void (* stop) ( PurpleUi* ui )
No description available.
get_conversation_manager: PurpleConversationManager* (* get_conversation_manager) ( PurpleUi* ui )
No description available.
get_history_adapter: PurpleHistoryAdapter* (* get_history_adapter) ( PurpleUi* ui )
No description available.
get_presence_manager: PurplePresenceManager* (* get_presence_manager) ( PurpleUi* ui )
No description available.
get_settings_backend: gpointer (* get_settings_backend) ( PurpleUi* ui )
No description available.
get_account_manager_backend: PurpleAccountManagerBackend* (* get_account_manager_backend) ( PurpleUi* ui )
No description available.
open_uri: void (* open_uri) ( PurpleUi* ui, const char* uri, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer data )
No description available.
open_uri_finish: gboolean (* open_uri_finish) ( PurpleUi* ui, GAsyncResult* result, GError** error )
No description available.
Virtual methods
Purple.UiClass.get_account_manager_backend
Gets the PurpleAccountManagerBackend
that the user interface wants to use.
unstable since: 3.0
Purple.UiClass.get_history_adapter
Gets the history adapter that the user interface wants to use.
unstable since: 3.0
Purple.UiClass.get_presence_manager
Gets the PurplePresenceManager
that the user interface wants to use.
unstable since: 3.0
Purple.UiClass.get_settings_backend
Get the GSettingsBackend
that the user interface is using for
its settings.
unstable since: 3.0
Purple.UiClass.open_uri_finish
Finishes a previous call to purple_ui_open_uri()
.
unstable since: 3.0
Purple.UiClass.start
Tells the user interface that libpurple is done initializing and that the user interface should continue its initialization.
unstable since: 3.0
Purple.UiClass.stop
Tells the user interface that libpurple is done shutting down.
unstable since: 3.0