Hi,

I'm trying to implement typeahead search in some treeview.

For that I have kinda

  def keyPress_cb(self, ..., event):
        unichar = gtk.gdk.keyval_to_unicode(event.keyval)
        if unichar == 0: return False
        chars = unichr(unichar)
        searchstring = searchstring + chars

That works fine for most chars.
Except dead (f.e. acute) chars which modify the next character.

I wonder how to fix that.

cheers,
   Danny

(for previous thoughts, see bugzilla.gnome.org bug #143781 which is now
closed)

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to