Re: Setting Background image for window



Manoj tr wrote:
Hi all,
1. i have some image (.jpg) files. how can i add to the window at the background?? Menaing i want my buttons and other controls on top.


You have only to skin your toplevel window.

http://developer.gnome.org/doc/API/2.0/gtk/gtk-Resource-Files.html

You're probably best off naming your widgets and skinning them
by name (glade/xml does this part for you).


Cheers,
                   -Tristan

NOTE:
    If your widgets are not in "fixed" containers then resizing your
widgets will result in your jpeg actualy being scaled (hmmm, at least
thats what happens in my setup...).





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