Re: GtkEntrys and trying to select during a changed or insert-text signal



I submitted a bug on bugzilla that talks about this.
http://bugzilla.gnome.org/show_bug.cgi?id=304080

Havent heard back if they've accepted my fix. You could apply the patch
yourself and see if it works for you.

Zvi

----- Original Message ----- From: "Richard Baverstock" <baver thebeever com>
To: <gtk-app-devel-list gnome org>
Sent: Thursday, June 02, 2005 10:11 AM
Subject: GtkEntrys and trying to select during a changed or insert-text signal


I have a GtkEntry with which I am trying to do autocompletion. During a
call to the "changed" signal handler I have set up when the user enters
text, I complete the
user's text, but I cannot select the "untyped" part using
gtk_editable_select_region. I also cannot set the cursor position.
However, for whatever reason, I can select when the user deletes
something.


I've called the select and position function in and outside of
g_signal_handlers_block() and unblock(). I've tried calling and not
calling g_signal_emission_stop(). Every combination doesn't work.

Any ideas?


Thanks,
Richard
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list






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