Nifty GUI tree

I was browsing through the nifty gui wiki and came across the tree control : http://sourceforge.net/apps/mediawiki/nifty-gui/index.php?title=Standard_Controls_TreeBox



I tried to run the code and immediately came across the problem that the Tree class does not seem to exist anywhere. Can anyone enlighten me as to where this control is?

In the lastest version 1.3 it isn’t xD. It is not included in the default nifty controls for the nifty 1.3.



[xml]

<?xml version=“1.0” encoding=“UTF-8”?>

<nifty-controls>

<useControls filename=“nifty-controls/nifty-button.xml” />

<useControls filename=“nifty-controls/nifty-chat-control.xml” />

<useControls filename=“nifty-controls/nifty-tabs.xml” />

<useControls filename=“nifty-controls/nifty-checkbox.xml” />

<useControls filename=“nifty-controls/nifty-console.xml” />

<useControls filename=“nifty-controls/nifty-drop-down.xml” />

<useControls filename=“nifty-controls/nifty-image-select.xml” />

<useControls filename=“nifty-controls/nifty-label.xml” />

<useControls filename=“nifty-controls/nifty-textfield.xml” />

<useControls filename=“nifty-controls/nifty-menu.xml” />

<useControls filename=“nifty-controls/nifty-scrollbar.xml” />

<useControls filename=“nifty-controls/nifty-slider.xml” />

<useControls filename=“nifty-controls/nifty-scrollpanel.xml” />

<useControls filename=“nifty-controls/nifty-listbox.xml” />

<useControls filename=“nifty-controls/nifty-dragndrop.xml” />

<useControls filename=“nifty-controls/nifty-window.xml” />

<useControls filename=“nifty-controls/nifty-radiobutton.xml” />

<useControls filename=“nifty-controls/nifty-hint.xml” />

</nifty-controls>

[/xml]

Ah, I see. Thanks :slight_smile:

The TreeBoxControl is present in the nifty 1.3.1. This is the latest nightly build for Nifty. I have no idea when this will be integrated into JMP though.

If you really need the TreeBoxControl, you would have to switch to the latest nightly by yourself.

Since nifty 1.3.1 is now part of JME, the TreeBox is now also part of JME…

1 Like