Purple.Status – purple Reference Manual
Status
Object Hierarchy:
Purple.Status
Purple.Status
Purple.Status
Description:
[
CCode
( free_function =
"purple_status_destroy"
) ]
[
Compact
]
public
class
Status
Namespace:
Purple
Package:
purple
Content:
Static methods:
public
static
void
*
get_handle
()
public
static
void
init
()
public
static
void
uninit
()
Creation methods:
public
Status
(
StatusType
status_type,
Presence
presence)
Methods:
public
int
compare
(
Status
status2)
public
bool
get_attr_boolean
(
string
id)
public
int
get_attr_int
(
string
id)
public
unowned
string
get_attr_string
(
string
id)
public
unowned
Value
get_attr_value
(
string
id)
public
unowned
string
get_id
()
public
unowned
string
get_name
()
public
unowned
Presence
get_presence
()
public
bool
is_active
()
public
bool
is_available
()
public
bool
is_exclusive
()
public
bool
is_independent
()
public
bool
is_online
()
public
void
set_active
(
bool
active)
public
void
set_active_with_attrs
(
bool
active,
void
* args)
public
void
set_active_with_attrs_list
(
bool
active,
List
attrs)
public
void
set_attr_boolean
(
string
id,
bool
value)
public
void
set_attr_int
(
string
id,
int
value)
public
void
set_attr_string
(
string
id,
string
value)
2022 vala-language.org