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

Philip Van Hoof spamfrommailing@freax.org
Wed, 29 Oct 2003 10:01:10 +0100

Content-Type: text/plain
Content-Transfer-Encoding: 7bit

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 :)

Philip Van Hoof, Software Developer @ Cronos
home: me at freax dot org (change the From-field)
work: Philip dot VanHoof at cronos dot be
http://www.freax.be, http://www.freax.eu.org

Content-Disposition: attachment; filename=Button.custom
Content-Type: text/plain; name=Button.custom; charset=UTF-8
Content-Transfer-Encoding: 7bit

// Gtk.Button.custom - Gtk Button class customizations
// Author: Philip Van Hoof  (me@freax.org)
// This code is inserted after the automatically generated code.
public string Text {
	get {
		return this.Label;
	set {
		this.Label = value;