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

Arx Henrique arxcruz@terra.com.br
Mon, 23 Aug 2004 18:06:08 -0300


--=-4O9t0/rk5jp3OHAv7+Br
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

declaring the glade.xml file as static Glade.XML gxml is correct?
because it functions too, but i dont know if this is the more correct
form to do it.


On Seg, 2004-08-23 at 13:38 -0400, John Luke wrote:
> On Mon, 23 Aug 2004 07:19:36 -0300, Arx Henrique <arxcruz@terra.com.br> w=
rote:
> > On Ter, 2004-08-17 at 09:00 +0200, RUAUDEL Fr=E9d=E9ric wrote:
> > > Hi Arx,
> > >
> > > I don't know if it is the cleanest way to do it, but one solution can=
 be
> > > passing your gxml object to your OneAction() function like this :
> > >
> > > other.OneAction (this.gxml);
> > >
> > > then in your otherclass you can get your button with the glade
> > > GetWidget() function like this :
> > >
> > > Button myButton =3D (gxml.GetWidget ("MyButtonName") as Button);
> > >
> >
>=20
> Still another way is to use the indexer of the Glade.Xml,
> which is the equivalent of GetWidget but looks a bit nicer:
> Button myButton =3D gxml ["MyButtonName"] as Button;
>=20
> Esta mensagem foi verificada pelo E-mail Protegido Terra.
> Scan engine: VirusScan / Atualizado em 18/08/2004 / Vers=E3o: 1.5.2
> Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/
>=20
> E-mail classificado pelo Identificador de Spam Inteligente Terra.
> Para alterar a categoria classificada, visite
> http://www.terra.com.br/centralunificada/emailprotegido/imail/imail.cgi?+=
_u=3Darxcruz&_l=3D1093282687.772102.5566.larissa.terra.com.br
>=20

--=-4O9t0/rk5jp3OHAv7+Br
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)

iD8DBQBBKlw+rz6Y0HRLNBURAgXNAJwKpcio0q6pcMd6AIYSQsqiXpUUagCgv9em
f5QgZeQwuVJ1uEFRjFj62kM=
=Xe3W
-----END PGP SIGNATURE-----

--=-4O9t0/rk5jp3OHAv7+Br--