RE: drawing widget borders



The testgtk program came with Gtk package has a function called Query
properties.

In that page, they also talking about GLE ? what's that?

Basicly, I think Gtk should include a tool which like windows Spy++.

Thanks.


-----Original Message-----
From: gtk-app-devel-list-admin gnome org
[mailto:gtk-app-devel-list-admin gnome org] On Behalf Of Michael L
Torrie
Sent: Thursday, October 23, 2003 12:50 PM
To: gtk-app-devel-list gnome org
Subject: RE: drawing widget borders

On Thu, 2003-10-23 at 09:49, martyn 2 russell bt com wrote:
This won't work - HBoxes, VBoxes, Tables don't have backgrounds, or
even expose handlers.

Owen's right, I had this problem once, I used an eventbox to draw a
background colour.  You could use this and have a widget on top of it
which is a few pixels smaller, hence giving the impression there is a
border of the background colour you set up.

How does glade do this?  Glade draws boxes around every widget.  Of
course they probably use a special container widget, or do some kind of
hack.


Regards,
Martyn
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
-- 
Michael L Torrie <torriem chem byu edu>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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