[Gtk-sharp-list] Loading glade resource files
Rafael Teixeira <email@example.com>
Thu, 3 Mar 2005 09:22:46 -0300
Did you embed the glade file as a resource in the executable? Most of
our examples use the call that loads the glade xml file from a
Just give an extra option ( /res:relativepathtoyourgladefile.xml ) to
mcs when compiling and adjust the name accordingly in the constructor
Example from csboard:
Glade.XML gXML = new Glade.XML ("resource/csboard.glade",
Look for details in the tutorial...
On Thu, 03 Mar 2005 00:49:39 -0500, Mike Flippin
> I am new to Glade and GTK# and am having trouble loading up a glade
> resource. I'm trying to follow the tutorial on the Mono site where you
> build a Gecko#-based browser, but I can't get it to load my
> project.glade file even though it's in the same directory as the
> tutorial .exe file. Am I missing something like a common gotcha here?
> Any help would be appreciated as I am really looking foward to getting
> accustomed to developing with Glade.
> Gtk-sharp-list maillist - Gtkfirstname.lastname@example.org
Rafael "Monoman" Teixeira
I'm trying to become a "Rosh Gadol" before my own eyes.
See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.