[maemo-developers] gtk_editable_get_selection_bounds

From: Peter Romero p_romero at gmx.de
Date: Sun Nov 22 19:49:18 EET 2009

i use a gtk entry widget in a vbox of a dialog to display a file  
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  


gint start;
gint end;
GtkWidget *editable;

editable = gtk_entry_new();

if (
	gtk_editable_get_selection_bounds(GTK_EDITABLE *editable,&start,&end)

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

Peter Romero
p_romero at gmx.de

More information about the maemo-developers mailing list