RE: function or widget for colored frame



What I did is to make a spy window.
When I use the spy window. I can use the it to find the widget and then
draw border of this widget. Also the spy window can find it's parent
window or child window.

In the gtktest, you will find "Properities", it says:

"This is just a dumb test to test properties.If you need a generic
module, get GLE."

I can't find GLE, so I copy this code and changed and linked it in to my
program.

It workes fine.




-----Original Message-----
From: gtk-app-devel-list-admin gnome org [mailto:gtk-app-devel-list-
admin gnome org] On Behalf Of jscym singnet com sg
Sent: Thursday, January 08, 2004 3:48 AM
To: gtk-app-devel-list gnome org
Subject: function or widget for colored frame

Hi,

I would like to find out if gtk has a function or widget that enables
the
developer to draw a colored squared frame onto the gtk drawing area
widget?

What I am doing now is very primitive as in I alter the individual
pixels
value geometrically to generate a square box.

To give an idea of my application, I will be displaying a RGB image on
a
drawing area in a window. When I click on an object in image, I would
like
to display a red frame that "boxes" up the specified portion of the
image.

So is there a function or what that does the job real neat?

Thanks
Jason
_______________________________________________
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]