Widget.getClipboard

Gets the clipboard object for widget.

This is a utility function to get the clipboard object for the [gdk.display.Display] that widget is using.

Note that this function always works, even when widget is not realized yet.

Returns

the appropriate clipboard object