gadget: Update docs
Make it clear that out_clip must be set.
This commit is contained in:
@ -76,6 +76,9 @@
|
|||||||
* don't have sub-gadgets of child widgets don't need a GtkCssAllocateFunc
|
* 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).
|
* (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:
|
* GtkCssDrawFunc:
|
||||||
* @gadget: the #GtkCssCustomGadget
|
* @gadget: the #GtkCssCustomGadget
|
||||||
* @cr: the cairo context to draw on
|
* @cr: the cairo context to draw on
|
||||||
|
|||||||
Reference in New Issue
Block a user