Adw.ValueObject.new_string
Description: Reference for Adw.ValueObject.new_string

### Constructor

# Adw ValueObjectnew_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.

Available since: | 1.0

#### Parameters

`string` | `const char*`
| The string to store.
| The data is owned by the caller of the function.
| The string is a NUL terminated UTF-8 string.

#### Return value

Returns: | `AdwValueObject`
| The newly created `AdwValueObject`
| The caller of the function takes ownership of the data, and is responsible for freeing it.