[Gtk-sharp-list] More than one Glade resource file? (Is it possible?)

Adam Tauno Williams awilliam@whitemice.org
Wed, 15 Sep 2004 23:04:02 -0400


> Is it possible to have more than one glade resource file in the context
> of a process?
> I built a library that contains a glade resource file (say "xyz.glade")
> and code for a bunch of common dialogs used be a set of applications.
> Then I made an executable project that includes the library and also has
> its own resource file (say "abc.glade").
> The application can create windows defined in the library just fine.

Nevermind, figured it out;  it always looks in the assembly the base
class is in.

If I...
 Glade.XML gxml = new Glade.XML (this.GetType().Assembly, 
                                 gladeFile, 
                                 gladeName, 
                                 null);
... it always works.