raider2k Op
Joined: 01 Jan 2008 Posts: 140
|
Posted: Tue Oct 26, 2010 3:36 am Post subject: TK: button background |
|
|
hi, its me again with a tk question again
i have | Code: |
grid [ttk::button .tabprev.bclose -text "test" -command { destroy .tabprev }]
.tabprev.bclose configure -background black
|
as well as | Code: |
grid [ttk::button .tabprev.bclose -text "test" -command { destroy .tabprev } -background black]
|
but none of them works, both report "unknown option -background", also tried with -bg. also have i tried to do
| Code: |
ttk:style configure sbclose -background black
grid [ttk::button .tabprev.bclose -text "test" -command { destroy .tabprev } -style sbclose]
|
and
| Code: |
ttk:style configure sbclose -background black
grid [ttk::button .tabprev.bclose -text "test" -command { destroy .tabprev }]
.tabprev.bclose configure -style sbclose
|
which both reject with "layout sbclose not found".
need some decent help on that one as buttons with their raised relief (not to be disabled it seems :/) and/or border dont fit in the application.
help appreciated  |
|