[Mono-list] How to assign user data to a widget

A Rafael D Teixeira rafael.teixeirabr at terra.com.br
Mon Jul 4 11:03:54 EDT 2005

On Mon, 2005-07-04 at 21:15 +0700, Superbiji at gmail.com wrote:
> Hi,
> I have question for GTK#
> How to assign user data to a widget?
> Using widget.Userdata is seem impossible, because it not dot net style.
> Any other way?

You can subclass the widget to add specific members...

Rafael "Monoman" Teixeira 
Mono Hacker since 16 Jul 2001 - http://www.mono-project.com/
Mono Brasil Founding Member - http://monobrasil.softwarelivre.org/
Simios Proud Member - http://www.simios.org/ 
English Blog: http://monoblog.blogspot.com/
Brazilian Portuguese Blog: http://www.simios.org/blog/monoman

More information about the Mono-list mailing list