⇨ MENU ⇨ MODULES ⇨ tkinter ⇨ controles standards ⇨ PanedWindow
tkinter.PanedWindow ( ).proxy_forget ( )
⇨ MENU ⇨ MODULES ⇨ tkinter ⇨ controles standards ⇨ PanedWindow
tkinter.PanedWindow ( ).proxy_forget ( )
DESCRIPTION.
Efface la ligne en déplacement, dans le bandeau.
SYNTAXE.
FRM_Bandeau.proxy_forget ( )
FRM_Bandeau ⇨ instance de tkinter.PanedWindow ( ) [ OBLIGATOIRE ]
.proxy_forget ( ) ⇨ appel de la méthode [ OBLIGATOIRE ]
EXEMPLE.
import tkinter
def FNC_Mandataire ( event ) :
FRM_Bandeau.proxy_forget ( )
FRM_Bandeau.proxy_place ( SCA_Abscisse.get ( ) , SCA_Ordonnee.get ( ) )
LAB_Mandataire [ "text" ] = FRM_Bandeau.proxy_coord ( )
TKI_Principal = tkinter.Tk ( )
LAB_Mandataire = tkinter.Label ( TKI_Principal )
FRM_Bandeau = tkinter.PanedWindow ( TKI_Principal , sashrelief = "groove" , relief = "groove" )
BUT_Quitter = tkinter.Button ( FRM_Bandeau , text = "Quitter" , command = TKI_Principal.destroy )
SCA_Abscisse = tkinter.Scale ( FRM_Bandeau , to = 100 , command = FNC_Mandataire )
SCA_Ordonnee = tkinter.Scale ( FRM_Bandeau , to = 100 , command = FNC_Mandataire )
FRM_Bandeau.add ( BUT_Quitter , padx = 4 , pady = 7 )
FRM_Bandeau.add ( SCA_Abscisse , padx = 4 , pady = 7 )
FRM_Bandeau.add (SCA_Ordonnee , padx = 4 , pady = 7 )
FRM_Bandeau [ "opaqueresize" ] = False
FRM_Bandeau [ "sashpad" ] = 25
FRM_Bandeau [ "sashwidth" ] = 15
FRM_Bandeau [ "sashrelief" ] = "ridge"
FRM_Bandeau [ "proxybackground" ] = "aqua"
FRM_Bandeau [ "proxyborderwidth" ] = 3
FRM_Bandeau [ "proxyrelief" ] = "solid"
FRM_Bandeau.pack ( padx = 5 , pady = 2 )
LAB_Mandataire.pack ( fill = "both" )
TKI_Principal.mainloop ( )
Votre aide est précieuse pour améliorer ce site, alors n'hésitez pas à faire part de