How would you deal with callbacks, etc? If it was inanimate, like a spacer or something, maybe.
How would you deal with callbacks, etc? If it was inanimate, like a spacer or something, maybe.
Originally Posted by Pimientito
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.
Bookmarks