Posted to tcl by jepler at Mon Feb 08 20:34:46 GMT 2010view raw
- ttk::entry .e
- ttk::entry .f
- ttk::entry .g
- ttk::entry .h
-
- .e insert end normal
- .f insert end readonly; .f state readonly
- .g insert end mixed; .g state alternate
- .h insert end disabled; .h state disabled
-
- ttk::button .b -text "change TEntry map..." -command {
- ttk::style map TEntry -foreground {alternate #808080}
- .l configure -text "TEntry style map:\n[ttk::style map TEntry]"
- }
-
- ttk::label .l -text "TEntry style map:\n[ttk::style map TEntry]" -width 100
- pack .e
- pack .f
- pack .g
- pack .h
- pack .b
- pack .l
-