[Gtk-sharp-list] Toolbar InsertStock Method
Thu, 20 May 2004 10:18:43 -0500
On Thu, 2004-05-20 at 08:48, Willem J.W. Semmelink wrote:
> 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.
Even if we converted all the stock id strings to an enum, it's possible
to register new stock items programatically, and a switch to an enum
would make it impossible to use those.
Mike Kestner <firstname.lastname@example.org>