Lines Matching refs:style
15 # Tk added partial support for toolbar-style buttons in 8.4
17 # support with the "-offrelief" option. So to get a toolbar-style
24 # to implement this checkbutton style; see library/button.tcl,
30 # we can define a new "Toolbutton" style and just use:
32 # checkbutton .cb -style Toolbutton
42 # style; see demo.tcl.)
45 style theme settings "step" {
48 # First, we use [style layout] to define what elements to
54 style layout Toolbutton {
69 # inherited from the parent style are sufficient.
71 style default Toolbutton -width 0 -padding 1 -relief flat -borderwidth 2
74 # Finally, use [style map] to specify state-specific
81 style map Toolbutton -relief {
96 style theme settings "blue" {
101 style default Toolbutton \
108 style map Toolbutton -relief {
119 style default Toolbutton -padding 4
120 style map Toolbutton -padding {
131 style map Toolbutton -background {