About all my projects
Gnome::Gtk4::T-drawingarea

Gnome::Gtk4::T-drawingarea

Callback Functions

DrawingAreaDrawFunc

Signature

:(  N-Object() $drawing-area, Cairo::cairo_t $cr, Int() $width, Int() $height, gpointer $user-data  )
  • $drawing-area; the Gnome::Gtk4::DrawingArea to redraw

  • $cr; the context to draw to

  • $width; the actual width of the contents. This value will be at least as wide as GtkDrawingArea:width.

  • $height; the actual height of the contents. This value will be at least as wide as GtkDrawingArea:height.

  • $user-data; user data