[Gtk-sharp-list] Glade, Gtk, Questions..

raphael.schmid@gmx.de raphael.schmid@gmx.de
Wed, 13 Aug 2003 15:52:01 +0200 (MEST)


> (Sorry for my uggly English)
Nevermind; mine isn't perfect either.

> A Question, You say that may be i don't nee to instance again Glade.XML 
> right? but How i will tell where is object? beacause they are two
> different class in two different Files. (May be with
[Glade.Widget("wndDialog")] ? 

That's why I said you might have to pass the object of class A ("this") to
class B
when instantiating it. But really, I'm not sure about it. I only know I had
a similar issue
once (still got to be in this list's archive) and it had something to do
with that kind of
stuff. Try Glade.Widget, only the question would then be how class B knows
what
file to take that widget from. I'm not sure that will work.

Have a look at <a
href="http://202.89.131.88/cgi-bin/cvsweb.cgi/installer/gtkfe.cs?rev=1.19&content-type=text/x-cvsweb-markup">http://202.89.131.88/cgi-bin/cvsweb.cgi/installer/gtkfe.cs?rev=1.19&content-type=text/x-cvsweb-markup</a>.
That's the part of my program where something like this is done. Maybe it
helps.

> Thank You Very Much.
Happy to help, if doing so at all :-)

Saludos, Raphael

-- 
Raphael Schmid
Martin-Luther-Strasse 26
72224 Ebhausen
GERMANY

raphael.schmid@gmx.de

Home: +49 (0) 7458-455289
On Site: +49 (0) 7452-808114
Mobile: +49 (0) 173-8757046

NIETS IS ONMOGELIJK