How would you deal with callbacks, etc? If it was inanimate, like a spacer or something, maybe.
Originally Posted by Pimientito NEVER EVER give a gypsy player an unprotected guitar to play. It will end in tears!
Originally Posted by nrs How would you deal with callbacks, etc? If it was inanimate, like a spacer or something, maybe. I'm sure he can assign IDs to each node in the tree on-the-fly when constructing using an argument to the constructor (new), then assign callbacks based on those IDs after the entire tree/layout code section is done. This is how one assign callbacks when using e.g. Glade anyway, and anything else could get messy if the callbacks used are inline code (e.g. lambda) that aren't small in size.
View Tag Cloud
Ubuntu Forums Code of Conduct