GimpUi.ProcedureDialog.set_warning

### Method

# GimpUi ProcedureDialogset_warning

unstable since: 3.4.0

#### Declaration [src]

    void
    gimp_procedure_dialog_set_warning (
      GimpProcedureDialog* dialog,
      const gchar* title,
      const gchar* msg,
      gboolean use_markup
    )

#### Description [src]

Set a warning text which will be appropriately displayed in `dialog`. If `warning` is `NULL`, any previously set warning text will be removed.

Available since: 3.4.0

#### Parameters

`title`

  Type: `const gchar*`

  Title text for the warning box.

  The argument can be `NULL`.
  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

`msg`

  Type: `const gchar*`

  Details text for the warning box.

  The argument can be `NULL`.
  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

`use_markup`

  Type: `gboolean`

  Whether `title` and `msg` are markup text.