Hello,

I've changed my code to use branchopen_cb and it works fine. I've had an
issue though: if I remove the dummy child of the branch (here so that the
branch can be opened, as you suggested) before adding the ones I want, the
branch closes automagically. No problem, I can do it the other way around:
when adding some children to the opened branch, I compute the node count
delta in the tree to determine how many were added by my dynamic filler
function. Then I know the new id of my original dummy node (since mine were
added before that one), and I can remove it.

This made me wonder if some way of requesting a specific branch to open
programmatically wouldn't be a useful addition, as I didn't find one when
trying my first idea to simply reopen the branch after having removed and
added the nodes.

Regards,



-- 
Benoit.
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to