Command line tree parsing

I have a tree of items in an XML file that I display using wx DeviceTree control. When user selects one using mouse, its properties are displayed. Now I have a requirement to implement the selection from a commandline window.

  1. Item selection to be similar to the folder selection in DOS terminal window. When a tab key is pressed the nodes under the current node shall be available for picking.

  2. I want this terminal/console be part of my GUI

I am not sure where to start. Please advice if there is built-in tool or wx window.

Kotesh

kruvva wrote:

I have a tree of items in an XML file that I display using wx DeviceTree
control. When user selects one using mouse, its properties are
displayed. Now I have a requirement to implement the selection from a
commandline window.
1. Item selection to be similar to the folder selection in DOS terminal
window. When a tab key is pressed the nodes under the current node shall
be available for picking.
2. I want this terminal/console be part of my GUI

I am not sure where to start. Please advice if there is built-in tool or
wx window.

The StyledTextCtrl has built-in support for popup auto-complete lists. That might be a good foundation to build upon.

···

--
Robin Dunn
Software Craftsman