Skip to content

Commit

Permalink
Fix documentation for $selected argument for radio and checkbox dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
bertvandepoel committed Jul 24, 2016
1 parent 9c25631 commit 32e7fe4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,12 @@ $builder->info($text, $title = null);
```php
$builder->listCheck(array $list, $text = null, $selected = null);
$builder->listMenu(array $list, $text = null);
$builder->listRadio(array $list, $text = null, array $selected = null);
$builder->listRadio(array $list, $text = null, $selected = null);
$builder->table(array $rows, array $columns = null, $text = null);
```

Where `$selected` is the key of the item from `$list` you want to preselect.

![https://help.gnome.org/users/zenity/stable/list.html](https://help.gnome.org/users/zenity/stable/figures/zenity-list-screenshot.png)

#### NotificationDialog
Expand Down

0 comments on commit 32e7fe4

Please sign in to comment.