Widget.snapshotChild
void snapshotChild(gtk.widget.Widget child, gtk.snapshot.Snapshot snapshot)Snapshot the a child of widget.
When a widget receives a call to the snapshot function, it must send synthetic vfuncGtk.Widget.snapshot calls to all children. This function provides a convenient way of doing this. A widget, when it receives a call to its vfuncGtk.Widget.snapshot function, calls [gtk.widget.Widget.snapshotChild] once for each child, passing in the snapshot the widget received.
[gtk.widget.Widget.snapshotChild] takes care of translating the origin of snapshot, and deciding whether the child needs to be snapshot.
This function does nothing for children that implement [gtk.native.Native].
Parameters
child | a child of widget |
snapshot | [gtk.snapshot.Snapshot] as passed to the widget. In particular, no calls to [gtk.snapshot.Snapshot.translate] or other transform calls should have been made. |