SourceRegistry
Object Hierarchy:
E.SourceRegistry
E.SourceRegistry
E.SourceRegistry
GLib.Object
GLib.Object
GLib.Object->E.SourceRegistry
GLib.AsyncInitable
GLib.AsyncInitable
GLib.AsyncInitable->E.SourceRegistry
GLib.Initable
GLib.Initable
GLib.Initable->E.SourceRegistry
Description:
[ CCode ( type_id = "e_source_registry_get_type ()" ) ] [ Version ( since = "3.6" ) ]public class SourceRegistry : Object , AsyncInitable , Initable
Contains only private data that should be read and manipulated using the functions below.
Content:
Properties:
Static methods:
Creation methods:
Methods:
public bool check_enabled (Source source)
Determines whether source
is "effectively" enabled by
examining its own enabled property as well as those of its ancestors in the
Source hierarchy.
public async bool commit_source (Source source, Cancellable ? cancellable) throws Error
public bool commit_source_sync (Source source, Cancellable ? cancellable = null ) throws Error
This is a convenience function intended for use with graphical
Source editors.
public async bool create_sources (List <Source > list_of_sources, Cancellable ? cancellable) throws Error
Asynchronously requests the D-Bus service create new key files for
each Source in list_of_sources
.
public bool create_sources_sync (List <Source > list_of_sources, Cancellable ? cancellable = null ) throws Error
Requests the D-Bus service create new key files for each
Source in list_of_sources
.
public void debug_dump (string ? extension_name)
Handy debugging function that uses
e_source_registry_build_display_tree
to print a tree of registered sources to standard output.
public string dup_unique_display_name (Source source, string ? extension_name)
Compares source
's
display_name against other sources having an
SourceExtension named extension_name
, if given, or else
against all other sources in the this .
public Source ? find_extension (Source source, string extension_name)
Examines source
and its ancestors and returns the
"deepest" Source having an
SourceExtension with the given extension_name
.
public unowned OAuth2Services get_oauth2_services ()
public List <Source > list_enabled (string ? extension_name)
public List <Source > list_sources (string ? extension_name)
Returns a list of registered sources, sorted by display name.
public Source ref_builtin_address_book ()
Returns the built-in address book
Source .
public Source ref_builtin_calendar ()
Returns the built-in calendar
Source .
public Source ref_builtin_mail_account ()
Returns the built-in mail account
Source .
public Source ref_builtin_memo_list ()
Returns the built-in memo list
Source .
public Source ref_builtin_proxy ()
Returns the built-in proxy profile
Source .
public Source ref_builtin_task_list ()
Returns the built-in task list
Source .
public Source ref_default_address_book ()
Returns the Source most
recently passed to set_default_address_book either in this
session or a previous session, or else falls back to the built-in address book.
public Source ref_default_calendar ()
Returns the Source most
recently passed to set_default_calendar either in this session
or a previous session, or else falls back to the built-in calendar.
public Source ? ref_default_for_extension_name (string extension_name)
This is a convenience function to return a default
Source based on extension_name
.
public Source ref_default_mail_account ()
Returns the Source most
recently passed to set_default_mail_account either in this
session or a previous session, or else falls back to the built-in mail account.
public Source ? ref_default_mail_identity ()
Returns the Source most
recently passed to set_default_mail_identity either in
this session or a previous session, or else falls back to the mail identity named by the default mail account.
public Source ref_default_memo_list ()
Returns the Source most
recently passed to set_default_memo_list either in this
session or a previous session, or else falls back to the built-in memo list.
public Source ref_default_task_list ()
Returns the Source most
recently passed to set_default_task_list either in this
session or a previous session, or else falls back to the built-in task list.
public Source ? ref_source (string uid)
Looks up an Source in
this by its unique identifier string.
public async bool refresh_backend (string source_uid, Cancellable ? cancellable) throws Error
Asynchronously requests the D-Bus service to refresh collection
backend for an Source with UID source_uid
.
public bool refresh_backend_sync (string source_uid, Cancellable ? cancellable = null ) throws Error
Requests the D-Bus service to refresh collection backend for an
Source with UID source_uid
.
public void set_default_address_book (Source ? default_source)
Sets default_source
as the default address book.
public void set_default_calendar (Source ? default_source)
Sets default_source
as the default calendar.
public void set_default_for_extension_name (string extension_name, Source ? default_source)
This is a convenience function to set a default
Source based on extension_name
.
public void set_default_mail_account (Source ? default_source)
Sets default_source
as the default mail account.
public void set_default_mail_identity (Source ? default_source)
Sets default_source
as the default mail identity.
public void set_default_memo_list (Source ? default_source)
Sets default_source
as the default memo list.
public void set_default_task_list (Source ? default_source)
Sets default_source
as the default task list.
Signals:
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
All known members inherited from interface GLib.AsyncInitable
All known members inherited from interface GLib.Initable