[Mono-list] Re: Glade.WidgetAttribute problem
alexrait1 at mail.ru
Sat Oct 22 06:22:29 EDT 2005
I've always used [Glade.Widget] so far and not WidgetAttribute.
What is the difference between the two?
Robert Jordan wrote:
>> I am trying to learn Linux programming using Mono, that's ok but I can't
>> do so much things because I can't link code objects (variables) to Glade
>> objects (widgets). I know that I've to declare one variable per widget I
>> want to use in my code, and I've to write a "[Glade.WidgetAttribute]"
>> before that, but I only get an error message when I do it:
>> [Task:File=/home/raul/Projects/prueba_glade/Main.cs, Line=15, Column=3,
>> Type=Error, Description=Expecting `;'(CS1002)
> Well, this is incorrect C# code. The type of the field
> is missing:
>> [Glade.WidgetAttribute] window1; //<--- the ugly line
> [Glade.WidgetAttribute] SomeType window1;
> Mono-list maillist - Mono-list at lists.ximian.com
More information about the Mono-list