[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - Gtk::TreeView

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2005年 8月 29日 (月) 05:41:44 JST


-------------------------
REMOTE_ADDR = 83.78.8.17
REMOTE_HOST = 
REMOTE_USER = ruby-gnome2-hiki
        URL = /hiki.cgi?Gtk%3A%3ATreeView
-------------------------
@@ -261,13 +261,21 @@
 
 --- get_background_area(path, column)
     Fills the bounding rectangle in tree window coordinates for the cell at the row specified by path and the column specified by column. If path is nil, or points to a node not found in the tree, the y and height fields of the rectangle will be filled with 0. If column is nil, the x and width fields will be filled with 0. The returned rectangle is equivalent to the background_area passed to Gtk::CellRenderer#render. These background areas tile to cover the entire tree window (except for the area used for header buttons). Contrast with the cell_area, returned by Gtk::TreeView#get_cell_area, which returns only the cell itself, excluding surrounding borders and the tree expander area.
+
     * path: a Gtk::TreePath for the row, or nil to get only horizontal coordinates 
     * column: a Gtk::TreeViewColumn for the column, or nil to get only vertical coordiantes 
     * Returns: a Gdk::Rectangle to fill with cell background rect 
 
 --- visible_rect
-    Fills visible_rect with the currently-visible region of the buffer, in tree coordinates. Convert to widget coordinates with Gtk::TreeView#tree_to_widget_coords. Tree coordinates start at 0,0 for row 0 of the tree, and cover the entire scrollable area of the tree.
+    Returns the currently-visible region of the buffer, in tree coordinates. Convert to widget coordinates with Gtk::TreeView#tree_to_widget_coords. Tree coordinates start at 0,0 for row 0 of the tree, and cover the entire scrollable area of the tree.
     * Returns: Gdk::Rectangle 
+
+--- visible_range
+    Returns start and end paths to be the first and last visible path. Note that there may be invisible paths in between. ((*Since 2.8*))
+    * Returns: [ valid_paths, start_path, end_path ]
+        * valid_paths: true if valid paths were found
+        * start_path: start of region
+        * end_path: end of region
 
 --- bin_window
     Returns the window that tree_view renders to. This is used primarily to compare to event.window to confirm that the event on the Gtk::TreeView is on the right window.
@@ -484,4 +492,12 @@
 
 
 
-- ((<Masao>))
\ No newline at end of file
+- ((<Masao>))





ruby-gnome2-cvs メーリングリストの案内
Back to archive index