CanvasSwitch¶
-
class
labpyproject.apps.labpyrinthe.gui.skinTkinter.uitools.CanvasSwitch(parent, Mngr, skin, name, switch, bgcolor)[source]¶ Bases :
tkinter.Canvas,labpyproject.apps.labpyrinthe.gui.skinBase.interfaces.AbstractSwitchImplémentation graphique d’un bouton ou checkbutton
Constructeur
Mngr : référence à CommandeFrame
name : nom connu du skin pour retourner les images associées
switch : boolean indique si le bouton se comporte comme un checkbutton
Methods Summary
Retourne l’état du bouton
Indique si le bouton se comporte comme un switch
set_state(state)Modifie l’état du bouton
Methods Documentation