Re: [gtk-list] Re: Gtk Perl



On Mon, 16 Aug 1999, Geert Bevin wrote:

> Well,
> 
> I've been searching for quite a while now how to write a GtkPerl
> alternative for the following C construction :
>         while (gtk_events_pending()) gtk_main_iteration(); 
> 
> I need this to have the widgets updated while I wait for another process
> to be finished.
> 
> Hope you have an idea how to achieve this, thanks.

It's straightforward, as such things go:

	do {
		Gtk->main_iteration();
	} while (Gtk->events_pending);

> Geert.
> 
> Robert Schwebel wrote:
> > 
> > Geert Bevin wrote:
> > > Someone here that uses Gtk Perl fairly extensively?
> > 
> > What do you want to know? By the way, Dermot is also reading this list.
> > 
> > Robert
> 
> Geert Bevin - gbevin@thunderstorms.org
> Montenegrostraat 11      1060 Brussels
> BELGIUM                   0477/302.599
> --------------------------------------
> >>  Idealists have to communicate  <<
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 
> 

-- 
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)




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