Metagui is a high-level Tkinter-based GUI library, used by todiscgui.
Metagui is presently part of libtovid. It may prove useful outside the context of tovid and become a separate project some day, but for now it is distributed with the tovid suite.
The metagui module is designed for quickly writing GUIs for existing command-line interface (CLI) applications. Metagui provides specialized GUI widgets for setting many different kinds of command-line argument, including text, flags, filenames, numbers, colors, fonts, and lists.
Getting started
Edit
todo
Control types
Edit
- Choice
- Multiple-choice selection, with radiobutton or dropdown style
- Color
- RGB color selection, with color picker
- Filename
- Filename selection, with filesystem browse button
- Flag
- Checkbox for enabling/disabling an option
- Font
- Font name chooser
- Number
- Numeric entry, with min/max and optional slide bar
- Text
- Plain text string
- SpacedText
- Plain text, interpreted as a space-separated list of strings
- List
- List of values, editable in another Control