Hello,

i use a gtk entry widget in a vbox of a dialog to display a file  
location.
Instead to make a copy of the the whole filepath via a butten i would
like to send just the selected text to the default clipboard.
But gtk_editable_get_selection_bounds gives back just the curser
position for start and end. :-(
When i press ctrl-c it works but i hate it to use the keyboard.

Is this a bug or do i something wrong ?
A workaround hint woud be as welcome as well ? :-)

The only known possible bug i found is under the id 255 ... but it is  
fixed.


http://test.maemo.org/testzilla/show_bug.cgi?format=multiple&id=255


gint start;
gint end;
GtkWidget *editable;

editable = gtk_entry_new();

if (
        gtk_editable_get_selection_bounds(GTK_EDITABLE *editable,&start,&end)
){
//NEVER TRUE
}else{
//EVER FALSE :-(
}

I need it for a mdictionary extention
to easy get the playback location to record the audio file.

Peter Romero
[email protected]



_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to