And again resolved. The problem seems to be that the
popupcompletion does not respond to the Gtk::Entry.set_text. It DOES
respond on the Gtk::Editable .signal_insert_text() (Gtk::Entry is
inherited from Gtk::Editable), so this is the one you should use for
the entry.
I think this should be documented somewhere because to me it was not
very obvious. Or is it already documented?
gr.
------
double-oh-viper wrote:
Ok, setposition did the trick. But I still have a problem, the
popupcompletion only works when there is only 1 option (in the list)
left when I use the buttons on screen (onscreenkeyboard). When I use my
(on desk :)) keyboard, it works perfectly
all the time (from the first to the last character).
Anybody know what the problem is?
Thanks
regards
Peter
---
double-oh-viper wrote:
Hello all,
I have the following question:
I have a Gtk::ComboBoxEntry and several Gtk::Buttons which put a
character (from it's handler) in the entry of the combobox (it's
designed for a touchscreen). This all works fine. After a click I want
the focus back to the entry, so I call entry.grab_focus(). This works,
but it selects the text in the entry without seeing a cursor, and what
I want is to see the cursor of the entry at the position where it was
(no selection),
so when I pushed another button, it's character must be put at the new
position (cursor).
Could somebody please help me?
Thanks in advance,
Greetings
Peter
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
|