Commit 083a17ac authored by Matthias Clasen's avatar Matthias Clasen

gadget: Update docs

Make it clear that out_clip must be set.
parent ec5596ce
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment