GtkEntrys and trying to select during a changed or insert-text signal
- From: baver thebeever com (Richard Baverstock)
- To: gtk-app-devel-list gnome org
- Subject: GtkEntrys and trying to select during a changed or insert-text signal
- Date: Thu, 2 Jun 2005 14:11:09 +0000
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]