⇨ MENU ⇨ MODULES ⇨ tkinter ⇨ liste des attributs
tkinter.proxyrelief
⇨ MENU ⇨ MODULES ⇨ tkinter ⇨ liste des attributs
tkinter.proxyrelief
DESCRIPTION.
Définit ou retourne l'aspect des lignes de séparation d'un bandeau de controles quand elles se déplacent.
SYNTAXE.
proxyrelief = aspect
REMARQUES.
aspect doit être un str ( ) parmi l'un des styles suivants : "solid" - "flat" - "raised" - "sunken" - "groove" - "ridge".
EXEMPLE.
import tkinter
def FNC_Relief ( ) :
FRM_Bandeau [ "proxyrelief" ] = SPI_Relief.get ( )
TKI_Principal = tkinter.Tk ( )
FRM_Bandeau = tkinter.PanedWindow ( TKI_Principal , opaqueresize = False , sashwidth = 25 , sashrelief = "solid" , proxyborderwidth = 5 )
BUT_Quitter = tkinter.Button ( FRM_Bandeau , text = "Quitter" , command = TKI_Principal.destroy )
SPI_Relief = tkinter.Spinbox ( FRM_Bandeau , values = ( "solid" , "raised" , "sunken" , "groove" , "ridge", "flat" ) , command = FNC_Relief )
FRM_Bandeau.add ( tkinter.Label ( FRM_Bandeau , text = "Déplacez une\nséparation pour\nvoir les\nmodifiactions" ) )
FRM_Bandeau.add ( SPI_Relief )
FRM_Bandeau.add ( BUT_Quitter )
FRM_Bandeau.pack ( )
FNC_Relief ( )
TKI_Principal.mainloop ( )
Votre aide est précieuse pour améliorer ce site, alors n'hésitez pas à faire part de