Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-07

offtopic: GTK question

3 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vit Kavan

Hi all,

I need to draw an animation on GTK (1.2) window (let's say array[0..15] of PGdkImage, or so), I had a problem to force GTK to redraw window, which I solved by not calling gtk_main() and using a loop with gtk_main_iteration and gtk_windget_queue_draw. This works, but flickers terribly (redraws the window bkg before the image). I solved the same problem before in Kylix by setting the "WidgetFlags_WRepaintNoErase" QT flag. Any ideas what to do in GTK?

there are probably better places to ask, but people at #gtk IRC channels tend to see the problem in the fact, that I don't use the proper language (ie. C/C++) :-)))

Thanx, VTech

Florian Klaempfl
to Vit Kavan
you wrote
there are probably better places to ask, but people at #gtk IRC channels tend to see the problem in the fact, that I don't use the proper language (ie. C/C++) :-)))

Then tell them that a toolkit which supports only one language isn't worth anything ;-)))

Marco van de Voort
to Florian Klaempfl
Show quoted text 8 lines
At 19:43 03.07.2002 +0200, you wrote: >there are probably better places to ask, but people at #gtk IRC >channels tend to see the problem in the fact, that I don't use the proper >language (ie. C/C++) :-))) Then tell them that a toolkit which supports only one language isn't worth anything ;-)))

I always state that I can emulate any way of calling a symbol, and they just have to say how.