From d83787a2d4fa85acb4d93c6bff6baaa38f57a6f1 Mon Sep 17 00:00:00 2001 From: Jdrezen <jeremie.drezen@gmail.com> Date: Wed, 19 May 2021 17:24:58 +0200 Subject: [PATCH] Ajout d'une frame pour pouvoir ajouter des boutons auxiliaires --- pyAmakIHM/classes/panelCommandes.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pyAmakIHM/classes/panelCommandes.py b/pyAmakIHM/classes/panelCommandes.py index 81a1a72..601d390 100644 --- a/pyAmakIHM/classes/panelCommandes.py +++ b/pyAmakIHM/classes/panelCommandes.py @@ -30,6 +30,13 @@ class PanelCommandes(LabelFrame): frameBoutons = Frame(self) frameBoutons.pack(side='bottom',fill='x') + frameBoutonAux = Frame(self) + frameBoutonAux.pack(side='top') + + for i in range (20): + Button(self, text='Aux', height=2).pack(fill='x') + + self.__slider = Scale(frameBoutons,orient='horizontal',from_=1,to=10,command=self.notifyObserverAboutScale) self.__slider.pack(side='bottom',fill='x') -- GitLab