#!/usr/bin/python
# Test Clipboard.wait_for_targets() return values.

from gi.repository import Gtk, Gdk


def main():
    atom = Gdk.Atom.intern("CLIPBOARD", False)
    clippy = Gtk.Clipboard.get(selection=atom)
    targets = clippy.wait_for_targets()
    print(targets)

if __name__ == '__main__':
    main()

