pangoLayout->index_to_pos() error



Hi there,
Im trying to implement something like an TextEntry.
So I need to compute the current position of the cursor.
For this Im using PangoLayout::index_to_pos().
Everything works fine, as long as the string doesnt have
any special characters. (ö, ä, ü, µ).

Im building the string in the on_key_press_event with 
"text.insert(position, 1, event->keyval)".

thanks

thom


-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser



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