gtk_editable_copy_clipboard



Hello All,

I've got  an application that uses a gtk_entry ( formatter->text_box ), I 
wanted to copy all the elements in it to the clipboard so I wrote this code:

gtk_editable_select_region( GTK_EDITABLE(formatter->text_box), 0, -1 );
gtk_editable_copy_clipboard( GTK_EDITABLE(formatter->text_box) );

The problem is that it does not seem to be copying it to the clipboard. Can 
anyone explain why it isn't doing that? Does this only work under gnome or 
something? Thanks.

Sincerely,
Randy



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