[Gtk-sharp-list] Gtk.Label set_Text()
Jonathan Pryor
jonpryor@vt.edu
Sun, 19 Oct 2003 07:55:04 -0400
It's a property, so you don't call it as a function, you call it as if
it were a member named without the "set_":
Label l = new Label ();
l.Text = "some text in a label"; // calls Widget.set_Text()
- Jon
On Sun, 2003-10-19 at 02:37, Joe Scaduto wrote:
> I am having trouble with widget.set_Text() where widget is a Gtk.Label
> widget. When I run mcs I get error cs0571: set_Text cannot call
> operator or accessor. Does anyone know what this means or how I can fix
> this?
>
> Thanks
>
> Joe
>
> _______________________________________________
> Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list