Re: [gtk-list] backround pixmap




Blake Hegerle <mephisto@antares.cloudnet.com> writes:

> Is there a way to give a window a backround pixmap, that is drawn under
> other widgets, or should I use some sort of theme(gtkrc)

Assumming you are using GTK+-1.1:

  gtk_widget_set_app_paintable (window, TRUE);
  gtk_widget_realize (window);
  gdk_window_set_back_pixmap (window, pixmap, FALSE);

For GTK+-1.0, omit the first line.
                                        Owen



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