mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-17 07:30:09 +00:00
gadget: Update docs
Make it clear that out_clip must be set.
This commit is contained in:
parent
ec5596ce20
commit
083a17acd4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user