Of course, any canvas item subclass must implement the
usual GtkObject methods,
including destroy if the
object allocates resources that need cleaning up, and a
get_arg/set_arg pair if the object defines
any arguments. The only canvas-item-specific concern is
that you must schedule an update or redraw as needed if
set_arg changes the
properties of the canvas item. These functions are quite
long due to the number of arguments, but not very
interesting, so they are omitted here. See the full GnomeCanvasRect source code if
you're curious.