[Gtk-sharp-list] Add data to ComboBox

Brad Taylor brad@getcoded.net
Mon, 22 Nov 2004 10:44:32 -0800


--=-Jt47DALR9cjgumQNtz7l
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

> You can do this in Gtk# for Windows 1.0.2

This feature is available under Gtk# in Linux also.

>=20
> Gtk.Widget w =3D  gxml.GetWidget("combo1");
> combo1 =3D w as Gtk.Combo;
> string[] list =3D new string[] {"English", "Maths", "Science"};
> combo1.PopdownStrings =3D list;

-Brad

--=20
Brad Taylor
Genome Software LLC
http://www.getcoded.net

--=-Jt47DALR9cjgumQNtz7l
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

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

iD8DBQBBojOPWZT8MXyJ2AURAvkvAJ0a0scezKZrEDuG0M2vee5hcqiQXgCeKnNW
s+n/TADxKqX9+lQohV/roiA=
=R+2Z
-----END PGP SIGNATURE-----

--=-Jt47DALR9cjgumQNtz7l--