File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -202,12 +202,15 @@ $builder->info($text, $title = null);
202202#### ListDialog
203203
204204``` php
205- $builder->listCheck(array $list, $text = null, $selected = null);
205+ $builder->listCheck(array $list, $text = null, array $selected = null);
206206$builder->listMenu(array $list, $text = null);
207- $builder->listRadio(array $list, $text = null, array $selected = null);
207+ $builder->listRadio(array $list, $text = null, $selected = null);
208208$builder->table(array $rows, array $columns = null, $text = null);
209209```
210210
211+ Where ` $selected ` in case of listCheck is an array of keys of the items from ` $list ` you want to preselect.
212+ Where ` $selected ` in case of listRadio is the key of the item from ` $list ` you want to preselect.
213+
211214![ https://help.gnome.org/users/zenity/stable/list.html ] ( https://help.gnome.org/users/zenity/stable/figures/zenity-list-screenshot.png )
212215
213216#### NotificationDialog
You can’t perform that action at this time.
0 commit comments