Registry
Object Hierarchy:
Description:
[
CCode ( type_id =
"ibus_registry_get_type ()" ) ]
public class Registry :
Serializable
An Registry loads IBus component files and generates the cache files.
see_also: Component
Content:
Creation methods:
- public Registry ()
Creates a new Registry
Methods:
- public bool check_modification ()
Check if the registry is updated.
- public List<unowned Component> get_components ()
List components.
- public List<unowned ObservedPath> get_observed_paths ()
List observed paths.
- public void load ()
Read all XML files in a IBus component directory (typically
/usr/share/ibus/component/ *.
- public bool load_cache (bool is_user)
Load the user or system registry cache.
- public bool load_cache_file (string filename)
Load the registry cache filename
.
- public void load_in_dir (string dirname)
Read all XML files in dirname
, create a
Component object for each file, and add the component objects to the registry.
- public void output (StringBuilder output, int indent)
Output Registry as an XML-formatted string.
- public bool save_cache (bool is_user)
Save the registry in a user directory or system directory.
- public bool save_cache_file (string filename)
Save the registry cache filename
.
- public void start_monitor_changes ()
Start to monitor observed paths.
Signals:
Inherited Members:
All known members inherited from class IBus.Serializable
All known members inherited from class IBus.Object
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