gadget: Update docs

Make it clear that out_clip must be set.
This commit is contained in:
Matthias Clasen 2015-12-16 17:32:24 -05:00
parent ec5596ce20
commit 083a17acd4

View File

@ -76,6 +76,9 @@
* don't have sub-gadgets of child widgets don't need a GtkCssAllocateFunc
* (although it is still required to call gtk_css_gadget_allocate() on them).
*
* Note that @out_clip *must* be set to meaningful values. If in doubt,
* just set it to the allocation.
*
* GtkCssDrawFunc:
* @gadget: the #GtkCssCustomGadget
* @cr: the cairo context to draw on