Hi,
Is it possible to add lined borders to Gtk container widgets such as GtkTable and the
Gtk H/V Boxes? (Also other widgets in general but I'm focused on these at the moment)
I'm writing an application (in Python) that uses Glade to layout Gtk widgets and PyGtk
bindings to control them. From what I understand so far, I think all Gtk widget
decoration is handled with Gtk Styles.
You can get a widget's style by saying widget.get_style() and this returns a GtkStyle
object (described in description.py). I can set various colours in here for different
GTK.STATE_XXXX s etc. This object also exposes GtkGC objects which appear to map onto
GDK Graphics Contexts and I've had a look at the GDK API for this. The API here
details various things that talk about lines and fills etc.
I haven't had any luck in getting lines to turn on and I'm randomly clutching at very
thin straws by setting attributes on these various style objects that I don't really
understand.
So is it possible to turn border lines on, does someone have example code, and is
there any succinct documentation available that might aid me in my quest for
style-enlightenment?
Thanks
Mike
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk