cvs: php-gtk-doc /manual/en/reference/gtk gtklabel.xml

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

cvs: php-gtk-doc /manual/en/reference/gtk gtklabel.xml

Anant Narayanan-3
anant Thu Dec  6 10:11:37 2007 UTC

  Modified files:              
    /php-gtk-doc/manual/en/reference/gtk gtklabel.xml
  Log:
  Update GtkLabel, thanks to Jake for the patch.
 
 
http://cvs.php.net/viewvc.cgi/php-gtk-doc/manual/en/reference/gtk/gtklabel.xml?r1=1.21&r2=1.22&diff_format=u
Index: php-gtk-doc/manual/en/reference/gtk/gtklabel.xml
diff -u php-gtk-doc/manual/en/reference/gtk/gtklabel.xml:1.21 php-gtk-doc/manual/en/reference/gtk/gtklabel.xml:1.22
--- php-gtk-doc/manual/en/reference/gtk/gtklabel.xml:1.21 Fri Oct 20 02:56:33 2006
+++ php-gtk-doc/manual/en/reference/gtk/gtklabel.xml Thu Dec  6 10:11:37 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.21 $ -->
+<!-- $Revision: 1.22 $ -->
 <classentry id="gtk.gtklabel">
  <classmeta>
   <classtitle>GtkLabel</classtitle>
@@ -18,10 +18,14 @@
    <para>
     You can have control over the way a GtkLabel will be displayed with
     some methods such as <function class="GtkLabel">set_justify</function>
-    or <function class="GtkLabel">set_width_chars</function>. If you wish to
-    define an alignment (note that align and justify are not the same thing)
-    or padding for a GtkLabel, you can insert it into a
-    <classname>GtkAlignment</classname> container.
+ or <function class="GtkLabel">set_width_chars</function>. As a subclass
+    of <classname>GtkMisc</classname>, you may specify alignment and padding
+    with <function class="GtkMisc">set_alignment</function> and
+    <function class="GtkMisc">set_padding</function>.  However,
+    <function class="GtkMisc">set_padding</function> only supports setting
+    padding for the right/left and top/bottom pairs.  If you need to specify
+    different values for left and right padding, you can insert the label
+    into a <classname>GtkAlignment</classname> container.
    </para>
   </desc>
  </classmeta>

--
PHP-GTK Documentation Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php