Plank.Items.DockItem.get_surface – plank – Vala Binding Reference

Plank.Items.DockItem.get_surface – plank Reference Manual

# get_surface

## Description:

public DockSurface get_surface (int width, int height, DockSurface model)

Returns the dock surface for this item.

It might trigger an internal redraw if the requested size isn't cached yet.

## Parameters:

width | width of the icon surface
height | height of the icon surface
model | existing surface to use as basis of new surface

## Returns:

the dock surface for this item which may not be changed