Re: EuGTK - clipboard?

new topic     » goto parent     » topic index » view thread      » older message » newer message

It appears you are correct:

include GtkEngine.e 
 
constant win = create(GtkWindow) 
connect(win,"destroy",quit) 
set(win,"default size",400,300) 
 
constant panel = create(GtkVBox) 
add(win,panel) 
 
constant cb = create(GtkClipboard) 
set(cb,"text",sprintf("2 x 2 = %d",2*2)) 
 
show_all(win) 
main() 

When run, you can paste (in your word processor, for example) and get:

2 x 2 = 4

So, give me a few minutes, and I'll post a new version of the EuGTK library on my website which has the clipboard implemented.

http://etcwebspace.com/users/irvm/EuGTK_4.1.9.tar.gz

OK, the update is there now

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu