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

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?


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