Handy.ValueObject.new_take_string
Description: Reference for Handy.ValueObject.new_take_string

### Constructor

# Handy ValueObjectnew_take_string

#### Declaration [src]

    HdyValueObject*
    hdy_value_object_new_take_string (
      gchar* string
    )

#### Description [src]

Creates a new `HdyValueObject`.

This is a convenience method to create a `HdyValueObject` that stores a string taking ownership of it.

Available since: | 1.0
This constructor is not directly available to language bindings

#### Parameters

`string` | `gchar*`
| The string to store.
| The called function takes ownership of the data, and is responsible for freeing it.
| The value is a NUL terminated UTF-8 string.

#### Return value

Returns: | `HdyValueObject`
| A new `HdyValueObject`
| The caller of the function takes ownership of the data, and is responsible for freeing it.