Re: displaying gifs in tables



Mike Holme <M Holme doc mmu ac uk> writes:
> 
>      I'm trying to load 64 graphics into an 8x8 table (a chess board).
> How do you load gif files into containers. Any help would be much
> appreciated.
> 

Most people seem to use the gdk-pixbuf library these days. Since it
will come with GTK 2, it's a forward-thinking library choice.

With GTK 1.2 I would do the chess board by creating a drawing area and
rendering the images into that. Well, with GTK 2 I would also do that
for various reasons. But with GTK 2 you have the option to put
GtkImage widgets in a table as an alternative.

Havoc




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