Bonjour !

Grâce à vous tous , j'ai réussi à coder une petite appli en plein écran.
Ca marche nickel mais un truc me chiffonne :
mon appli n'apparaît pas dans la barre de tâches !
Même avec alt-tab je ne vois pas l'icône correspondante...
Du coup, si par mégarde je recouvre mon appli, je ne peux plus la retrouver à moins d'iconiser toutes les autres...

Voici mon code :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import Tkinter
import threading
import time
 
def Clock () :
 
    def kill (dummy):
        root.timer.cancel()
        root.destroy()
 
    def tick():
        text = time.strftime('%H:%M:%S')
        if text != root.text : 
            root.clock.config( text = text )
            root.text = text
        root.timer = threading.Timer( 0.02,tick )
        root.timer.start()
 
    root = Tkinter.Tk()
    root.geometry("%dx%d"%(root.winfo_screenwidth(),root.winfo_screenheight()))
    root.configure( background = '#000000' )
    root.overrideredirect( True )
    root.resizable( False,False )
    root.focus_set()
    root.bind('<Escape>',kill )
 
    root.text  = ''
    root.clock = Tkinter.Label( font = ( 'tahoma',root.winfo_screenwidth()/12,'bold' ) , bg='#000000' , fg='#109040' )
    root.clock.place( relx = 0.5 , rely = 0.5 , anchor = Tkinter.CENTER )
 
    tick()
    root.mainloop()
 
Clock()
Quelqu'un aurait-il une explication, et encore mieux, une solution ?

Au passage, que font exactement overrideredirect et focus_set ?

Merci d'avance