Clipboard and primary selection



Hi all,

is it possible to get primary selection in an extension?

I have tried with:

        let clipboard = St.Clipboard.get_default()
        clipboard.get_text(Lang.bind(this,
            function(clipboard, text) {
                    ...
            }

but this get only clipboard content.

Thanks,
    Stefano


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]