[prev in list] [next in list] [prev in thread] [next in thread] 

List:       enlightenment-devel
Subject:    Re: [E-devel] PERL and Imlib
From:       eric richardson <e () ericrichardson ! com>
Date:       2001-09-26 0:18:42
[Download RAW message or body]

On Tue, 25 Sep 2001 benr@cuddletech.com wrote:

> Hello.
> 
> I'm playing with GTK and Imlib in PERL (I'm new to windowing via PERL).
> One little thing is nagging me.  Why is it that when I call an image open it
> closes immediately?  Do I need to insert an infinite event loop that just
> keeps rendering the image?  How do I keep the thing on the screen?
 
You need to make a call to Gtk->main once you're done with your setup
code.  That starts the GTK event loop.  It doesn't keep re-render, it just
waits for events.

e;

--
     __        o        o    _            _             eric richardson
 __ ))c) __ __ _ __  __ _ __ ))_ ___ __ __)) __ __  _ _    __  __  _  _
(('((__,(('(| ((((_ (| ((((_((`(((_((| ((_( _))((_)((\( o ((_ ((_)((`1(
  http://ericrichardson.com  http://ethreads.com  http://escripting.com



_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic