You could pack it in a GtkFrame ... ?



________________________________
From: Ken Resander <kresan...@yahoo.com>
To: gtk-list@gnome.org
Sent: Tuesday, September 1, 2009 12:01:36 PM
Subject: Why no borders on GTK text, list and treeviews?


I am using the 'Human' Ubuntu theme available via 
System->Preferences->Appearance. 
I embed the views in a scrolled_window, which in turn is put in a container. 
The text, list and treeview show the data and behave ok, but have no borders.

I am conditioned by Windows, HTML, SVG and CSS and have been fumbling around 
trying to find a setborderwidth function without success. There is a 
gtk_widget_set_style call that sets multiple style properties, but there is no 
property named border-width. There are two properties called xthickness and 
ythickness. Do these refer to border thickness?

However, when I call gtk_widget_get_style() for the textview, xthickess and 
ythickness both come out as 2, but there are no borders visible. I think I am 
missing something here.

How can I make the borders show?

 
________________________________
 New Email addresses available on Yahoo!  
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!


      
_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to