[Gtk-sharp-list] problem with compilation of ToolButton
don at env.com.ua
Fri Nov 18 06:36:49 EST 2005
... did you forget to write: using Gtk;
On 11/18/05, mirek <Miroslav.Binas at cnl.tuke.sk> wrote:
> 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
> 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?
> e-mail: mirek at host.sk
> icq: 113397932
> jabber: mirek_b at jabber.sk
> homepage: http://www.intrak.sk/~binas
> Please avoid sending me Word or PowerPoint attachments.
> See http://www.fsf.org/philosophy/no-word-attachments.html
> 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 - Gtk-sharp-list at lists.ximian.com
More information about the Gtk-sharp-list