[gt-users] Attach user data to GtGenomeNodes
Sascha Steinbiss
steinbiss at zbh.uni-hamburg.de
Wed Feb 18 16:58:30 CET 2009
Hi everyone,
it would be nice if there was a possibility to attach (a pointer to)
arbitrary user data to a GtGenomeNode object. This could be used to pass
information for which there is no designated property from one stream to
another. A similar technique is used in the cairo framework
(http://cairographics.org/manual/cairo-surface.html#cairo-surface-set-user-data)
in which there are cairo_surface_set_user_data() and
cairo_surface_get_user_data() methods for exactly that purpose. (I do
not think we would need their key functionality, just a simple void
pointer would be enough).
I could need this functionality right now; what do you think about such
an addition to the GtGenomeNode interface?
Sascha
--
Sascha Steinbiss
Center for Bioinformatics
University of Hamburg
Bundesstr. 43
20146 Hamburg
Germany
Email: steinbiss at zbh.uni-hamburg.de
URL: http://www.zbh.uni-hamburg.de/steinbiss
Phone: +49 (40) 42838 7322
FAX: +49 (40) 42838 7312
More information about the gt-users
mailing list