[Gtk-sharp-list] properties & setters
Lee Mallabone
gnome@fonicmonkey.net
20 Feb 2003 20:47:56 -0500
Hi all,
Does anyone have any opinions on whether methods should contain Set
methods as well as have properties?
For example, Gtk.Arrow has full property members for its ArrowType and
ShadowType parameters.
However, it also has a method with this signature:
Set(ArrowType, ShadowType);
Personally, I'd be tempted to try and remove the Set() method, to get
rid of any ambiguity for API users about which one to use. I also think
properties are more elegant.
Should I go ahead and file a bug about this, or does anyone prefer the
current scheme?
Regards,
--
Lee Mallabone <gnome@fonicmonkey.net>