"paste-clipboard" callback.



Hello,

I've been trying to get a callback for a entry widget to run after a
paste operation in X (middle button click). I have this:

  entry = gtk_entry_new_with_max_length( 80 );
  gtk_signal_connect_after(GTK_OBJECT(entry), "paste-clipboard",
      GTK_SIGNAL_FUNC(entry_paste_cb), NULL);

However, entry_paste_cb() is never called. The middle button does paste
new text to the widget. Can anyone tell me how to do this.

Thanks,

Tony

/-----------------------------------------------------------------------\
| Tony Denault                     | Email: denault irtf ifa hawaii edu |
| Institute for Astronomy          |              Phone: (808) 932-2378 |
| 640 North Aohoku Place           |                Fax: (808) 933-0737 |
| Hilo, Hawaii 96720               |                                    |
\-----------------------------------------------------------------------/





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