Re: displaying images



Hi,

simith nambiar <simithn yahoo com> writes:

>            i managed to open and display an image
> using GtkImage with help from the list though!
> i wanted to do that adding a timeout every 1 second 
> so i add an event expose and how do i write the expose
> 
> 
> i want to do something like this every 1 second on
> expose event called i just want to open a new image
> and display it , but nothing happenning for me !

what are you trying to do? If you want to display a new image every
second, why don't you just call gtk_image_set_from_file() from your
timeout handler? The good thing about GtkImage is that you don't need
to fiddle with the expose event at all. GtkImage does it all for you.


Salut, Sven




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