Packages
purple
Purple
AccountOption
bool_new
int_new
list_new
string_new
AccountOption
add_list_item
get_default_bool
get_default_int
get_default_list_value
get_default_string
get_list
get_masked
get_setting
get_text
set_default_bool
set_default_int
set_default_string
set_list
set_masked
default_value
masked
pref_name
text
type
AccountOption
Object Hierarchy:
Purple.AccountOption
Purple.AccountOption
Purple.AccountOption
Description:
[
CCode
( free_function =
"purple_account_option_destroy"
) ]
[
Compact
]
public
class
AccountOption
Namespace:
Purple
Package:
purple
Content:
Static methods:
public
static
unowned
AccountOption
bool_new
(
string
text,
string
pref_name,
bool
default_value)
public
static
unowned
AccountOption
int_new
(
string
text,
string
pref_name,
int
default_value)
public
static
unowned
AccountOption
list_new
(
string
text,
string
pref_name,
List
list)
public
static
unowned
AccountOption
string_new
(
string
text,
string
pref_name,
string
default_value)
Creation methods:
public
AccountOption
(
PrefType
type,
string
text,
string
pref_name)
Methods:
public
void
add_list_item
(
string
key,
string
value)
public
bool
get_default_bool
()
public
int
get_default_int
()
public
unowned
string
get_default_list_value
()
public
unowned
string
get_default_string
()
public
unowned
List
get_list
()
public
bool
get_masked
()
public
unowned
string
get_setting
()
public
unowned
string
get_text
()
public
void
set_default_bool
(
bool
value)
public
void
set_default_int
(
int
value)
public
void
set_default_string
(
string
value)
public
void
set_list
(
List
values)
public
void
set_masked
(
bool
masked)
Fields:
public
void
*
default_value
public
bool
masked
public
unowned
string
pref_name
public
unowned
string
text
public
PrefType
type