Gimp.items_set_popup
Description: Reference for Gimp.items_set_popup

### Function

# Gimpitems_set_popup

#### Declaration [src]

    gboolean
    gimp_items_set_popup (
      const gchar* callback,
      GimpItem* item
    )

#### Description [src]

Sets the selected item in a item selection dialog.

Sets the selected item in a item selection dialog.

#### Parameters

`callback`

  Type: `const gchar*`

  The name of the callback registered for this pop-up.

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

`item`

  Type: `GimpItem`

  The item to set as selected.

  The data is owned by the caller of the function.

#### Return value

Type: `gboolean`

TRUE on success.