gconf-2.0 Reference Manual

Synopsis

public class Client : Object  {
    public    weak Engine               engine ;
    public    ClientErrorHandlingMode   error_mode ;
    public    weak GLib.HashTable       dir_hash ;
    public    weak GLib.HashTable       cache_hash ;
    public    weak Listeners            listeners ;
    public    weak GLib.SList           notify_list ;
    public    uint                      notify_handler ;
    public    int                       pending_notify_count ;
    public    void**                    pad1 ;
    public    int                       pad2 ;


    public    signal void               error                     ( void**              error )  ;
    public    signal void               unreturned_error          ( void**              error )  ;
    public    signal void               value_changed             ( string              key,
                                                                    void**              value )  ;


    public    void                      add_dir                   ( string              dir,
                                                                    ClientPreloadType   preload ) 
                                                             throws GLib.Error;
    public    weak GLib.SList           all_dirs                  ( string              dir ) 
                                                             throws GLib.Error;
    public    weak GLib.SList           all_entries               ( string              dir ) 
                                                             throws GLib.Error;
    public    weak ChangeSet            change_set_from_current   ( ... ) 
                                                             throws GLib.Error;
    public    weak ChangeSet            change_set_from_currentv  ( string              keys ) 
                                                             throws GLib.Error;
    public    void                      clear_cache               (  ) ;
    public    bool                      commit_change_set         ( ChangeSet           cs,
                                                                    bool                remove_committed ) 
                                                             throws GLib.Error;
    public    bool                      dir_exists                ( string              dir ) 
                                                             throws GLib.Error;
    public    weak Value                get                       ( string              key ) 
                                                             throws GLib.Error;
    public    bool                      get_bool                  ( string              key ) 
                                                             throws GLib.Error;
    public    static weak Client        get_default               (  ) ;
    public    weak Value                get_default_from_schema   ( string              key ) 
                                                             throws GLib.Error;
    public    weak Entry                get_entry                 ( string              key,
                                                                    string              locale,
                                                                    bool                use_schema_default ) 
                                                             throws GLib.Error;
    public    double                    get_float                 ( string              key ) 
                                                             throws GLib.Error;
    public    static weak Client        get_for_engine            ( Engine              engine ) ;
    public    int                       get_int                   ( string              key ) 
                                                             throws GLib.Error;
    public    weak GLib.SList           get_list                  ( string              key,
                                                                    ValueType           list_type ) 
                                                             throws GLib.Error;
    public    bool                      get_pair                  ( string              key,
                                                                    ValueType           car_type,
                                                                    ValueType           cdr_type,
                                                                    void**              car_retloc,
                                                                    void**              cdr_retloc ) 
                                                             throws GLib.Error;
    public    weak Schema               get_schema                ( string              key ) 
                                                             throws GLib.Error;
    public    weak string               get_string                ( string              key ) 
                                                             throws GLib.Error;
    public    weak Value                get_without_default       ( string              key ) 
                                                             throws GLib.Error;
    public    bool                      key_is_writable           ( string              key ) 
                                                             throws GLib.Error;
    public    void                      notify                    ( string              key ) ;
    public    uint                      notify_add                ( string              namespace_section,
                                                                    ClientNotifyFunc    func,
                                                                    GLib.FreeFunc       destroy_notify ) 
                                                             throws GLib.Error;
    public    void                      notify_remove             ( uint                cnxn ) ;
    public    void                      preload                   ( string              dirname,
                                                                    ClientPreloadType   type ) 
                                                             throws GLib.Error;
    public    bool                      recursive_unset           ( string              key,
                                                                    UnsetFlags          flags ) 
                                                             throws GLib.Error;
    public    void                      remove_dir                ( string              dir ) 
                                                             throws GLib.Error;
    public    weak ChangeSet            reverse_change_set        ( ChangeSet           cs ) 
                                                             throws GLib.Error;
    public    void                      set                       ( string              key,
                                                                    Value               val ) 
                                                             throws GLib.Error;
    public    bool                      set_bool                  ( string              key,
                                                                    bool                val ) 
                                                             throws GLib.Error;
    public    void                      set_error_handling        ( ClientErrorHandlingMode mode ) ;
    public    bool                      set_float                 ( string              key,
                                                                    double              val ) 
                                                             throws GLib.Error;
    public    static void               set_global_default_error_handler ( ClientErrorHandlerFunc func ) ;
    public    bool                      set_int                   ( string              key,
                                                                    int                 val ) 
                                                             throws GLib.Error;
    public    bool                      set_list                  ( string              key,
                                                                    ValueType           list_type,
                                                                    GLib.SList          list ) 
                                                             throws GLib.Error;
    public    bool                      set_pair                  ( string              key,
                                                                    ValueType           car_type,
                                                                    ValueType           cdr_type,
                                                                    void**              address_of_car,
                                                                    void**              address_of_cdr ) 
                                                             throws GLib.Error;
    public    bool                      set_schema                ( string              key,
                                                                    Schema              val ) 
                                                             throws GLib.Error;
    public    bool                      set_string                ( string              key,
                                                                    string              val ) 
                                                             throws GLib.Error;
    public    void                      suggest_sync              (  ) 
                                                             throws GLib.Error;
    public    bool                      unset                     ( string              key ) 
                                                             throws GLib.Error;
}

