Gcr.CertificateField

g GObject.Object GObject.Object Gcr.CertificateField Gcr.CertificateField GObject.Object->Gcr.CertificateField

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_label ()

get_section ()

get_value ()

get_value_type ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

label

str

r/w/co

Display name of the field.

section

Gcr.CertificateSection

r/w/co

The section it is included.

value

GObject.Value

r

Display name of the value.

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Gcr.CertificateField(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Gcr.CertificateFieldClass

get_label()[source]
Returns:

the display label of the field

Return type:

str

Get the display label of the field.

get_section()[source]
Returns:

the parent Gcr.CertificateSection

Return type:

Gcr.CertificateSection

Get the parent Gcr.CertificateSection.

get_value()[source]
Returns:

True if the value was set successfully.

value:

the GValue to fill

Return type:

(bool, value: GObject.Value)

Get the value of the field.

The value will have been initialized to the GType the value should be provided in.

get_value_type()[source]
Returns:

The GType of the value

Return type:

GObject.GType

Get the type associated with the value.

Property Details

Gcr.CertificateField.props.label
Name:

label

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Display name of the field.

Gcr.CertificateField.props.section
Name:

section

Type:

Gcr.CertificateSection

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The section it is included.

Gcr.CertificateField.props.value
Name:

value

Type:

GObject.Value

Default Value:

None

Flags:

READABLE

Display name of the value.