Re: GtkTextView background image without tiling.



On Fri, Jul 30, 2010 at 5:35 AM, Kuang-Chun Cheng
<kccheng linuxdaq-labs com> wrote:
Hi,

I can use gdk_window_set_back_pixmap() to set the background image of
GtkTextView.
But the image is tiling.
My question is ... Is it possible to use background image without
tiling for Gtk's widget ?


You can set the image using GtkStyle, using "engine pixbuf"
the image will scale to fit.

Cheers,
      -Tristan



Regards
KC
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]