Differences From Artifact [9f2d3ecd14]:
- File pluginconf/gui.py — part of check-in [4b8c748142] at 2022-10-25 22:06:05 on branch trunk — enjoin pluginconf (python implementation here) (user: mario, size: 7010) [annotate] [blame] [check-ins using]
To Artifact [a9823722c2]:
- File pluginconf/gui.py — part of check-in [9c3d295916] at 2022-10-27 05:34:24 on branch trunk — lots pylint fixes, add documentation (user: mario, size: 7081) [annotate] [blame] [check-ins using]
| ︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | + + |
#
# jsoncfg = {}
# pluginconf.gui.window(jsoncfg, {}, ["plugins/*.py"])
#
# Very crude, and not as many widgets as the Gtk/St2 implementation.
# Supports type: str, bool, select, int, dict, text config: options.
#
""" PySimpleGUI window to populate config dict via plugin options """
import PySimpleGUI as sg
import pluginconf
import glob, json, os, re, textwrap
|
| ︙ |