# # Settings for 'winnative' theme. # namespace eval ttk::theme::winnative { ttk::style theme settings winnative { ttk::style configure "." \ -background SystemButtonFace \ -foreground SystemWindowText \ -selectforeground SystemHighlightText \ -selectbackground SystemHighlight \ -troughcolor SystemScrollbar \ -font TkDefaultFont \ ; ttk::style map "." -foreground [list disabled SystemGrayText] ; ttk::style map "." -embossed [list disabled 1] ; ttk::style configure TButton \ -anchor center -width -11 -relief raised -shiftrelief 1 ttk::style configure TCheckbutton -padding "2 4" ttk::style configure TRadiobutton -padding "2 4" ttk::style configure TMenubutton \ -padding "8 4" -arrowsize 3 -relief raised ttk::style map TButton -relief {{!disabled pressed} sunken} ttk::style configure TEntry \ -padding 2 -selectborderwidth 0 -insertwidth 1 ttk::style map TEntry \ -fieldbackground \ [list readonly SystemButtonFace disabled SystemButtonFace] \ -selectbackground [list !focus SystemWindow] \ -selectforeground [list !focus SystemWindowText] \ ; ttk::style configure TCombobox -padding 2 ttk::style map TCombobox \ -selectbackground [list !focus SystemWindow] \ -selectforeground [list !focus SystemWindowText] \ -fieldbackground [list \ readonly SystemButtonFace \ disabled SystemButtonFace] \ -foreground [list \ disabled SystemGrayText \ {readonly focus} SystemHighlightText \ ] \ -focusfill [list {readonly focus} SystemHighlight] \ ; ttk::style element create ComboboxPopdownFrame.border from default ttk::style configure ComboboxPopdownFrame \ -borderwidth 1 -relief solid ttk::style configure TSpinbox -padding {2 0 16 0} ttk::style configure TLabelframe -borderwidth 2 -relief groove ttk::style configure Toolbutton -relief flat -padding {8 4} ttk::style map Toolbutton -relief \ {disabled flat selected sunken pressed sunken active raised} ttk::style configure TScale -groovewidth 4 ttk::style configure TNotebook -tabmargins {2 2 2 0} ttk::style configure TNotebook.Tab -padding {3 1} -borderwidth 1 ttk::style map TNotebook.Tab -expand [list selected {2 2 2 0}] # Treeview: ttk::style configure Heading -font TkHeadingFont -relief raised ttk::style configure Treeview -background SystemWindow ttk::style map Treeview \ -background [list selected SystemHighlight] \ -foreground [list selected SystemHighlightText] ; ttk::style configure TProgressbar \ -background SystemHighlight -borderwidth 0 ; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
altTheme.tcl | File | 3.26 KB | 0644 |
|
aquaTheme.tcl | File | 1.95 KB | 0644 |
|
button.tcl | File | 2.91 KB | 0644 |
|
clamTheme.tcl | File | 4.16 KB | 0644 |
|
classicTheme.tcl | File | 3.44 KB | 0644 |
|
combobox.tcl | File | 12.1 KB | 0644 |
|
cursors.tcl | File | 3.91 KB | 0644 |
|
defaults.tcl | File | 3.6 KB | 0644 |
|
entry.tcl | File | 15.77 KB | 0644 |
|
fonts.tcl | File | 5.44 KB | 0644 |
|
menubutton.tcl | File | 4.77 KB | 0644 |
|
notebook.tcl | File | 5.49 KB | 0644 |
|
panedwindow.tcl | File | 1.88 KB | 0644 |
|
progress.tcl | File | 1.06 KB | 0644 |
|
scale.tcl | File | 2.49 KB | 0644 |
|
scrollbar.tcl | File | 3.02 KB | 0644 |
|
sizegrip.tcl | File | 2.34 KB | 0644 |
|
spinbox.tcl | File | 4.16 KB | 0644 |
|
treeview.tcl | File | 8.66 KB | 0644 |
|
ttk.tcl | File | 4.44 KB | 0644 |
|
utils.tcl | File | 8.36 KB | 0644 |
|
vistaTheme.tcl | File | 9.13 KB | 0644 |
|
winTheme.tcl | File | 2.58 KB | 0644 |
|
xpTheme.tcl | File | 1.88 KB | 0644 |
|