Packages
appstream
AppStream
Agreement
Agreement
add_section
get_kind
get_section_default
get_sections
get_version_id
set_kind
set_version_id
Agreement
Object Hierarchy:
AppStream.Agreement
AppStream.Agreement
AppStream.Agreement
GLib.Object
GLib.Object
GLib.Object->AppStream.Agreement
Description:
[
CCode
( type_id =
"as_agreement_get_type ()"
) ]
public
class
Agreement
:
Object
Namespace:
AppStream
Package:
appstream
Content:
Creation methods:
public
Agreement
()
Creates a new
Agreement
.
Methods:
public
void
add_section
(
AgreementSection
agreement_section)
public
AgreementKind
get_kind
()
Gets the agreement kind.
public
unowned
AgreementSection
?
get_section_default
()
Gets the first section in the agreement.
public
unowned
GenericArray
<
AgreementSection
>
get_sections
()
Gets all the sections in the agreement.
public
unowned
string
get_version_id
()
Gets the agreement version_id.
public
void
set_kind
(
AgreementKind
kind)
Sets the agreement kind.
public
void
set_version_id
(
string
version_id)
Sets the agreement version identifier.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref