Compare commits
2 commits
180a106d2c
...
b650b0c8b7
Author | SHA1 | Date | |
---|---|---|---|
b650b0c8b7 | |||
d3ba02b582 |
2 changed files with 28 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
||||||
# mstn-ebooks-gui
|
# mstn-ebooks-gui
|
||||||
|
|
||||||
A tkinter GUI for mstdn-ebooks!
|
A tkinter GUI for mstdn-ebooks!
|
||||||
|
|
27
wizard.py
Executable file
27
wizard.py
Executable file
|
@ -0,0 +1,27 @@
|
||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
from tkinter import *
|
||||||
|
from tkinter import ttk
|
||||||
|
import urllib
|
||||||
|
|
||||||
|
#https://github.com/Lynnesbian/mstdn-ebooks/archive/master.zip
|
||||||
|
|
||||||
|
root = Tk()
|
||||||
|
root.title = "mstdn-ebooks Setup Wizard"
|
||||||
|
frame = ttk.Frame(root)
|
||||||
|
nb = ttk.Notebook(frame)
|
||||||
|
frm_button_box = ttk.Frame(frame)
|
||||||
|
btn_cancel = ttk.Button(frm_button_box, text = "Cancel")
|
||||||
|
btn_back = ttk.Button(frm_button_box, text = "Back")
|
||||||
|
btn_next = ttk.Button(frm_button_box, text = "Next")
|
||||||
|
|
||||||
|
nb.pack(fill = "both", expand = True)
|
||||||
|
frm_button_box.pack()
|
||||||
|
|
||||||
|
btn_cancel.grid(column = 0, row = 0)
|
||||||
|
btn_back.grid(column = 1, row = 0)
|
||||||
|
btn_next.grid(column = 2, row = 0)
|
||||||
|
|
||||||
|
frame.pack(fill = "both", expand = True)
|
||||||
|
|
||||||
|
root.mainloop()
|
Loading…
Reference in a new issue