[Debconf-devel] Debconf - adding "treeselect" type(s)?

Steve McIntyre steve at einval.com
Thu Dec 3 00:29:30 GMT 2020


Thomas Goirand wrote:
>On 11/30/20 11:18 AM, Steve McIntyre wrote:
>> I'm envisaging treating the Choices *mostly* like in an existing
>> select/multiselect, but with extra decoration to indicate the position
>> in the tree for display. It would then be up to the frontend to decode
>> that and work out a sensible way to display things as best it can. Not
>> sure on the best way to do the decoration, hoping there'll be an
>> available special character or similar that we could use in strings to
>> avoid too big an upheaval here.
>
>囧 [1]

Maybe...

>>> Although these require manual selection, I think they do have at least
>>> some use, and I'd rather keep them going.  It shouldn't be too hard to
>>> get full coverage, pulling in help from specialists if necessary.
>> 
>> I guess so.
>
>How would it be pre-seeded? Just like a multiselect? With only leafs
>that could potentially be in the pre-seed?

That's exactly my plan, yes. The non-leaf bits are just syntactic
sugar for the UI.

-- 
Steve McIntyre, Cambridge, UK.                                steve at einval.com
"You can't barbecue lettuce!" -- Ellie Crane



More information about the Debconf-devel mailing list