GimpUi.LabelStringWidget.new
Description: Reference for GimpUi.LabelStringWidget.new

### Constructor

# GimpUi LabelStringWidgetnew

#### Declaration [src]

    GtkWidget*
    gimp_label_string_widget_new (
      const gchar* text,
      GtkWidget* widget
    )

#### Description [src]

Creates a new `GimpLabelStringWidget` whose “value” property is bound to that of `widget` (which must therefore have such a string property).

#### Parameters

`text`

  Type: `const gchar*`

  The text for the `GtkLabel`.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`widget`

  Type: `GtkWidget`

  The `GtkWidget` to use.

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

#### Return value

Type: `GtkWidget`

The new `GimpLabelStringWidget` widget.

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