Gtk.StringList.get_string

### Method

# Gtk StringListget_string

#### Declaration [src]

    const char*
    gtk_string_list_get_string (
      GtkStringList* self,
      guint position
    )

#### Description [src]

Gets the string that is at `position` in `self`.

If `self` does not contain `position` items, `NULL` is returned.

This function returns the const char *. To get the object wrapping it, use `g_list_model_get_item()`.

#### Parameters

`position` | `guint`
| The position to get the string for.

#### Return value

Returns: | `const char*`
| The string at the given position.
| The data is owned by the instance.
| The return value can be `NULL`.
| The string is a NUL terminated UTF-8 string.