[Gtk-sharp-list] problem with compilation of ToolButton
jeroen.zwartepoorte at gmail.com
Fri Nov 18 03:36:40 EST 2005
You're using the 1.0 package when you specify "-pkg:gtk-sharp". You
need to specify "-pkg:gtk-sharp-2.0". The same applies to glade-sharp
and all the other Gtk# packages.
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