Re: how to put image as background of window

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

 



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
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux