File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -181,12 +181,15 @@ $builder->info($text, $title = null);
181181#### ListDialog
182182
183183``` php
184- $builder->listCheck(array $list, $text = null, $selected = null);
184+ $builder->listCheck(array $list, $text = null, array $selected = null);
185185$builder->listMenu(array $list, $text = null);
186- $builder->listRadio(array $list, $text = null, array $selected = null);
186+ $builder->listRadio(array $list, $text = null, $selected = null);
187187$builder->table(array $rows, array $columns = null, $text = null);
188188```
189189
190+ Where ` $selected ` in case of listCheck is an array of keys of the items from ` $list ` you want to preselect.
191+ Where ` $selected ` in case of listRadio is the key of the item from ` $list ` you want to preselect.
192+
190193![ https://help.gnome.org/users/zenity/stable/list.html ] ( https://help.gnome.org/users/zenity/stable/figures/zenity-list-screenshot.png )
191194
192195#### NotificationDialog
You can’t perform that action at this time.
0 commit comments