]> git.tuebingen.mpg.de Git - gsu.git/commit
gui: Implement descriptive tree items. master pu
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 24 Oct 2023 21:55:27 +0000 (23:55 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 12 Jun 2024 12:06:00 +0000 (14:06 +0200)
commit21e4e136e4fa35916c8dbe35b40518aae0845a26
tree9a3a5257857c4a625929166275abfb6af90ce174
parent9d97373b28f24fed977fa25bb04098f45ea7c97c
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