Le jeudi 28 août 2014 à 10:26 -0700, j verzani a écrit :
> With the newish Tk widgets, you need to configure the style of the
> button, not the individual button:
>
>
> using Tk
> w = Toplevel()
> tcl("ttk::style", "configure", "TButton", foreground="red",
> font="helvetica 24")
> b = Button(w, "test")
> pack(b)
>
>
> As for available options, the Tk documentation is the best bet
> (
https://www.tcl.tk/man/tcl/TkCmd/contents.htm).
Another option to seriously consider is to use a more modern toolkit
like GTK or Qt, and create most of the GUI using a GUI creator (Glade,
QtCreator). Speaking as the unfortunate maintainer of a R package based
on Tcl/Tl -- do not reproduce mistakes of the past. ;-)
My two cents