[Gtk-sharp-list] Button (Label label) constructor
John Luke
jluke@users.sourceforge.net
Wed, 03 Sep 2003 22:31:14 -0400
--=-gr2DpqrXbU5fftBdY0gg
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Hello,
There didn't seem to be a way to set the Label in a button to UseMarkup
(I wanted the text to be bold). So I added a .custom file that accepts a
label instead of a string. Is this the best way, or did I miss some
other way to do it? Can I commit?
John
--=-gr2DpqrXbU5fftBdY0gg
Content-Disposition: attachment; filename=Button.custom
Content-Type: text/plain; name=Button.custom; charset=
Content-Transfer-Encoding: 7bit
//
// Gtk.Button.custom
//
// This code is inserted after the automatically generated code.
//
public Button (Label label) : this ()
{
this.Child = label;
}
--=-gr2DpqrXbU5fftBdY0gg--