Client Description

Details

Constructor Details

Field Details

engine
    public    weak Engine               engine ;		

error_mode
    public    ClientErrorHandlingMode   error_mode ;		

dir_hash
    public    weak GLib.HashTable       dir_hash ;		

cache_hash
    public    weak GLib.HashTable       cache_hash ;		

listeners
    public    weak Listeners            listeners ;		

notify_list
    public    weak GLib.SList           notify_list ;		

notify_handler
    public    uint                      notify_handler ;		

pending_notify_count
    public    int                       pending_notify_count ;		

pad1
    public    void**                    pad1 ;		

pad2
    public    int                       pad2 ;		

Signal Details

error
    public    signal void               error                     ( void**              error )  ;		

unreturned_error
    public    signal void               unreturned_error          ( void**              error )  ;		

value_changed
    public    signal void               value_changed             ( string              key,
                                                                    void**              value )  ;		

Property Details

Method Details

add_dir ()
    public    void                      add_dir                   ( string              dir,
                                                                    ClientPreloadType   preload ) 
                                                             throws GLib.Error;		

all_dirs ()
    public    weak GLib.SList           all_dirs                  ( string              dir ) 
                                                             throws GLib.Error;		

all_entries ()
    public    weak GLib.SList           all_entries               ( string              dir ) 
                                                             throws GLib.Error;		

change_set_from_current ()
    public    weak ChangeSet            change_set_from_current   ( ... ) 
                                                             throws GLib.Error;		

change_set_from_currentv ()
    public    weak ChangeSet            change_set_from_currentv  ( string              keys ) 
                                                             throws GLib.Error;		

clear_cache ()
    public    void                      clear_cache               (  ) ;		

commit_change_set ()
    public    bool                      commit_change_set         ( ChangeSet           cs,
                                                                    bool                remove_committed ) 
                                                             throws GLib.Error;		

dir_exists ()
    public    bool                      dir_exists                ( string              dir ) 
                                                             throws GLib.Error;		

get ()
    public    weak Value                get                       ( string              key ) 
                                                             throws GLib.Error;		

get_bool ()
    public    bool                      get_bool                  ( string              key ) 
                                                             throws GLib.Error;		

get_default ()
    public    static weak Client        get_default               (  ) ;		

get_default_from_schema ()
    public    weak Value                get_default_from_schema   ( string              key ) 
                                                             throws GLib.Error;		

get_entry ()
    public    weak Entry                get_entry                 ( string              key,
                                                                    string              locale,
                                                                    bool                use_schema_default ) 
                                                             throws GLib.Error;		

