|Perl: the Markov chain saw|
Re: Gtk-Perl $CList-get_row_data() problemsby count0 (Friar)
|on Jan 08, 2002 at 03:48 UTC||Need Help??|
Without knowing what's in %dades, it's hard to say.. But here's a quick rundown on how to use set_row_data() and get_row_data().
These two functions are provided as a way to attach arbitrary data to a CList row.
Their basic use is:
It's very important to note that the user data must be a reference. It can be any type of reference, hower.
If this little tidbit doesn't help you fix the error, just post a reply with more of the surrounding code.
On a somewhat side note, I realize parts of the Gtk+ and Gnome (and the Gdk, though this shouldn't be much needed) documents for the Perl bindings are rather unclear, or incomplete.... I'm currently (among other things) writing some extended docs. If you find any other parts that are unclear, or incomplete.. please let me know and I'll add that to my TO-DOC list ;)
In the meantime, if you know C, don't hesitate to look at the tutorial and API documentation at Gtk.org (and at developer.gnome.org for the Gnome::* modules).
Update: spelling fix: s/There/Their/