From 0c4297ac51178e08cb947be5b43f8f6bdc3d5529 Mon Sep 17 00:00:00 2001 From: John Luke Date: Fri, 1 Aug 2003 21:34:57 +0000 Subject: [PATCH] 2003-08-01 John Luke * en/Gtk/TreeView.xml: add some info svn path=/trunk/gtk-sharp/; revision=16997 --- doc/ChangeLog | 3 +- doc/en/Gtk/TreeView.xml | 166 +++++++++++++++++++++------------------- 2 files changed, 90 insertions(+), 79 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index 3f3455578..8be46148c 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -4,7 +4,8 @@ 2003-08-01 John Luke - * /en/*.xml: use C#-style names, ex Gdk instead of GDK + * en/*.xml: use C#-style names, ex Gdk instead of GDK + * en/Gtk/TreeView.xml: add some info 2003-07-31 John Luke diff --git a/doc/en/Gtk/TreeView.xml b/doc/en/Gtk/TreeView.xml index 08662e1dc..6ce677390 100644 --- a/doc/en/Gtk/TreeView.xml +++ b/doc/en/Gtk/TreeView.xml @@ -264,10 +264,10 @@ public class TreeViewDemo { - To be added + Removes from . an object of type an object of type - To be added + @@ -282,11 +282,11 @@ public class TreeViewDemo { - To be added + Sets a user function for determining where a column may be dropped when dragged. an object of type an object of type an object of type - To be added + This function is called on every column pair in turn at the beginning of a column drag to determine where a drop can take place. If is set to be , then reverts to the default behavior of allowing all columns to be dropped everywhere. @@ -303,13 +303,23 @@ public class TreeViewDemo { - To be added + Moves the alignments of the to the position specified by and . an object of type an object of type an object of type an object of type an object of type - To be added + + + If is , then no horizontal scrolling occurs. Likewise, if is no vertical scrolling occurs. At a minimum, one of or need to be non-. determines where the row is placed, and determines where the column is placed. Both are expected to be between 0.0 and 1.0. 0.0 means left/top alignment, 1.0 means right/bottom alignment, 0.5 means center. + + + If is , then the alignment arguments are ignored, and the tree does the minimum amount of work to scroll the cell onto the screen. This means that the cell will be scrolled to the edge closest to its current position. If the cell is currently visible on the screen, nothing is done. + + + This function only works if the model is set, and is a valid row on the model. If the model changes before the is realized, the centered path will be modified to reflect this change. + + @@ -341,10 +351,10 @@ public class TreeViewDemo { - To be added + This image is used for a drag icon. an object of type an object of type - To be added + Creates a representation of the row at . @@ -355,8 +365,8 @@ public class TreeViewDemo { - To be added - To be added + Recursively collapses all visible and expanded nodes. + @@ -370,10 +380,10 @@ public class TreeViewDemo { - To be added + Moves to be after to . an object of type an object of type - To be added + If is , then is placed in the first position. @@ -388,11 +398,11 @@ public class TreeViewDemo { - To be added + Sets the current keyboard focus to be at , and selects it. an object of type an object of type an object of type - To be added + This is useful when you want to focus the attention of the user on a particular row. If is not , then focus is given to the column specified by it. Additionally, if is specified, and is , then editing should be started in the specified cell. This function is often followed by in order to give keyboard focus to the widget. Please note that editing can only happen when the widget is realized. @@ -407,11 +417,11 @@ public class TreeViewDemo { - To be added + Fills the bounding rectangle in tree window coordinates for the cell at the row specified by and the column specified by . an object of type an object of type an object of type - To be added + If is , or points to a node not found in the tree, the y and height fields of the rectangle will be filled with 0. If is , the x and width fields will be filled with 0. The returned rectangle is equivalent to the passed to . These background areas tile to cover the entire tree window (except for the area used for header buttons). Contrast with the , returned by , which returns only the cell itself, excluding surrounding borders and the tree expander area. @@ -424,9 +434,9 @@ public class TreeViewDemo { - To be added + Fills with the currently-visible region of the buffer, in tree coordinates. an object of type - To be added + Convert to widget coordinates with . Tree coordinates start at 0,0 for row 0 of the tree, and cover the entire scrollable area of the tree. @@ -440,11 +450,11 @@ public class TreeViewDemo { - To be added + This inserts the into the at . an object of type an object of type an object of type - To be added + If is -1, then the is inserted at the end. @@ -458,10 +468,10 @@ public class TreeViewDemo { - To be added + Activates the cell determined by and . an object of type an object of type - To be added + @@ -474,10 +484,10 @@ public class TreeViewDemo { - To be added + Opens the row so its children are visible. an object of type an object of type - To be added + @@ -492,11 +502,11 @@ public class TreeViewDemo { - To be added + This function should almost never be used. an object of type an object of type an object of type - To be added + It is meant for private use by Atk for determining the number of visible children that are removed when the user collapses a row, or a row is deleted. @@ -511,11 +521,11 @@ public class TreeViewDemo { - To be added + Sets the compare function for the interactive search capabilities. an object of type an object of type an object of type - To be added + @@ -540,10 +550,10 @@ public class TreeViewDemo { - To be added + Appends to the list of columns. an object of type an object of type - To be added + @@ -606,10 +616,10 @@ public class TreeViewDemo { - To be added + Collapses a row (hides its child rows, if they exist). an object of type an object of type - To be added + @@ -642,8 +652,8 @@ public class TreeViewDemo { - To be added - To be added + Recursively expands all nodes. + @@ -689,10 +699,10 @@ public class TreeViewDemo { - To be added + Scrolls the such that the top-left corner of the visible area is , , where and are specified in tree window coordinates. an object of type an object of type - To be added + The must be realized before this function is called. If it is not, you probably want to be using . @@ -705,10 +715,10 @@ public class TreeViewDemo { - To be added + Gets the at the given position in the . an object of type an object of type - To be added + @@ -722,11 +732,11 @@ public class TreeViewDemo { - To be added + Opens the row so its children are visible. an object of type an object of type an object of type - To be added + @@ -737,8 +747,8 @@ public class TreeViewDemo { - To be added - To be added + Resizes all columns to their optimal width. + Only works after the has been realized. @@ -754,12 +764,12 @@ public class TreeViewDemo { - To be added + Converts tree coordinates (coordinates in full scrollable area of the tree) to widget coordinates. an object of type an object of type an object of type an object of type - To be added + @@ -774,11 +784,11 @@ public class TreeViewDemo { - To be added + Fills the bounding rectangle in tree window coordinates for the cell at the row specified by and the column specified by . an object of type an object of type an object of type - To be added + If is , or points to a path not currently displayed, the y and height fields of the rectangle will be filled with 0. If is , the x and width fields will be filled with 0. The sum of all cell rects does not cover the entire tree; there are extra pixels in between rows, for example. This function is only valid if is realized. @@ -792,10 +802,10 @@ public class TreeViewDemo { - To be added + Fills in and with the current path and focus column. an object of type an object of type - To be added + If the cursor is not currently set, then will be . If no column currently has focus, then will be . @@ -832,9 +842,9 @@ public class TreeViewDemo { - To be added + Creates a new object. an object of type - To be added + This is the default constructor for @@ -845,10 +855,10 @@ public class TreeViewDemo { - To be added + Creates a new object. an object of type an object of type - To be added + In this constructor the is set from . @@ -872,10 +882,10 @@ public class TreeViewDemo { - To be added + The model for the TreeView. an object of type an object of type - To be added + @@ -885,9 +895,9 @@ public class TreeViewDemo { Gtk.TreeSelection - To be added + Gets the associated with the TreeView. an object of type - To be added + @@ -926,7 +936,7 @@ public class TreeViewDemo { Whether to display alternating, shaded rows in the . an object of type an object of type - Setting to enables alternating, shaded rows in the . + Setting to sets a hint to the theme engine to draw rows in alternating colors. @@ -938,10 +948,10 @@ public class TreeViewDemo { - To be added + View allows user to search through columns interactively. an object of type an object of type - To be added + @@ -953,10 +963,10 @@ public class TreeViewDemo { - To be added + Show the column header buttons. an object of type an object of type - To be added + @@ -968,10 +978,10 @@ public class TreeViewDemo { - To be added + Set the column for the expander column. an object of type an object of type - To be added + @@ -983,10 +993,10 @@ public class TreeViewDemo { - To be added + View is reorderable. an object of type an object of type - To be added + @@ -998,10 +1008,10 @@ public class TreeViewDemo { - To be added + Horizontal Adjustment for the widget. an object of type an object of type - To be added + @@ -1013,10 +1023,10 @@ public class TreeViewDemo { - To be added + Column headers respond to click events. an object of type an object of type - To be added + @@ -1028,10 +1038,10 @@ public class TreeViewDemo { - To be added + Vertical Adjustment for the widget. an object of type an object of type - To be added + @@ -1043,10 +1053,10 @@ public class TreeViewDemo { - To be added + Model column to search through when searching through code. an object of type an object of type - To be added + @@ -1188,13 +1198,13 @@ public class TreeViewDemo { - To be added + Finds the path at the point (x, y), relative to widget coordinates. an object of type an object of type an object of type an object of type an object of type - To be added + It is primarily for things like popup menus. If is non-, then it will be filled with the at that point. If is non-, then it will be filled with the at that point. This function is only meaningful if TreeView is realized. @@ -1232,7 +1242,7 @@ public class TreeViewDemo { - To be added + Finds the path at the point (x, y), relative to widget coordinates. an object of type an object of type an object of type @@ -1256,12 +1266,12 @@ public class TreeViewDemo { - To be added + Converts widget coordinates to coordinates for the tree window (the full scrollable area of the tree). an object of type an object of type an object of type an object of type - To be added +