get_float ()
    public    double                    get_float                 ( string              key ) 
                                                             throws GLib.Error;		

get_for_engine ()
    public    static weak Client        get_for_engine            ( Engine              engine ) ;		

get_int ()
    public    int                       get_int                   ( string              key ) 
                                                             throws GLib.Error;		

get_list ()
    public    weak GLib.SList           get_list                  ( string              key,
                                                                    ValueType           list_type ) 
                                                             throws GLib.Error;		

get_pair ()
    public    bool                      get_pair                  ( string              key,
                                                                    ValueType           car_type,
                                                                    ValueType           cdr_type,
                                                                    void**              car_retloc,
                                                                    void**              cdr_retloc ) 
                                                             throws GLib.Error;		

get_schema ()
    public    weak Schema               get_schema                ( string              key ) 
                                                             throws GLib.Error;		

get_string ()
    public    weak string               get_string                ( string              key ) 
                                                             throws GLib.Error;		

get_without_default ()
    public    weak Value                get_without_default       ( string              key ) 
                                                             throws GLib.Error;		

key_is_writable ()
    public    bool                      key_is_writable           ( string              key ) 
                                                             throws GLib.Error;		

notify ()
    public    void                      notify                    ( string              key ) ;		

notify_add ()
    public    uint                      notify_add                ( string              namespace_section,
                                                                    ClientNotifyFunc    func,
                                                                    GLib.FreeFunc       destroy_notify ) 
                                                             throws GLib.Error;		

notify_remove ()
    public    void                      notify_remove             ( uint                cnxn ) ;		

preload ()
    public    void                      preload                   ( string              dirname,
                                                                    ClientPreloadType   type ) 
                                                             throws GLib.Error;		

recursive_unset ()
    public    bool                      recursive_unset           ( string              key,
                                                                    UnsetFlags          flags ) 
                                                             throws GLib.Error;		

remove_dir ()
    public    void                      remove_dir                ( string              dir ) 
                                                             throws GLib.Error;		

reverse_change_set ()
    public    weak ChangeSet            reverse_change_set        ( ChangeSet           cs ) 
                                                             throws GLib.Error;		

set ()
    public    void                      set                       ( string              key,
                                                                    Value               val ) 
                                                             throws GLib.Error;		

set_bool ()
    public    bool                      set_bool                  ( string              key,
                                                                    bool                val ) 
                                                             throws GLib.Error;		

set_error_handling ()
    public    void                      set_error_handling        ( ClientErrorHandlingMode mode ) ;		

set_float ()
    public    bool                      set_float                 ( string              key,
                                                                    double              val ) 
                                                             throws GLib.Error;		

set_global_default_error_handler ()
    public    static void               set_global_default_error_handler ( ClientErrorHandlerFunc func ) ;		

set_int ()
    public    bool                      set_int                   ( string              key,
                                                                    int                 val ) 
                                                             throws GLib.Error;		

set_list ()
    public    bool                      set_list                  ( string              key,
                                                                    ValueType           list_type,
                                                                    GLib.SList          list ) 
                                                             throws GLib.Error;		

set_pair ()
    public    bool                      set_pair                  ( string              key,
                                                                    ValueType           car_type,
                                                                    ValueType           cdr_type,
                                                                    void**              address_of_car,
                                                                    void**              address_of_cdr ) 
                                                             throws GLib.Error;		

set_schema ()
    public    bool                      set_schema                ( string              key,
                                                                    Schema              val ) 
                                                             throws GLib.Error;		

set_string ()
    public    bool                      set_string                ( string              key,
                                                                    string              val ) 
                                                             throws GLib.Error;		

suggest_sync ()
    public    void                      suggest_sync              (  ) 
                                                             throws GLib.Error;		

unset ()
    public    bool                      unset                     ( string              key ) 
                                                             throws GLib.Error;		


Created by Valadoc