I' m using RedHat 8 and Mono 0.19, but
I' m import elements of "file.glade" of the following form. in the place of the attribute "[ GladeWidget ]" and replace for : Button button1 = (Gtk.Button) gxml["button1 "];
Bye..
Fl�vio L Mendes
Eduardo wrote:
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?
_______________________________________________
Mono-list maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
