[Gtk-sharp-list] Toolbar InsertStock Method

Willem J.W. Semmelink willems@digicore.co.za
Thu, 20 May 2004 15:48:08 +0200


<my 2c>
The Gtk toolbar InsertStock is defined as follows:

public Widget InsertStock (string stock_id, string tooltip_text, string =
tooltip_private_text, SignalFunc cb, IntPtr user_data, int position)

In my opinion, the stock_id parameter can do with some work. In stead of =
a string, I belive passing an enum is more typesafe. One can perhaps =
define the enum such that the enum's ToString() method is then used to =
forward a string to the Gtk libraries.=20

</my 2c>

Regards
Willem