[Gtk-sharp-list] Glade app in many files

Arx Henrique arxcruz@terra.com.br
Sat, 14 Aug 2004 16:47:26 -0300


--=-m4kVmEoW0a45YYMj+v/0
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hello all,

One more time, sorry my english :) I hope that all understand...

I can try write a app in gtk#/glade and i wanted know how i separate my
app in many files and using the same Glade.XML like this:

file1:

class app
{
	Glade.XML gxml;
	public app()
	{
		gxml =3D new Glade.XML(null, gui.glade ....)
		...
	}
	public void on_button_clicked(object o, EventArgs args)
	{
		otherclass other =3D new otherclass();
		other.OneAction();
	}
}

now in other file, i want run OneAction that will do something with a
button that is contained in gui.glade

how i do it ?

Cheers

--=-m4kVmEoW0a45YYMj+v/0
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem
	assinada digitalmente

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBBHmxMrz6Y0HRLNBURAnnjAKCaFPzFjqo0IAiMjyHuZRLZOoNuPQCgmUZC
AFXa1qOR1kJOR+vPdZL7TOU=
=1Y2e
-----END PGP SIGNATURE-----

--=-m4kVmEoW0a45YYMj+v/0--