yad icon indicating copy to clipboard operation
yad copied to clipboard

Set default selected entry in a --list dialog

Open marcelpaulo opened this issue 3 years ago • 1 comments

Give this dialog:

yad --list --column whatever foo bar

foo shows up as selected. How would I make bar selected by default?

I'm using yad de48b55.

marcelpaulo avatar May 02 '21 08:05 marcelpaulo

looking for the same thing, did you find a solution? the only solution I have found so far would be to put "bar" first as the first entry is selected by default. No great if you want something dynamically selected but ok for static lists I guess... yad --list --column whatever bar foo

Batwam avatar Dec 07 '21 14:12 Batwam