gtk_text_get_point



Hi everybody,

I am using a gtk_text_new component and want to know my position in the gtk_text. I am using the gtk_text_get_point function but it seems to dont return me the correct value. In fact, for example, when I go to the begining of the text, the function return me position=0, so ok. But if push the right arrow key one time, the position return by the function is again 0. If I push a second time the position=0. If I push a third time position=1. The lenght of the text returns by the gtk_text_get_lenght function is not correct too

Can you tell me why???

Thanks in advance



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