views_examples
and views_examples_with_content
are similar tools to show
all the views widgets with some varied styles. The latter has extra support to
web_view
as well.
To run either of the programs:
<output_dir>/<program> [--enable-examples=<example1,[example2...]>]
To get help from the programs:
<output_dir>/<program> --help
will print out the above usage info.
<output_dir>/<program> --enable-examples
will print out all names of available
examples and execute as if all (the default) are specified.
The current available examples are listed below:
- Accessibility Features
- Box Layout
- Bubble
- Button
- Button (Sticker Sheet)
- Checkbox
- Colored Dialog
- Combo Box
- Dialog
- Flex Layout
- Label
- Link
- Login Bubble Dialog
- Menu
- Message Box View
- Multiline RenderText
- Native Theme Colors
- Notification
- Progress Bar
- Radio Button
- Scroll View
- Slider
- Tabbed Pane
- Table
- Text Styles
- Textarea
- Textfield
- Throbber
- Toggle Button
- Tree View
- Vector Icon
- WebView
- Widget
Note: Both programs are available on all desktop platforms which support Views
toolkit, except views_examples
unavailable on Mac.