Re: drawing widget borders



Philippe Laporte wrote:

    Is there some kind of debugging option in Gtk so that all widgets 
will draw their borders in special colors so we can see the spacign 
arrangement?

I don't think so. However, maybe you can try to achieve a similar effect
by creating a special "debugging" theme for GTK? For instance, colouring
all HBoxes, VBoxes and Tables in a flamboyant red or green should
provide you with good ideas about which area is occupied by the layout
container and which is by the actual widgets.

See:
http://developer.gnome.org/doc/API/2.0/gtk/gtk-Resource-Files.html
, especially the "Styles" section.



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