Re: Redrawing

On 02/28/01 Bogdan M.Maryniuck wrote:
So I have a trouble with text widget or another widget repaintings...
In TCL/TK I do just:

proc {something} {} {
     update; # <<< That, what I need!!!

...and all the widgets are repainted first and sub gets an callback.
How to in GTK/Perl? Help me plz.

You can call:

Gtk->main_iteration while Gtk->events_pending;

to make Gtk+ handle queued redraws and stuff like that.


lupus debian org                                     debian/rules
lupus ximian com                             Monkeys do it better

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