Re: how to put image as background of window



Hi

To set a background image use: gdk_window_set_back_pixmap

At

ftp://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf

you can find the old pixbuf code for gtk+ v1.2.

This can handle image loading, drawing, scaling etc.

Take a look at the API at http://developer.gnome.org/doc/API/gdk-pixbuf/

People tend to forget it: there are demo application included in the
source distributions of Gtk, which help to understand how things can be
done.

HTH

Jan-Marek



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