TelepathyGLib.ConnectionManagerParam

Fields

Name

Type

Access

Description

dbus_signature

str

r

default_value

GObject.Value

r

flags

int

r

name

str

r

priv

object

r

Methods

copy ()

dup_default_variant ()

dup_variant_type ()

free ()

get_dbus_signature ()

get_default (value)

get_name ()

is_dbus_property ()

is_required ()

is_required_for_registration ()

is_secret ()

Details

class TelepathyGLib.ConnectionManagerParam

Structure representing a connection manager parameter.

Since 0.19.1, accessing the fields of this struct is deprecated, and they are no longer documented here. Use the accessors TelepathyGLib.ConnectionManagerParam.get_name(), TelepathyGLib.ConnectionManagerParam.get_dbus_signature(), TelepathyGLib.ConnectionManagerParam.is_required(), TelepathyGLib.ConnectionManagerParam.is_required_for_registration(), TelepathyGLib.ConnectionManagerParam.is_secret(), TelepathyGLib.ConnectionManagerParam.is_dbus_property(), TelepathyGLib.ConnectionManagerParam.get_default(), TelepathyGLib.ConnectionManagerParam.dup_default_variant() instead.

New in version 0.7.1.

copy()
Returns:

a newly (slice) allocated TelepathyGLib.ConnectionManagerParam, free with TelepathyGLib.ConnectionManagerParam.free()

Return type:

TelepathyGLib.ConnectionManagerParam

Returns: says it all

New in version 0.11.3.

dup_default_variant()
Returns:

the default value, or None if there is no default

Return type:

GLib.Variant

Get the default value for this parameter.

Use GLib.Variant.get_type() to check that the type is what you expect. For instance, a string parameter should have type %G_VARIANT_TYPE_STRING.

New in version 0.19.0.

dup_variant_type()
Returns:

the GLib.VariantType of the parameter

Return type:

GLib.VariantType

New in version 0.23.1.

free()

Frees self, which was copied with TelepathyGLib.ConnectionManagerParam.copy().

New in version 0.11.3.

get_dbus_signature()
Returns:

the D-Bus signature of the parameter

Return type:

str

New in version 0.7.26.

get_default(value)
Parameters:

value (GObject.Value) – pointer to an unset (all zeroes) GObject.Value into which the default’s type and value are written

Returns:

True if there is a default value

Return type:

bool

Get the default value for this parameter, if there is one. If False is returned, value is left uninitialized.

New in version 0.7.26.

get_name()
Returns:

the name of the parameter

Return type:

str

New in version 0.7.26.

is_dbus_property()
Returns:

True if the parameter represents a D-Bus property of the same name

Return type:

bool

New in version 0.7.26.

is_required()
Returns:

True if the parameter is normally required

Return type:

bool

New in version 0.7.26.

is_required_for_registration()
Returns:

True if the parameter is required when registering a new account (by setting the special “register” parameter to True)

Return type:

bool

New in version 0.7.26.

is_secret()
Returns:

True if the parameter’s value is a password or other secret

Return type:

bool

New in version 0.7.26.