[Gtk-sharp-list] Shadow vs ShadowType

Lee Mallabone gnome@fonicmonkey.net
11 Mar 2003 21:59:53 +0000


Hi all,

I've added most of this mail to bug 38660,
http://bugzilla.ximian.com/show_bug.cgi?id=38660

However, I thought it might be worth discussing briefly...

Gtk.HandleBox has both "Shadow" and "ShadowType" properties, seemingly
to manage the same thing. I think this is a common problem; I've seen it
at least once before. However, looking at the C API docs for HandleBox,
"shadow" and "shadow-type" exist as GObject properties, which is
presumably why they're present in the Gtk# API.

I suspect this is for legacy reasons in Gtk+. I think it would be great
to offer improved consistency throughout Gtk# and only expose the
'Shadow' property.

Is this easy to do? Does anyone disagree as to whether it should be
done?

Regards,

Lee.