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
Instance methods
purple_ui_get_conversation_manager
Gets the default conversation manager manage from ui
.
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 ui
is using for its settings.
unstable since: 3.0
purple_ui_open_uri_finish
Finishes a previous call to purple_ui_open_uri()
and gets the result.
unstable since: 3.0
purple_ui_start
Tells ui
that libpurple is done initializing and that ui
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
Class structure
Virtual methods
Purple.UiClass.get_conversation_manager
Gets the default conversation manager manage from ui
.
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 ui
is using for its settings.
unstable since: 3.0
Purple.UiClass.open_uri
Attempts to open uri
and calls callback
with the result.
unstable since: 3.0
Purple.UiClass.open_uri_finish
Finishes a previous call to purple_ui_open_uri()
and gets the result.
unstable since: 3.0
Purple.UiClass.prefs_init
Tells ui
that it should be initializing its preferences.
unstable since: 3.0
Purple.UiClass.start
Tells ui
that libpurple is done initializing and that ui
should continue
its initialization.
unstable since: 3.0