Thanks everybody for the answers.
So far, I've only found that one call to pango_layout_get_pixel_size() in my app
was followed by a segfault although the layout is valid, so this remains quite
confusing
(at least for me.)
Now I have one more question:
In the linux version, I use g_timeout_add
I have done in one way,
a scrolled window with test view setted with text buffer.
a function is called through a timer
inside the function, getting hadjustment of scrolled window then
incrementing its adjustment value setting back hadjustment to scrolled
window.
in this way string looks like movin