Fandom

Tovid Wiki

Metagui

102pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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

Also on Fandom

Random Wiki