[cairo-commit] goocanvas/docs goocanvas-sections.txt,1.13,1.14
Damon Chaplin
commit at pdx.freedesktop.org
Wed Aug 23 04:56:08 PDT 2006
Committed by: damon
Update of /cvs/cairo/goocanvas/docs
In directory kemper:/tmp/cvs-serv32537/docs
Modified Files:
goocanvas-sections.txt
Log Message:
2006-08-23 Damon Chaplin <damon at gnome.org>
* src/goocanvasview.c: keep an item_to_view hash table so apps can
get the view for particular items (e.g. as an easy alternative for
setting up signal handlers).
(goo_canvas_view_get_item_view): new function to get the item view for
a given item.
(goo_canvas_view_unregister_item_view): new function that implementors
of GooCanvasItemView should call in their finalize method to unregister
the view (so the GooCanvasView removes it from the hash table.)
(goo_canvas_view_create_item_view): add the new item view to the
item_to_view hash table.
* src/goocanvasitemviewsimple.c (goo_canvas_item_view_simple_finalize):
* src/goocanvasgroupview.c (goo_canvas_group_view_finalize): unregister
the item view.
(goo_canvas_group_view_set_parent_view): don't change the canvas view
here any more, since we don't support that.
* demo/simple-demo.c: updated to use simple signal handler setup.
Index: goocanvas-sections.txt
===================================================================
RCS file: /cvs/cairo/goocanvas/docs/goocanvas-sections.txt,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- goocanvas-sections.txt 26 Jul 2006 15:45:43 -0000 1.13
+++ goocanvas-sections.txt 23 Aug 2006 11:56:05 -0000 1.14
@@ -212,6 +212,7 @@
<SUBSECTION>
goo_canvas_view_get_root_view
+goo_canvas_view_get_item_view
goo_canvas_view_get_item_view_at
<SUBSECTION>
@@ -235,6 +236,7 @@
<SUBSECTION>
goo_canvas_view_create_item_view
+goo_canvas_view_unregister_item_view
goo_canvas_view_request_update
goo_canvas_view_update
goo_canvas_view_request_redraw
@@ -463,6 +465,7 @@
<SUBSECTION>
GooCanvasLineDash
goo_canvas_line_dash_new
+goo_canvas_line_dash_newv
goo_canvas_line_dash_ref
goo_canvas_line_dash_unref
More information about the cairo-commit
mailing list