]> git.tuebingen.mpg.de Git - gsu.git/commit
gui: Implement descriptive tree items.
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 24 Oct 2023 21:55:27 +0000 (23:55 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 29 Apr 2024 15:24:56 +0000 (17:24 +0200)
commit3264e87e6943ae418c910a606142976f0d05e58e
treeac689645cb952deaf41f546e10e0256ee5e85168
parentb94faafa111dbec1b5cc45fb588f9258b4ca5abc
gui: Implement descriptive tree items.

A restriction of the current gui module is that the text shown in the
menu items must also be a valid identifier for the corresponding bash
function. In particular no whitespace is allowed there.

To overcome this restriction we introduce the concept of a menu item
identifier and an optional menu item description. If the description
is absent, the identifier is used as the description, providing
backward compatibility.
README.md
gui