![]() |
![]() |
![]() |
![]() |
#define | AS_TYPE_AGREEMENT_SECTION |
struct | AsAgreementSectionClass |
AsAgreementSection |
Agreements are typically split up into sections. This class describes one agreement section.
See also: AsAgreement
AsAgreementSection *
as_agreement_section_new (void
);
Creates a new AsAgreementSection.
Since: 0.12.1
AsContext *
as_agreement_section_get_context (AsAgreementSection *agreement_section
);
Returns the AsContext associated with this section.
This function may return NULL
if no context is set.
Since: 0.12.1
void as_agreement_section_set_context (AsAgreementSection *agreement_section
,AsContext *context
);
Sets the document context this release is associated with.
Since: 0.12.1
const gchar *
as_agreement_section_get_kind (AsAgreementSection *agreement_section
);
Gets the agreement section kind.
Since: 0.12.1
void as_agreement_section_set_kind (AsAgreementSection *agreement_section
,const gchar *kind
);
Sets the agreement section kind.
Since: 0.12.1
const gchar *
as_agreement_section_get_name (AsAgreementSection *agreement_section
);
Gets the agreement section name.
Since: 0.12.1
void as_agreement_section_set_name (AsAgreementSection *agreement_section
,const gchar *name
,const gchar *locale
);
Sets the agreement section name.
agreement_section |
a AsAgreementSection instance. |
|
name |
the agreement name, e.g. "GDPR" |
|
locale |
the locale. e.g. "en_GB". |
[nullable] |
Since: 0.12.1
const gchar *
as_agreement_section_get_description (AsAgreementSection *agreement_section
);
Gets the agreement section desc.
Since: 0.12.1
void as_agreement_section_set_description (AsAgreementSection *agreement_section
,const gchar *desc
,const gchar *locale
);
Sets the agreement section desc.
agreement_section |
a AsAgreementSection instance. |
|
locale |
the locale in BCP47 format. e.g. "en-GB". |
[nullable] |
desc |
the agreement description, e.g. "GDPR" |
Since: 0.12.1