Relation
Object Hierarchy:
Description:
[ CCode ( type_id = "as_relation_get_type ()" ) ]
public class Relation : Object
Content:
Creation methods:
- public Relation ()
Creates a new Relation.
Methods:
- public RelationCompare get_compare ()
The version comparison type.
- public DisplaySideKind get_display_side_kind ()
Gets the display side kind, in case this item is of kind
as_relation_item_kind_display_length
- public RelationItemKind get_item_kind ()
The kind of the item of this Relation.
- public RelationKind get_kind ()
The type (and thereby strength) of this Relation
.
- public ControlKind get_value_control_kind ()
Get the value of this Relation item as
ControlKind if the type of this relation is
as_relation_item_kind_control.
- public DisplayLengthKind get_value_display_length_kind ()
In case this Relation is of kind
as_relation_item_kind_display_length, return the
DisplayLengthKind.
- public int get_value_int ()
- public uint get_value_internet_bandwidth ()
If this Relation is of kind
as_relation_item_kind_internet, return the minimum bandwidth requirement of the component, if set.
- public InternetKind get_value_internet_kind ()
Get the value of this Relation item as
InternetKind if the type of this relation is
as_relation_item_kind_internet.
- public int get_value_px ()
In case this Relation is of kind
as_relation_item_kind_display_length, return the set logical pixel amount.
- public unowned string get_value_str ()
- public unowned string get_version ()
- public CheckResult is_satisfied (SystemInfo? system_info, Pool? pool, out string message) throws Error
Test if this relation is satisfied on the current system or with the
provided Pool.
- public void set_compare (RelationCompare compare)
Set the version comparison type of this Relation
.
- public void set_display_side_kind (DisplaySideKind kind)
Sets the display side kind, in case this item is of kind
as_relation_item_kind_display_length
- public void set_item_kind (RelationItemKind kind)
Set the kind of the item this Relation is
about.
- public void set_kind (RelationKind kind)
Set the kind of this Relation.
- public void set_value_control_kind (ControlKind kind)
- public void set_value_display_length_kind (DisplayLengthKind kind)
Sets the item value as display length placeholder value.
- public void set_value_int (int value)
Sets the item value as an integer, if the given item type of this
Relation permits integer values.
- public void set_value_internet_bandwidth (uint bandwidth_mbitps)
- public void set_value_internet_kind (InternetKind kind)
- public void set_value_px (int logical_px)
Sets the item value as logical pixel count.
- public void set_value_str (string value)
Sets the item value as a string, if the given item type of this
Relation permits string values.
- public void set_version (string version)
Sets the item version.
- public bool version_compare (string version) throws Error
Tests whether the version number of this Relation
is fulfilled by version
.
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