Changeset 3305 for branches/nanovis2/gui/scripts/main.tcl
- Timestamp:
- Feb 18, 2013, 2:32:14 PM (12 years ago)
- Location:
- branches/nanovis2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/nanovis2
- Property svn:mergeinfo changed
/trunk merged: 3174,3177-3182,3184-3199,3275-3282,3285,3287
- Property svn:mergeinfo changed
-
branches/nanovis2/gui/scripts/main.tcl
r3175 r3305 16 16 # ====================================================================== 17 17 # AUTHOR: Michael McLennan, Purdue University 18 # Copyright (c) 2004-201 1 Purdue Research Foundation18 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 19 19 # 20 20 # See the file "license.terms" for information on usage and … … 175 175 176 176 # ---------------------------------------------------------------------- 177 # START LOGGING 178 # 179 # If the $RAPPTURE_LOG directory is set to a directory used for 180 # logging, then open a log file and start logging. 181 # ---------------------------------------------------------------------- 182 Rappture::Logger::init 183 184 # ---------------------------------------------------------------------- 177 185 # INITIALIZE THE DESKTOP CONNECTION 178 186 # … … 189 197 .main configure -title [$tool xml get tool.title] 190 198 wm withdraw .main 199 wm protocol .main WM_DELETE_WINDOW {Rappture::Logger::cleanup; exit} 191 200 192 201 # if the FULLSCREEN variable is set, then nanoHUB wants us to go full screen … … 219 228 label $f.hubcntls.icon -image [Rappture::icon ask] -highlightthickness 0 220 229 pack $f.hubcntls.icon -side left 221 button $f.hubcntls.about -text "About this tool" \ 222 -command [list Rappture::filexfer::webpage "$url/tools/$app"] 230 button $f.hubcntls.about -text "About this tool" -command " 231 [list Rappture::filexfer::webpage $url/tools/$app] 232 Rappture::Logger::log help about 233 " 223 234 pack $f.hubcntls.about -side top -anchor w 224 button $f.hubcntls.questions -text Questions? \ 225 -command [list Rappture::filexfer::webpage "$url/resources/$app/questions"] 235 button $f.hubcntls.questions -text Questions? -command " 236 [list Rappture::filexfer::webpage $url/resources/$app/questions] 237 Rappture::Logger::log help questions 238 " 226 239 pack $f.hubcntls.questions -side top -anchor w 227 240 }
Note: See TracChangeset
for help on using the changeset viewer.