Background image for a window
- From: Chris Debenham - PTS Engineer <Chris Debenham Sun Com>
- To: gtk-perl-list gnome org
- Subject: Background image for a window
- Date: Wed, 9 Feb 2005 16:20:55 +1100
I want to put an image in the background of a window with text labels over
it.
In Gtk1 i used:
$window_style->bg_pixmap('normal', $pixmap);
$window->window->set_back_pixmap($pixmap, 0);
but this fails in GTK2
(error message:"Usage: Gtk2::Style::bg_pixmap(style, state)")
Is there a better/proper way to do this? (note gnomecanvas is tooo slow for
my purposes)
Chris
--
-------------------------------------------------------------------------------
,-_|\ PTS Engineer E-mail : chris debenham sun com
/ \ Sun Microsystems Australia Pty Ltd. Direct : +61 (2) 9844 5188
\_,-\_* 828 Pacific Highway Phone : +61 (2) 9844 5000
v Gordon, N.S.W. 2072 Fax : +61 (2) 9844 5189
Mobile : +61 (40) 9844 514
-------------------------------------------------------------------------------
"Any technology sufficiently advanced is indistinguishable from a perl
script"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]