Hi,

Use the STATEid attribute to programmatically open or close a branch.

Best,
Scuri


On Fri, Feb 28, 2014 at 10:33 AM, Benoit Germain <[email protected]>wrote:

> 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
>
>
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to