[maemo-developers] gtk_editable_get_selection_bounds
From: Peter Romero p_romero at gmx.deDate: Sun Nov 22 19:49:18 EET 2009
- Previous message: windows garbage like raster
- Next message: gtk_editable_get_selection_bounds
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 p_romero at gmx.de
- Previous message: windows garbage like raster
- Next message: gtk_editable_get_selection_bounds
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]