Bonsoir,

Dans une utilisation standard pas de souci mais là, j'aimerais les placer l'un au bout de l'autre et sur plusieurs lignes.

Voici la partie du code :

Ils se placent l'un en dessous de l'autre et je voudrais <choix 1> <choix 2> <choix 3>
................................................................................ <choix 4> <choix 5> <choix 6> etc....
En modifiant anchor je reste avec les choix l'un en dessous de l'autre!!
Faut-il plusieurs canvas ? ou un grid

Merci


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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
 
Win_help=Tk()
Win_aide = Canvas(Win_help, height=512, width=512)
Win_aide.pack(side=TOP, fill=BOTH, expand=1)
Txt_Help = Text(Win_aide, height=20, width=30)
 
Txt_Help.tag_configure('bold_italics',
                    font=('Arial', 12, 'bold', 'italic'))
Txt_Help.tag_configure('big',
                    font=('Verdana', 14, 'bold'))
Txt_Help.tag_configure('color', foreground='#476042',
                    font=('Tempus Sans ITC', 12, 'bold'))
 
 
Txt_Help.insert(END,'\nAIDE\n', 'big')
 
photo=PhotoImage(file='manuel.gif')
Txt_Help.insert(END,'\n')
Txt_Help.image_create(END, image=photo)
 
v = IntVar()
Label(Win_aide, 
        text="""GUIDE """,
        justify = LEFT,
        padx = 20).pack()
 
# choix de l'aide
Radiobutton(Win_aide, 
        text="Retour Menu Général",
        padx = 20, 
        variable=v,
        command=tchoix,
        bg = 'red',
        value=1).pack(anchor=W)
 
Radiobutton(Win_aide, 
        text="Choix 1",
        padx = 20,
        variable=v,
        command=tchoix,
        value=2).pack(anchor=W)
 
Radiobutton(Win_aide, 
        text="Choix 2",
        padx = 20,
        variable=v,
        command=tchoix,
        value=3).pack(anchor=W)
 
etc.....