Constructor
Adw.ValueObject.new_string
Declaration [src]
AdwValueObject*
adw_value_object_new_string (
const char* string
)
Description [src]
Creates a new AdwValueObject
from a string.
This is a convenience method to create a AdwValueObject
that stores a string.
Parameters
string |
const char* |
the string to store |
|
Ownership is not transferred to the callee | |
The string is a NUL terminated UTF-8 string |
Return value
Returns: AdwValueObject |
|
the newly created |
|
Ownership of the data is transferred to the caller |