ajout affichage ram et out
This commit is contained in:
parent
d0038394da
commit
71453fbc3a
@ -147,6 +147,40 @@ Label(annexe_4_frame, text=f"SP", width=15, bg="orange").pack(pady=5)
|
||||
label_sp = Label(annexe_4_frame, bg="orange")
|
||||
label_sp.pack(pady=5)
|
||||
|
||||
#Frame RAM
|
||||
ram_frame = tk.Frame(infos_frames, width=400, height=100)
|
||||
ram_frame.pack(padx=10, pady=10, side=tk.TOP)
|
||||
|
||||
Label(ram_frame, text=f"RAM").pack(pady=5)
|
||||
|
||||
scrollbarRam = tk.Scrollbar(ram_frame)
|
||||
scrollbarRam.pack(side=tk.RIGHT, fill=tk.Y)
|
||||
|
||||
myRamList = tk.Listbox(ram_frame, yscrollcommand=scrollbarRam.set, width=50)
|
||||
|
||||
|
||||
myRamList.pack(side=tk.LEFT, fill=tk.BOTH)
|
||||
scrollbarRam.config(command=myRamList.yview)
|
||||
|
||||
|
||||
#Frame OUT
|
||||
out_frame = tk.Frame(infos_frames, width=400, height=100)
|
||||
out_frame.pack(padx=10, pady=10, side=tk.TOP)
|
||||
|
||||
Label(out_frame, text=f"OUT").pack(pady=5)
|
||||
|
||||
|
||||
scrollbarOut = tk.Scrollbar(out_frame)
|
||||
scrollbarOut.pack(side=tk.RIGHT, fill=tk.Y)
|
||||
|
||||
myOutList = tk.Listbox(out_frame, yscrollcommand=scrollbarOut.set, width=50)
|
||||
|
||||
|
||||
myOutList.pack(side=tk.LEFT, fill=tk.BOTH)
|
||||
scrollbarOut.config(command=myOutList.yview)
|
||||
|
||||
|
||||
|
||||
#val = subprocess.run(["/usr/bin/python3", "/home/aurelien/Documents/24hducode2026/24H_du_code_2026/Epreuve3.py", "test_bin_epreuve3/call_label.bin"] # transforme bytes en str)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user