Plank.Drawing.DrawFunc – plank – Vala Binding Reference

Plank.Drawing.DrawFunc – plank Reference Manual

# DrawFunc

## Description:

public delegate DockSurface? DrawFunc (int width, int height, DockSurface model, DrawDataFunc<G>? draw_data_func)

Creates a new surface based on the given information

## Parameters:

width | the width
height | the height
model | existing surface to use as basis of new surface
draw_data_func | function which changes the surface

## Returns:

the newly created surface or NULL

Namespace: Plank.Drawing
Package: plank