Re: how to put image as background of window
- From: Jan-Marek Glogowski <glogow fbihome de>
- To: srinivas <srinivas puretek com tw>
- Cc: gtk-list gnome org
- Subject: Re: how to put image as background of window
- Date: Sun, 20 Jun 2004 03:07:13 +0200 (CEST)
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]