| ︙ | | |
694
695
696
697
698
699
700
701
702
703
|
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
|
+
+
+
+
+
+
|
# the checks fail.
#
proc verifyCheckoutDirectory {} {
variable checkoutDirectory
#
# NOTE: Setup example directory paths for use in the error message
# that may be produced by this procedure. Since these values
# are specific to the platform, they are setup in advance.
# These values are NOT used to interact with the file system.
#
if {[isWindows]} then {
set repositories C:/repositories
set checkouts C:/checkouts
} else {
set repositories ~/repositories
|
| ︙ | | |
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
|
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
|
+
|
$sender Items.Clear
$sender Items.AddRange $fileNames
set list [object create -alias StringList $fileNames]
set $varName [$list ToString]
} else {
set $varName [tk_getOpenFile -multiple true]
}
}
|
| ︙ | | |
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
|
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
|
+
+
|
proc setupWinFormsUserInterface {} {
variable argumentData
variable widgets
object load -import System.Windows.Forms
###########################################################################
set form [object create -alias Form]
set widgets(0) $form
$form Text "Package Uploader Client"
|
| ︙ | | |
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
|
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
|
+
+
+
-
+
|
proc setupTkUserInterface {} {
variable widgets
package require Tk
catch {console show}
catch {wm withdraw .}
###########################################################################
catch {wm withdraw .}; set toplevel [toplevel .uploader]
set toplevel [toplevel .uploader]
set widgets(toplevel) $toplevel
wm title $toplevel "Package Uploader Client"
wm minsize $toplevel 250 0
|
| ︙ | | |