From 11151b1e59a42b92f454fd0dbd57cec4a4f48c82 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Sat, 10 Apr 2004 22:07:38 +0000 Subject: [PATCH] Add contributions from mdamt@bisnisweb.com svn path=/trunk/gtk-sharp/; revision=25314 --- doc/en/Gdk/PixbufLoader.xml | 25 +++++++++------ doc/en/Gtk/IconFactory.xml | 2 +- doc/en/Gtk/ListStore.xml | 62 +++++++++++++++++++++---------------- doc/en/Gtk/TreeView.xml | 2 +- 4 files changed, 53 insertions(+), 38 deletions(-) diff --git a/doc/en/Gdk/PixbufLoader.xml b/doc/en/Gdk/PixbufLoader.xml index 8a1434e75..4e4276913 100644 --- a/doc/en/Gdk/PixbufLoader.xml +++ b/doc/en/Gdk/PixbufLoader.xml @@ -10,7 +10,12 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added + + PixbufLoader is a 'passive' pixbuf loader. It's not actively read pix buf data, but 'listen' for incoming data instead. It's useful in a case where you want to read the image data in small chunks. Typical use of PixbufLoader is when you want to read a very large image data or reading image from a slow media (such as a slow network connection). + +You can see the "Images" section of GtkDemo to learn how to use PixbufLoader. + + To be added @@ -37,11 +42,13 @@ - To be added - To be added: an object of type 'byte []' - To be added: an object of type 'uint' - To be added: an object of type 'bool' - To be added + Parses the next count bytes of image data from buffer buf. + array of bytes buffer to parse. + number of bytes to parse. + returns true if data was parsed and loaded succesfully. + + If the return value is false, the PixbufLoader will be closed. + @@ -52,9 +59,9 @@ - To be added - To be added: an object of type 'bool' - To be added + Closes the loader. + returns true on successful close and false on error. + During the close, PixbufLoader will parse any data that has not been parsed. If the data is incomplete or corrupted, this method will return false. diff --git a/doc/en/Gtk/IconFactory.xml b/doc/en/Gtk/IconFactory.xml index 721e6364c..caca5971a 100644 --- a/doc/en/Gtk/IconFactory.xml +++ b/doc/en/Gtk/IconFactory.xml @@ -10,7 +10,7 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - An icon factory manages a collection of Gtk.IconSet + An icon factory manages a collection of Gtk.IconSet. diff --git a/doc/en/Gtk/ListStore.xml b/doc/en/Gtk/ListStore.xml index 21851099f..696679991 100644 --- a/doc/en/Gtk/ListStore.xml +++ b/doc/en/Gtk/ListStore.xml @@ -10,7 +10,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added + The ListStore is a columned list data structure to be used with widget. It is the model part in Model/View/Controller design paradigm. The contents of the ListStore can be sorted and are drag-and-drop ready. + To be added @@ -441,7 +442,7 @@ - To be added + Removes all data from the store. To be added @@ -474,11 +475,11 @@ - To be added + Sets the value of the specified column in the row pointed by iter. To be added: an object of type 'Gtk.TreeIter' To be added: an object of type 'int' To be added: an object of type 'GLib.Value' - To be added + The type of specified column must be a . @@ -801,10 +802,10 @@ - To be added - a - a - To be added + Removes a row from the store. + the to be removed. + a . + After being removed, iter is set to be the next valid row, or invalidated if it pointed to the last row in the store. @@ -818,10 +819,10 @@ - To be added + Swaps rows a and b in the store. a a - To be added + This is only works in unsorted stores. @@ -865,10 +866,17 @@ - To be added + Creates a new store. The columns' type specified by the argument. a a - To be added + + + +ListStore ls = new ListStore (typeof (string), typeof (int), typeof (double)); +... + + +The above example creates a new three columns list store. The types of the columns are , , and . @@ -920,11 +928,11 @@ - To be added + Sets the value of the specified column in the row pointed by iter. a a a - To be added + The type of specified column must be a . @@ -939,11 +947,11 @@ - To be added + Sets the value of the specified column in the row pointed by iter. a a a - To be added + The type of specified column must be a . @@ -958,11 +966,11 @@ - To be added + Sets the value of the specified column in the row pointed by iter. a a a - To be added + The type of specified column must be an . @@ -977,11 +985,11 @@ - To be added + Sets the value of the specified column in the row pointed by iter. a a a - To be added + The type of specified column must be a . @@ -996,11 +1004,11 @@ - To be added + Sets the value of the specified column in the row pointed by iter. a a a - To be added + The type of specified column must be an @@ -1015,11 +1023,11 @@ - To be added + Sets the value of the specified column in the row pointed by iter. a a a - To be added + The type of specified column must be an . @@ -1034,11 +1042,11 @@ - To be added + Sets the value of the specified column in the row pointed by iter. a a a - To be added + The type of specified column must be an . @@ -1437,4 +1445,4 @@ - + \ No newline at end of file diff --git a/doc/en/Gtk/TreeView.xml b/doc/en/Gtk/TreeView.xml index 8aa320ab4..78822655a 100644 --- a/doc/en/Gtk/TreeView.xml +++ b/doc/en/Gtk/TreeView.xml @@ -491,7 +491,7 @@ public class TreeViewDemo { - To be added + Tests if the node represented by the given path is open To be added