[Gtk-sharp-list] TextTag

Felipe Almeida Lessa felipe.lessa at gmail.com
Fri Jan 19 09:26:29 EST 2007


On 1/19/07, White Spirit <wspirit at homechoice.co.uk> wrote:
> I can't get the following to compile.  I get a parse error at the last line.
>
> TextTagTable textTagTable = new TextTagTable ();
> TextTag statusTag = new TextTag ("status");
> textTagTable.Add (statusTag);
>
> I compile with the flags -pkg:gtk-sharp-2.0
>
> Is there something I'm doing wrong?

It compiles fine here, your snippet doesn't have any syntax problems.
Try to create a .cs file that shows the error. Also, paste what the
compiler says and the Mono/Gtk# versions on the e-mail, too.

Cya,

-- 
Felipe.


More information about the Gtk-sharp-list mailing list