[wxruby-users] Filling clipboard doesn't work

Niklas Baumstark niklas.baumstark at googlemail.com
Sat Aug 16 07:58:15 EDT 2008


Hello,

Alex Fenton <alex at pressure.to> wrote:
> Does it help to paste to other applications if you add
> 
>   clip.use_primary_selection
> 
> here?

unfortunately it does not.

> It might be worth checking if the data is at least available within your 
> own application. After doing the set_data, trying retrieving it with 
> something like
> 
> Wx::Clipboard.open do | clip |
>   data = Wx::TextDataObject.new
>   clip.get_data(data)
>   p data.get_text
> end

this doesn't work either, this prints out my old clipboard content (before running the app).
is there a way i can help finding the source of this problem?

Greetings,
Niklas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20080816/dacb32f8/attachment.bin>


More information about the wxruby-users mailing list