Is there a way to fetch the timestamp of clipboard data in GTK4? In GTK3 we can achieve the same using Selection timestamp.
This looks like an “XY problem”.
What are you actually trying to achieve?
My use case is fetch the latest updated data from the Primary or the Selection clipboard.
For ex. If the User has copied data in the Selection Clipboard at say timestamp 00.01 and then again copied data in the Primary Clipboard (using middle mouse button) at say timestamp 00.02. I want to fetch the latest updated data from these clipboard, in above example it would be data from Primary Clipboard.