Re: Tiled Image with GdkFill?



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]