-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
101 changed files
with
803 additions
and
1,183 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Main_template | ||
|
||
from PiCameraGUI_template import PiCameraGUI_template | ||
from tkinter import Tk, messagebox | ||
|
||
# Exécute le programme | ||
def run(): | ||
try: | ||
win = Tk() | ||
except: | ||
messagebox.showerror("Erreur Tkinter", "Erreur d'initialisation de l'interface graphique") | ||
raise TkinterError("Erreur d'initialisation de Tkinter") | ||
print("Terminé") | ||
return 0 | ||
|
||
win.resizable(width=False, height=False) | ||
appGeneral = PiCameraGUI_template(win,title="self.title") | ||
win.mainloop() | ||
|
||
# Exécute le programme | ||
if __name__ == "__main__": | ||
print("Initialisation de la fenêtre") | ||
run() |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.