func ClipboardGetForDisplay(display *gdk.Display, atom gdk.Atom) (*Clipboard, error) {
	displayPtr := (*C.GdkDisplay)(unsafe.Pointer(display.Native()))
	c := C.gtk_clipboard_get_for_display(displayPtr,
		C.GdkAtom(unsafe.Pointer(atom)))
	if c == nil {
		return nil, nilPtrErr
	}

	cb := &Clipboard{glib.Take(unsafe.Pointer(c))}
	return cb, nil
}
func ClipboardGetForDisplay(display *gdk.Display, atom gdk.Atom) (*Clipboard, error) {
	displayPtr := (*C.GdkDisplay)(unsafe.Pointer(display.Native()))
	c := C.gtk_clipboard_get_for_display(displayPtr,
		C.GdkAtom(unsafe.Pointer(atom)))
	if c == nil {
		return nil, nilPtrErr
	}

	cb := &Clipboard{glib.Take(unsafe.Pointer(c))}
	return cb, nil
}
func ClipboardGetForDisplay ( display * gdk . Display , atom gdk . Atom ) ( * Clipboard , error ) { displayPtr := ( * C . GdkDisplay ) ( unsafe . Pointer ( display . Native ( ) ) ) c := C . gtk_clipboard_get_for_display ( displayPtr , C . GdkAtom ( unsafe . Pointer ( atom ) ) ) if c == nil { return nil , nilPtrErr } cb := & Clipboard { glib . Take ( unsafe . Pointer ( c ) ) } return cb , nil }
// ClipboardGetForDisplay() is a wrapper around gtk_clipboard_get_for_display().
ClipboardGetForDisplay () is a wrapper around gtk_clipboard_get_for_display () .