### Function

# GimpUi QuerySizeCallback

#### Declaration

    void
    (* GimpQuerySizeCallback) (
      GtkWidget* query_box,
      gdouble size,
      GimpUnit* unit,
      gpointer data
    )

#### Description [src]

The callback for a size query box.

#### Parameters

`query_box`

  Type: `GtkWidget`

  The query box.

  The data is owned by the caller of the function.

`size`

  Type: `gdouble`

  The entered size in pixels.

`unit`

  Type: `GimpUnit`

  The selected unit from the `GimpUnitMenu`.

  The data is owned by the caller of the function.

`data`

  Type: `gpointer`

  User data.

  The argument can be `NULL`.
  The data is owned by the caller of the function.