File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 44# Tile widget set -- widget demo
55#
66package require Tk
7+ package require Ttk
78
89eval destroy [winfo children .] ;# in case script is re-sourced
910
1011# ## Load auxilliary scripts.
1112#
1213variable demodir [file dirname [info script]]
13- lappend auto_path . $demodir
14- if {[catch {package require Ttk}]} {
15- package require tile
16- }
17- ttk::setTheme tilegtk
18- foreach {arg val} $argv {
19- switch -glob -- $arg {
20- -st* {ttk::theme::tilegtk::applyStyle $val }
21- }
22- }
2314
2415source [file join $demodir iconlib.tcl]
2516# source [file join $demodir toolbutton.tcl]
2617source [file join $demodir repeater.tcl]
2718
28- # This forces an update of the available packages list.
29- # It's required for package names to find the themes in demos/themes/*.tcl
30- eval [package unknown] Tcl [package provide Tcl]
31-
3219# ## Global options and bindings.
3320#
3421option add *Button.default normal
You can’t perform that action at this time.
0 commit comments