Re: make tree widget 3-d
- From: John Vetterli <jvetterli linux ca>
- To: Gtk AppDev Mailing List <gtk-app-devel-list gnome org>
- Subject: Re: make tree widget 3-d
- Date: Sat, 1 Oct 2005 02:21:19 -0400 (EDT)
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]