| Top |
| AsAgreementSection * | as_agreement_section_new () |
| const gchar * | as_agreement_section_get_kind () |
| void | as_agreement_section_set_kind () |
| const gchar * | as_agreement_section_get_name () |
| void | as_agreement_section_set_name () |
| const gchar * | as_agreement_section_get_description () |
| void | as_agreement_section_set_description () |
| const gchar * | as_agreement_section_get_active_locale () |
| void | as_agreement_section_set_active_locale () |
| #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
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
const gchar *
as_agreement_section_get_active_locale
(AsAgreementSection *agreement_section);
Get the current active locale, which is used to get localized messages.
void as_agreement_section_set_active_locale (AsAgreementSection *agreement_section,const gchar *locale);
Set the current active locale, which is used to get localized messages.
agreement_section |
an AsAgreement |
|
locale |
a POSIX or BCP47 locale, or |
[nullable] |