Re: make tree widget 3-d



On Fri, 30 Sep 2005, Ian Zimmerman wrote:
Hi, when I put a GtkFreeView in my window, either directly or within
an intermediate GtkScrolled Window, the result has a flat white to
gray boundary.  I'd like my lists and trees to have the same sunken
three dimensional look as edit boxes have, is that possible?  Is
there a general way to do this with any widget?

Have a look at GtkFrame:
  http://developer.gnome.org/doc/API/2.0/gtk/GtkFrame.html

In a nutshell, it's a container that provides a 3-d-like frame around the widget it contains.

If your widget is in a GtkScrolledWindow, have a look at gtk_scrolled_window_set_shadow_type ().
  http://developer.gnome.org/doc/API/2.0/gtk/GtkScrolledWindow.html#gtk-scrolled-window-set-shadow-type

HTH
JV



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