[Gtk-sharp-list] Re: SWF "Tag" equivelant?

Ecmel Ercan ecmel@ercansoy.com
Wed, 30 Jun 2004 15:40:11 +0300

On Wed, 30 Jun 2004 12:37:06 +0200, Emiel van de Laar wrote:

> Hi,
> System.Windows.Forms.Control defines a "Tag" property for storing an 
> Object that contains data about the control. I want to use this
> property for storing my "Mediator" objects.
> Does GTK+/GTK# have an equivalent for this? If so what is it?

I use GLib.Object.Data which is a hashtable, so one can store
as many objects as desired. As this is defined in GLib.Object, every
GTK+/# widget inherits the capability.