Re: Redrawing



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

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

...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

-- 
-----------------------------------------------------------------
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]