[Mono-list] Testing GTK# with Glade

Eduardo psycoboy@bol.com.br
25 Jan 2003 18:56:13 -0500


Hello guys!

I'm using RedHat 8, Mono 0.19 (installed with Red Carpet)
and Gtk#.

I couldn't compile succesfull the GladeTest example
showed in tutorial:
http://go-mono.com/tutorial/html/en/gnome/bindings/glade/glade.html

Seems that the compiler doesn't recognize
the attribute "[GladeWidget]":


I got this error:

syntax error, expecting BASE BOOL BREAK BYTE CHAR CHECKED CONST CONTINUE
DECIMAL DO DOUBLE FALSE FIXED FLOAT FOR FOREACH GOTO IF INT LOCK LONG
NEW NULL OBJECT
RETURN SBYTE SHORT SIZEOF STRING SWITCH THIS THROW TRUE TRY TYPEOF UINT
ULONG UNCHECKED UNSAFE USHORT USING VOID WHILE OPEN_BRACE CLOSE_BRACE
OPEN_PARENS SEMICOLON TILDE PLUS MINUS BANG BITWISE_AND STAR OP_INC
OP_DEC LITERAL_INTEGER LITERAL_FLOAT LITERAL_DOUBLE LITERAL_DECIMAL
LITERAL_CHARACTER LITERAL_STRING IDENTIFIER

GladeTest.cs(32) error CS1002: Expecting `;'



Above the lines of code:

[GladeWidget]		// 31
Button button1;		// 32


Any clue?