... did you forget to write: using Gtk;
On 11/18/05, mirek <[EMAIL PROTECTED]> wrote: > hello > > i am new in gtk-sharp, and so - i've got some problems ;) > > i created the main window in glade. it contains the toolbar with some > buttons of type ToolButton. i added to the program line > > [Glade.Widget] ToolButton toolbutton1; > > and then i tryied to compile the program with line: > > mcs -pkg:glade-sharp -pkg:gtk-sharp -resource:window.glade test.cs > > but the result was > > test.cs(24,19): error CS0246: The type or namespace name `ToolButton' > could not be found. Are you missing a using directive or an assembly > reference? > > and so - i have no idea, where is the problem. when i was looking in the > documentation in monodoc, there was following note: > /Note: This namespace, class, or member is supported only in version > Gtk# 2.4 and later. > > /so i upgraded the gkt-sharp2 to the version 2.4.0-0pre1, but the > problem is still the same. and i dont know, where is the problem... > > can anybody help? what i did wrong? > > mirek > > -- > e-mail: [EMAIL PROTECTED] > icq: 113397932 > jabber: [EMAIL PROTECTED] > homepage: http://www.intrak.sk/~binas > > english: > Please avoid sending me Word or PowerPoint attachments. > See http://www.fsf.org/philosophy/no-word-attachments.html > > slovak: > prosim, neposielajte mi prilohy vo formatoch .doc a .ppt (power point) > precitajte si http://www.fsf.org/philosophy/no-word-attachments.cs.html > > _______________________________________________ > Gtk-sharp-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list > _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
