### Signal

# Gtk DrawingArea::resize

since: 4.0

#### Declaration

    void
    resize (
      GtkDrawingArea* self,
      gint width,
      gint height,
      gpointer user_data
    )

#### Description [src]

Emitted once when the widget is realized, and then each time the widget is changed while realized.

This is useful in order to keep state up to date with the widget size, like for instance a backing surface.

Default handler: The default handler is called after the handlers added via `g_signal_connect()`.
Available since: 4.0

#### Parameters

`width`

  Type: `gint`

  The width of the viewport.

`height`

  Type: `gint`

  The height of the viewport.