Skip to content

Latest commit

 

History

History
67 lines (46 loc) · 3.39 KB

README.md

File metadata and controls

67 lines (46 loc) · 3.39 KB

Examples

You can see some JSON files to learn how to use Tuw.

1. Getting Started

minimal

2. Components

Examples for GUI components (e.g. file pickers)

PathPikcers

3. Options for Components

Examples for component options.

  • IDs: An option to set ids. You can use them as variable names in commands.
  • Default Values: An option to set default values of components.
  • Tooltips: An option to show a message when the mouse cursor is on a component.
  • Placeholders: An option to show a message when the text box is empty.
  • Validators: Options to validate input strings before execution.
  • Renaming Buttons: An option to rename buttons of path pickers.
  • Affixes: Options to append strings to user intpus.
  • Optional Components: An option to ignore affixes and validators when a text box is empty.

tooltip

4. Other Features

There are more features you can use.

help

5. All Keys

The JSON file that has all supported keys.

6. Tips

Not about the JSON format, but they might help you.