Re: Problem with setting background for GtkViewport
- From: Sven Neumann <sven gimp org>
- To: Luis Oliveira <luismbo netcabo pt>
- Cc: gtk-list gnome org
- Subject: Re: Problem with setting background for GtkViewport
- Date: 05 Aug 2002 09:42:33 +0200
Hi,
Luis Oliveira <luismbo netcabo pt> writes:
> style "my_window"
> {
> bg_pixmap[NORMAL] = "background.xpm"
> }
>
> widget "main_window" style "my_window"
[...]
> Also, I see that this method tiles the background image, is it possible
> to scale it instead?
AFAIK the only sane way to get the background image scaled is to use a
theme-engine, in particular the pixmap theme engine. It allows you not
only to scale the whole image but also to keep the image corners (or
borders) unscaled.
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]