Re: Tiled Image with GdkFill?
- From: Tristan Van Berkom <tvb gnome org>
- To: Ronald Vincent Tarrant <rontarrant sympatico ca>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Tiled Image with GdkFill?
- Date: Wed, 04 Jan 2006 17:23:36 -0500
Ronald Vincent Tarrant wrote:
Hi all,
Does anyone know how to tile an image as a background in a widget? I'm
thinking it has something to do with GdkFill types (such as GDK_TILED)
but I don't see any example code. In fact, I'm not at all clear on how
to use a GdkFill type at all. Any suggestions, anyone?
There may be other ways to do this that I'm not aware of;
afaik the theme engine does not support this (all images
are scaled to fit the widget backgrounds afaik; using
engine "pixbuf" that is).
One thing I do know you can do is:
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Windows.html#gdk-window-set-back-pixmap
Which is originally an X semantic I believe; but as a part of GDK,
must be portable anyway.
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]