[MonoDevelop] Font size change in monodevelop
Michael Hutchinson
m.j.hutchinson at gmail.com
Fri Apr 2 03:20:26 EDT 2010
On Fri, Apr 2, 2010 at 12:02 AM, Robert Trent <rttrent at hiwaay.net> wrote:
> Michael Hutchinson wrote:
>>
>> Use the label.Markup property.
>>
>> (Generally get_* and set_* map to properties).
>
> lblClientDetailTime.set_markup("<big>Big label</big>");
> returns Gtk.label does not contain a definition for 'set_markup' (CS0017)
> MainWindow.cs etc.
> I'm not quite there yet. Markup works fine as specified in the widget but
> not in my code. Any suggestions??
Um, by "map" I mean that the C gtk_label_set_markup function maps to
the setter of the Markup property of the Gtk.Label type in C#.
http://go-mono.com/docs/index.aspx?link=P%3aGtk.Label.Markup
It might be that it doesn't show up in autocompletion in the version
of MonoDevelop you're using, because IIRC there was a bug that
prevented autocompleting set-only properties, but it's there and it
works.
--
Michael Hutchinson
http://mjhutchinson.com
More information about the Monodevelop-list
mailing list