Re: Copy-Paste operations

Philip Van Hoof <freax pandora be> writes:
How do I get (and set) the copypaste selection using gtk?

This is some information that I've found myself
so far I havn't got it working...

Using this 

   GtkClipboard *clipb;

   clipb = gtk_clipboard_get(GDK_NONE); /* GDK_SELECTION_PRIMARY */
   g_warning("text %s", gtk_clipboard_wait_for_text(clipb));

You are reading the GTK 2 docs, and using GTK 1.2.


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