Another patch to the GtkTreeView docs

[email protected] (Tobias Schlitt) Thu, 15 Feb 2007 23:26:24 +0100
Newsgroups php.gtk.doc
Message-ID <[email protected]>
Thanks for commiting!

Cheers!
Toby
-- 
Tobias Schlitt - Zend Certification Member       GPG Key: 0xC462BC14
a passion for php                            http://www.schlitt.info
Member of the eZ components project          http://components.ez.no
GtkTreeView.patch (text/x-patch, 2.4 KB)
? GtkTreeView.patch
Index: manual/en/reference/gtk/gtktreeview.xml
===================================================================
RCS file: /repository/php-gtk-doc/manual/en/reference/gtk/gtktreeview.xml,v
retrieving revision 1.18
diff -u -8 -p -r1.18 gtktreeview.xml
--- manual/en/reference/gtk/gtktreeview.xml	14 Feb 2007 13:17:36 -0000	1.18
+++ manual/en/reference/gtk/gtktreeview.xml	15 Feb 2007 22:25:20 -0000
@@ -865,29 +865,40 @@ $treeview->append_column($column);
 
    </desc>
   </method>
 
   <method id="gtk.gtktreeview.method.scroll_to_cell">
    <funcsynopsis>
     <funcprototype>
      <funcdef>void <function>scroll_to_cell</function></funcdef>
-     
-     <paramdef><parameter>path</parameter></paramdef>
+     <paramdef>array <parameter>path</parameter></paramdef>
      <paramdef><classname>GtkTreeViewColumn</classname> <parameter><optional>column</optional></parameter></paramdef>
-     <paramdef><parameter><optional>use_align</optional></parameter></paramdef>
-     <paramdef><parameter><optional>row_align</optional></parameter></paramdef>
-     <paramdef><parameter><optional>col_align</optional></parameter></paramdef>
+     <paramdef>bool <parameter><optional>use_align</optional></parameter></paramdef>
+     <paramdef>float <parameter><optional>row_align</optional></parameter></paramdef>
+     <paramdef>float <parameter><optional>col_align</optional></parameter></paramdef>
     </funcprototype>
    </funcsynopsis>
    <shortdesc>
-
+    Scrolls the tree view to be visible in the tree view. 
    </shortdesc>
    <desc>
-
+    <para>
+	 This method scrolls the tree view to make the given row and column
+	 visible. This only has an effect if the row is expaneded and can therefore
+	 be shown. The column parameter can be ommited. If no column is specified,
+	 no vertical scrolling is performed.
+	</para>
+	<para>
+	 If the <parameter>use_align</parameter> flag is set to
+	 <literal>true</literal>, the <parameter>row_align</parameter> and
+	 <parameter>col_align</parameter> will take effect and must be provided.
+	 Each of the specifies the position, where the selected row will be shown
+	 in the tree. A value of (0.0/0.0) is the top right corner of the widget,
+	 (1.0/1.0) is the bottom right corner.
    </desc>
   </method>
 
   <method id="gtk.gtktreeview.method.scroll_to_point">
    <funcsynopsis>
     <funcprototype>
      <funcdef>void <function>scroll_to_point</function></funcdef>
      <paramdef>int <parameter>tree_x</parameter></paramdef>