[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: gdk_window_set_back_pixmap: GOT THE FIX !
- From: "Eric Gavaldo" <egavaldo europe shiva com>
- To: gtk-app-devel-list redhat com
- cc: "Geraldine Tralongo" <gtralong europe shiva com>
- Subject: Re: gdk_window_set_back_pixmap: GOT THE FIX !
- Date: Mon, 4 Oct 1999 18:33:32 +0100
I got the solution from a friend of mine:
The inital idea was to setup the main window with a pixmap (parent_relative set
to FALSE) & set all others widgets with a transparent background (using the same
gdk function : 2nd argument to NULL, third one to TRUE).
Unfortunately .. it was not working.
This has been finally fixed by changing directly the background entries of the
style in the structure of the main window:
window->style->bg_pixmap[0] = pixmap;
window->style->bg_pixmap[1] = pixmap;
window->style->bg_pixmap[2] = pixmap;
window->style->bg_pixmap[3] = pixmap;
window->style->bg_pixmap[4] = pixmap;
That works great ... thanks to DindinX
EricG.
Michael Vance <briareos@lokigames.com> on 04/10/99 18:07:23
Please respond to gtk-app-devel-list@redhat.com
To: gtk-app-devel-list@redhat.com
cc: (bcc: Eric Gavaldo/Eng/SOP/Shiva)
Subject: Re: gdk_window_set_back_pixmap
On Mon, Oct 04, 1999 at 12:23:50PM +0100, Eric Gavaldo wrote:
> When I try to use the function on the main window , I see the pixmap in
> background for 1/2 second during everything is building , then,
What happens when you apply it to a GtkDrawingArea?
m.
--
Programmer "I wrote a song about dental floss,
Loki Entertainment Software but did anyone's teeth get cleaner?"
http://lokigames.com/~briareos/ - Frank Zappa, re: the PMRC
--
To unsubscribe: mail gtk-app-devel-list-request@redhat.com with
"unsubscribe" as the Subject.
Mailing list concerns should be mailed to <listmaster@redhat.com>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]