-
Notifications
You must be signed in to change notification settings - Fork 4
/
unknown.tcl
166 lines (153 loc) · 5.59 KB
/
unknown.tcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
#############################################################################
# Generated by PAGE version 4.8.9
# in conjunction with Tcl version 8.6
set vTcl(timestamp) ""
set vTcl(actual_gui_bg) #d9d9d9
set vTcl(actual_gui_fg) #000000
set vTcl(actual_gui_menu_bg) #d9d9d9
set vTcl(actual_gui_menu_fg) #000000
set vTcl(complement_color) #d9d9d9
set vTcl(analog_color_p) #d9d9d9
set vTcl(analog_color_m) #d9d9d9
set vTcl(active_fg) #000000
set vTcl(actual_gui_menu_active_bg) #d8d8d8
set vTcl(active_menu_fg) #000000
#################################
#LIBRARY PROCEDURES
#
if {[info exists vTcl(sourcing)]} {
proc vTcl:project:info {} {
set base .top37
namespace eval ::widgets::$base {
set dflt,origin 0
set runvisible 1
}
set site_3_0 $base.fra38
namespace eval ::widgets_bindings {
set tagslist _TopLevel
}
namespace eval ::vTcl::modules::main {
set procs {
}
set compounds {
}
set projectType single
}
}
}
#################################
# USER DEFINED PROCEDURES
#
#################################
# GENERATED GUI PROCEDURES
#
proc vTclWindow.top37 {base} {
if {$base == ""} {
set base .top37
}
if {[winfo exists $base]} {
wm deiconify $base; return
}
set top $base
###################
# CREATING WIDGETS
###################
vTcl::widgets::core::toplevel::createCmd $top -class Toplevel \
-background {#d9d9d9}
wm focusmodel $top passive
wm geometry $top 600x450+534+156
update
# set in toplevel.wgt.
global vTcl
set vTcl(save,dflt,origin) 0
wm maxsize $top 1362 741
wm minsize $top 120 1
wm overrideredirect $top 0
wm resizable $top 1 1
wm deiconify $top
wm title $top "New Toplevel 1"
vTcl:DefineAlias "$top" "Toplevel1" vTcl:Toplevel:WidgetProc "" 1
frame $top.fra38 \
-borderwidth 2 -relief groove -background {#d9d9d9} -height 95 \
-width 565
vTcl:DefineAlias "$top.fra38" "Frame1" vTcl:WidgetProc "Toplevel1" 1
set site_3_0 $top.fra38
label $site_3_0.lab47 \
-background {#d9d9d9} -disabledforeground {#a3a3a3} \
-foreground {#000000} -text {3D video converter for VR Box}
vTcl:DefineAlias "$site_3_0.lab47" "Label3" vTcl:WidgetProc "Toplevel1" 1
place $site_3_0.lab47 \
-in $site_3_0 -x 30 -y 30 -width 514 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
button $top.but39 \
-activebackground {#d9d9d9} -activeforeground {#000000} \
-background {#d9d9d9} -disabledforeground {#a3a3a3} \
-foreground {#000000} -highlightbackground {#d9d9d9} \
-highlightcolor black -pady 0 -text {Select Video}
vTcl:DefineAlias "$top.but39" "Button1" vTcl:WidgetProc "Toplevel1" 1
label $top.lab40 \
-background {#d9d9d9} -disabledforeground {#a3a3a3} \
-foreground {#000000} -text Label
vTcl:DefineAlias "$top.lab40" "Label1" vTcl:WidgetProc "Toplevel1" 1
button $top.but41 \
-activebackground {#d9d9d9} -activeforeground {#000000} \
-background {#d9d9d9} -disabledforeground {#a3a3a3} \
-foreground {#000000} -highlightbackground {#d9d9d9} \
-highlightcolor black -pady 0 -text {Select Destination Folder}
vTcl:DefineAlias "$top.but41" "Button2" vTcl:WidgetProc "Toplevel1" 1
label $top.lab43 \
-background {#d9d9d9} -disabledforeground {#a3a3a3} \
-foreground {#000000} -text Label
vTcl:DefineAlias "$top.lab43" "Label2" vTcl:WidgetProc "Toplevel1" 1
button $top.but45 \
-activebackground {#d9d9d9} -activeforeground {#000000} \
-background {#d9d9d9} -disabledforeground {#a3a3a3} \
-foreground {#000000} -highlightbackground {#d9d9d9} \
-highlightcolor black -pady 0 -text Convert
vTcl:DefineAlias "$top.but45" "Button4" vTcl:WidgetProc "Toplevel1" 1
label $top.lab46 \
-background {#d9d9d9} -disabledforeground {#a3a3a3} \
-foreground {#000000} -text Label
vTcl:DefineAlias "$top.lab46" "Label4" vTcl:WidgetProc "Toplevel1" 1
###################
# SETTING GEOMETRY
###################
place $top.fra38 \
-in $top -x 20 -y 20 -width 565 -relwidth 0 -height 95 -relheight 0 \
-anchor nw -bordermode ignore
place $top.but39 \
-in $top -x 80 -y 150 -width 137 -relwidth 0 -height 24 -relheight 0 \
-anchor nw -bordermode ignore
place $top.lab40 \
-in $top -x 200 -y 150 -width 374 -relwidth 0 -height 21 -relheight 0 \
-anchor nw -bordermode ignore
place $top.but41 \
-in $top -x 80 -y 210 -width 137 -relwidth 0 -height 24 -relheight 0 \
-anchor nw -bordermode ignore
place $top.lab43 \
-in $top -x 190 -y 210 -width 394 -relwidth 0 -height 21 -relheight 0 \
-anchor nw -bordermode ignore
place $top.but45 \
-in $top -x 270 -y 290 -anchor nw -bordermode ignore
place $top.lab46 \
-in $top -x 10 -y 350 -width 564 -relwidth 0 -height 41 -relheight 0 \
-anchor nw -bordermode ignore
vTcl:FireEvent $base <<Ready>>
}
#############################################################################
## Binding tag: _TopLevel
bind "_TopLevel" <<Create>> {
if {![info exists _topcount]} {set _topcount 0}; incr _topcount
}
bind "_TopLevel" <<DeleteWindow>> {
if {[set ::%W::_modal]} {
vTcl:Toplevel:WidgetProc %W endmodal
} else {
destroy %W; if {$_topcount == 0} {exit}
}
}
bind "_TopLevel" <Destroy> {
if {[winfo toplevel %W] == "%W"} {incr _topcount -1}
}
Window show .
Window show .top37