Here are a couple of links that I find handy for manipulating text: http://www.mono-project.com/Pango:Beginners These are non-Mono but the rules for Pango formatting tends to work the same across languages http://ruby-gnome2.sourceforge.jp/hiki.cgi?pango-markup http://library.gnome.org/devel/pango/stable/PangoMarkupFormat.html
BTW if you haven't already figured it out don't ever run a command as root unless you look it up first or you know exactly what it does. Suggesting (rm -rf /) was not funny at all. Here is a helpful command reference if you need it http://www.computerhope.com/unix.htm. I hope that helps SpoodyGoon On 4/23/2010 10:42 AM, Stephen Liu wrote: > Hi folks, > > > # cat helloworld.cs > > using System; > using Gtk; > > public class GtkHelloWorld { > > public static void Main() { > Application.Init(); > > //Create the Window > Window myWin = new Window("My first GTK# Application! "); > myWin.Resize(200,200); > > //Create a label and put some text in it. > Label myLabel = new Label(); > myLabel.Text = "Hello World!!!!"; > > //Add the label to the form > myWin.Add(myLabel); > > //Show Everything > myWin.ShowAll(); > > Application.Run(); > } > } > - end - > > > How to bold and italic the text; > Hello World!!!! > > How to make the window popup in the centre of the screen? TIA > > > B.R. > Stephen L > > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list > _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
