Constructor

Adw.ValueObject.new_collect

Declaration [src]

AdwValueObject*
adw_value_object_new_collect (
  GType type,
  ...
)

Description [src]

Creates a new AdwValueObject.

This is a convenience method which uses the G_VALUE_COLLECT() macro internally.

Available since:1.0

Parameters

type GType
 

the type of the value

...
 

the value to store

Return value

Returns: AdwValueObject

the newly created AdwValueObject

The caller of the function takes ownership of the data, and is responsible for freeing it