From aa87b5bc36842a529b4fbe199d28961ed9a77ed0 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Sat, 14 May 2005 04:37:51 +0000 Subject: [PATCH] Patch from tavi_duma2002@yahoo.co.uk svn path=/trunk/gtk-sharp/; revision=44515 --- doc/en/Gtk/Widget.xml | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/doc/en/Gtk/Widget.xml b/doc/en/Gtk/Widget.xml index 09a97b898..0cfdec3fd 100644 --- a/doc/en/Gtk/Widget.xml +++ b/doc/en/Gtk/Widget.xml @@ -1,4 +1,4 @@ - + @@ -819,6 +819,21 @@ All other style values are left untouched. See also . + +To change the font of a simple Widget: + + + + using Pango; + ... + [Widget] Label label1; + ... + + ... + label1.ModifyFont(FontDescription.FromString("Courier 16")); + ... + + @@ -4103,8 +4118,7 @@ Widgets are required to honor the size allocation they receive; a size request i This function works like , except that the widget is not invalidated. - - + Method @@ -4116,8 +4130,7 @@ Widgets are required to honor the size allocation they receive; a size request i a - - + Method @@ -4209,5 +4222,4 @@ Widgets are required to honor the size allocation they receive; a size request i a Override this method in a subclass to provide a default handler for the event. - - + \ No newline at end of file