gorram it. kivy's kind of overkill, using tkinter

This commit is contained in:
brent s 2019-11-03 01:36:08 -04:00
parent 1866cb7fcf
commit 3649268f01
10 changed files with 54 additions and 0 deletions

32
confgen.py Executable file
View File

@ -0,0 +1,32 @@
#!/usr/bin/env python3

from kivy.app import App
from kivy.uix.dropdown import DropDown
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.button import Button
from kivy.uix.label import Label
from kivy.uix.popup import Popup
from kivy.uix.screenmanager import ScreenManager, Screen
from kivy.uix.textinput import TextInput


sm = ScreenManager()


class MainScreen(Screen):
name = 'foo'
l = Button()

class MainWindow(BoxLayout):
def on_enter(self, *args):
pass


class MyApp(App):
def build(self):
sm.add_widget(MainScreen)
return(MainWindow())


if __name__ == '__main__':
MyApp().run()

16
docs/TODO Normal file
View File

@ -0,0 +1,16 @@
https://kivy.org/doc/stable/api-kivy.uix.screenmanager.html
https://kivy.org/doc/stable/api-kivy.uix.popup.html
https://kivy.org/doc/stable/api-kivy.uix.dropdown.html
https://stackoverflow.com/questions/44770222/kivy-with-menubar
https://www.geeksforgeeks.org/python-window-size-adjustment-in-kivy/
https://stackoverflow.com/questions/26314466/get-textinput-value-in-kivy-app
https://github.com/techwithtim/Kivy-GUI-Example/blob/master/main.py#L3
https://techwithtim.net/tutorials/kivy-tutorial/example-gui/
https://kivy.org/doc/stable/api-kivy.uix.textinput.html
https://stackoverflow.com/questions/15689555/how-to-create-simple-kivy-app-form-with-field-name
https://github.com/kivy/kivy/wiki
https://kivy.org/doc/stable/api-kivy.html
https://kivy.org/doc/stable/guide/basic.html#quickstart
https://kivy.org/doc/stable/tutorials/firstwidget.html
https://kivy.org/doc/stable/tutorials/pong.html
https://kivy.org/doc/stable/gettingstarted/first_app.html

0
meta.py Normal file
View File

6
storage/__init__.py Normal file
View File

@ -0,0 +1,6 @@
from kivy.uix.screenmanager import ScreenManager, Screen


class Storage(Screen):
def __init__(self):
pass

0
storage/block.py Normal file
View File

0
storage/filesystem.py Normal file
View File

0
storage/luks.py Normal file
View File

0
storage/lvm.py Normal file
View File

0
storage/mdadm.py Normal file
View File

0
storage/mount.py Normal file
View File