Config
Object Hierarchy:
Grl.Config
Grl.Config
Grl.Config
GLib.Object
GLib.Object
GLib.Object->Grl.Config
Description:
[ CCode ( type_id = "grl_config_get_type ()" ) ]public class Config : Object
Content:
Creation methods:
Methods:
public void @set (string param, Value value)
Set param
value
.
public string get_api_key ()
public uint8 get_api_key_blob (size_t size)
public string get_api_secret ()
public string get_api_token ()
public string get_api_token_secret ()
public uint8 get_binary (string param, size_t ? size)
Gets the value of param
encoded as base64.
public bool get_boolean (string param)
public float get_float (string param)
public int get_int (string param)
public string get_password ()
public string get_plugin ()
public string get_source ()
public string get_string (string param)
public string get_username ()
public bool has_param (string param)
public void set_api_key (string key)
Set the webservice API key in the configuration
public void set_api_key_blob (uint8 blob, size_t size)
Set the binary API key in the configuration
public void set_api_secret (string secret)
Set the webservice passphrase in the configuration
public void set_api_token (string token)
Set the webservice API token in the configuration
public void set_api_token_secret (string secret)
Set the webservice API token secret in the configuration (Needed by
OAuth)
public void set_binary (string param, uint8 blob, size_t size)
Set param
value.
public void set_boolean (string param, bool value)
Set param
value
.
public void set_float (string param, float value)
Set param
value
.
public void set_int (string param, int value)
Set param
value
.
public void set_password (string password)
Set the password in the configuration
public void set_plugin (string plugin)
Set the plugin key in the configuration
public void set_source (string source)
Set the source key in the configuration
public void set_string (string param, string value)
Set param
value
.
public void set_username (string username)
Set the username in the configuration
Fields:
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