Function
ClutterCanvasnew
Declaration [src]
ClutterContent*
clutter_canvas_new (
void
)
Description [src]
Creates a new instance of ClutterCanvas
.
You should call clutter_canvas_set_size()
to set the size of the canvas.
You should call clutter_content_invalidate()
every time you wish to
draw the contents of the canvas.
Available since: | 1.10 |
Return value
Returns: | ClutterContent |
The newly allocated instance of
|
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |