[Gtk-sharp-list] The .Label property of controls like the Gtk.Button

Todd Berman tberman@gentoo.org
Wed, 29 Oct 2003 10:29:24 -0500


Personally, I think that adding .Text is a good idea.

The goal of Gtk# (in my opinion) is to make an API that allows =
crossplatform
gui building and is *easy* for SWF developers to move too. Adding this
property is a good thing, not a bad thing.

Especially if it is just an alias for .Label

I would understand if this was severely esoteric code, but .Label and =
.Text
are pretty self evident.

And wrt to Gtk# not being its own living entity, I disagree, and I think =
it
surely is.

Again, this is all my opinion :)

--Todd

> -----Original Message-----
> From: gtk-sharp-list-admin@lists.ximian.com [mailto:gtk-sharp-list-
> admin@lists.ximian.com] On Behalf Of Malte Hildingson
> Sent: October 29, 2003 7:58 AM
> To: Philip Van Hoof
> Cc: gtk-sharp-list@lists.ximian.com
> Subject: Re: [Gtk-sharp-list] The .Label property of controls like the
> Gtk.Button
>=20
>=20
> For what it's worth; IMHO, it is a bad idea to divert from the =
original
> API, Gtk# is a binding to Gtk+ not its own living entity, and =
especially
> changing things like commonly known names will only cause confusion.
>=20
> /malte
>=20
>=20
>=20
> On Wed, 29 Oct 2003, Philip Van Hoof wrote:
>=20
> > Hi there,
> >
> > Because in .NET every visible control seems to have a .Text property
> > which is used to set the contents main-label of that control, would =
it
> > be a good idea if I provided a patch that adds this property to =
controls
> > like the Gtk.Button ?
> >
> > I am also thinking about adding a Databind ()-method and a =
DataSource
> > property to widgets like the Gtk.Combo and Gtk.TreeView.
> >
> > Please let me know what you think of these ideas, before I proceed =
:)
> >
> >
>=20
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list