Re: problem to display gif file



Are you thinking of doing it on a Canvas?

my $img = Gtk::Gdk::ImlibImage->load_image("image_file.gif");

my $image = $group->new($Group,"Gnome::CanvasImage",
                'image' => $img,
                x => 10,
                y => 10,
                width  => $img->rgb_width,
                height => $img->rgb_height
        );

On Thu, 9 May 2002, Raf Verholen wrote:

Hi all ,
I'd like to display a gif file into a window ...
sounds simple , but it isn't for me ...
the examples i saw on the net were to difficult for me.
can someone explain me (simple) how to do this ?
an example would be great !

thankx,
Raf
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list





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