Re: EuGTK - clipboard?

new topic     » goto parent     » topic index » view thread      » older message » newer message
Jerry_Story said...

How can I do something like this in EuGTK?

st = "a bunch of stuff to go to the clipboard" 
set_clip_text(st)  -- to the clipboard 

A search for "clip" on testdescriptions.txt finds nothing. In GtkRoutines.e there are some "clipboard" things in control[GtkTextBuffer] but I don't know how to use that.

The GTK clipboard functions (such as the one you want, gtk_clipboard_set_text() ) are documented here: http://library.gnome.org/devel/gtk/stable/gtk-Clipboards.html

Some examples in Python and C: http://www.deskchecked.com/2007/06/27/passing-data-between-gtk-applications-with-gtkclipboard/

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

Search



Quick Links

User menu

Not signed in.

Misc Menu