Linux ip-148-66-134-25.ip.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els10.x86_64 #1 SMP Fri Oct 11 21:40:41 UTC 2024 x86_64
Apache
: 148.66.134.25 | : 3.133.137.10
66 Domain
8.0.30
amvm
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
share /
tk8.5 /
demos /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
README
2.03
KB
-rw-r--r--
anilabel.tcl
6.51
KB
-rw-r--r--
aniwave.tcl
3.41
KB
-rw-r--r--
arrow.tcl
7.8
KB
-rw-r--r--
bind.tcl
2.87
KB
-rw-r--r--
bitmap.tcl
1.38
KB
-rw-r--r--
browse
1.72
KB
-rwxr-xr-x
button.tcl
1.47
KB
-rw-r--r--
check.tcl
2.22
KB
-rw-r--r--
clrpick.tcl
1.4
KB
-rw-r--r--
colors.tcl
4.88
KB
-rw-r--r--
combo.tcl
1.94
KB
-rw-r--r--
cscroll.tcl
3.31
KB
-rw-r--r--
ctext.tcl
4.76
KB
-rw-r--r--
dialog1.tcl
660
B
-rw-r--r--
dialog2.tcl
613
B
-rw-r--r--
en.msg
3.8
KB
-rw-r--r--
entry1.tcl
1.35
KB
-rw-r--r--
entry2.tcl
2.06
KB
-rw-r--r--
entry3.tcl
5.95
KB
-rw-r--r--
filebox.tcl
2.2
KB
-rw-r--r--
floor.tcl
77.24
KB
-rw-r--r--
form.tcl
1.02
KB
-rw-r--r--
goldberg.tcl
55.23
KB
-rw-r--r--
hello
512
B
-rwxr-xr-x
hscale.tcl
1.46
KB
-rw-r--r--
icon.tcl
2.01
KB
-rw-r--r--
image1.tcl
1002
B
-rw-r--r--
image2.tcl
3.28
KB
-rw-r--r--
items.tcl
9.5
KB
-rw-r--r--
ixset
7.91
KB
-rwxr-xr-x
knightstour.tcl
8.38
KB
-rw-r--r--
label.tcl
1.29
KB
-rw-r--r--
labelframe.tcl
1.8
KB
-rw-r--r--
license.terms
2.16
KB
-rw-r--r--
mclist.tcl
3.89
KB
-rw-r--r--
menu.tcl
6.57
KB
-rw-r--r--
menubu.tcl
4.37
KB
-rw-r--r--
msgbox.tcl
1.98
KB
-rw-r--r--
nl.msg
6.61
KB
-rw-r--r--
paned1.tcl
1.08
KB
-rw-r--r--
paned2.tcl
2.18
KB
-rw-r--r--
pendulum.tcl
7.46
KB
-rw-r--r--
plot.tcl
2.69
KB
-rw-r--r--
puzzle.tcl
2.54
KB
-rw-r--r--
radio.tcl
2.69
KB
-rw-r--r--
rmt
5.22
KB
-rwxr-xr-x
rolodex
8.11
KB
-rwxr-xr-x
ruler.tcl
5.09
KB
-rw-r--r--
sayings.tcl
2.21
KB
-rw-r--r--
search.tcl
4.29
KB
-rw-r--r--
spin.tcl
1.78
KB
-rw-r--r--
states.tcl
1.63
KB
-rw-r--r--
style.tcl
6.78
KB
-rw-r--r--
tclIndex
4.25
KB
-rw-r--r--
tcolor
10.99
KB
-rwxr-xr-x
text.tcl
3.34
KB
-rw-r--r--
textpeer.tcl
2.13
KB
-rw-r--r--
timer
1.09
KB
-rwxr-xr-x
toolbar.tcl
3.19
KB
-rw-r--r--
tree.tcl
3.29
KB
-rw-r--r--
ttkbut.tcl
3.34
KB
-rw-r--r--
ttkmenu.tcl
2.35
KB
-rw-r--r--
ttknote.tcl
2.41
KB
-rw-r--r--
ttkpane.tcl
3.95
KB
-rw-r--r--
ttkprogress.tcl
1.52
KB
-rw-r--r--
ttkscale.tcl
1.39
KB
-rw-r--r--
twind.tcl
10.57
KB
-rw-r--r--
unicodeout.tcl
3.45
KB
-rw-r--r--
vscale.tcl
1.44
KB
-rw-r--r--
widget
22.83
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ctext.tcl
# ctext.tcl -- # # This demonstration script creates a canvas widget with a text # item that can be edited and reconfigured in various ways. if {![info exists widgetDemo]} { error "This script should be run from the \"widget\" demo." } package require Tk set w .ctext catch {destroy $w} toplevel $w wm title $w "Canvas Text Demonstration" wm iconname $w "Text" positionWindow $w set c $w.c label $w.msg -font $font -wraplength 5i -justify left -text "This window displays a string of text to demonstrate the text facilities of canvas widgets. You can click in the boxes to adjust the position of the text relative to its positioning point or change its justification. The text also supports the following simple bindings for editing: 1. You can point, click, and type. 2. You can also select with button 1. 3. You can copy the selection to the mouse position with button 2. 4. Backspace and Control+h delete the selection if there is one; otherwise they delete the character just before the insertion cursor. 5. Delete deletes the selection if there is one; otherwise it deletes the character just after the insertion cursor." pack $w.msg -side top ## See Code / Dismiss buttons set btns [addSeeDismiss $w.buttons $w] pack $btns -side bottom -fill x canvas $c -relief flat -borderwidth 0 -width 500 -height 350 pack $w.c -side top -expand yes -fill both set textFont {Helvetica 24} $c create rectangle 245 195 255 205 -outline black -fill red # First, create the text item and give it bindings so it can be edited. $c addtag text withtag [$c create text 250 200 -text "This is just a string of text to demonstrate the text facilities of canvas widgets. Bindings have been been defined to support editing (see above)." -width 440 -anchor n -font $textFont -justify left] $c bind text <1> "textB1Press $c %x %y" $c bind text <B1-Motion> "textB1Move $c %x %y" $c bind text <Shift-1> "$c select adjust current @%x,%y" $c bind text <Shift-B1-Motion> "textB1Move $c %x %y" $c bind text <KeyPress> "textInsert $c %A" $c bind text <Return> "textInsert $c \\n" $c bind text <Control-h> "textBs $c" $c bind text <BackSpace> "textBs $c" $c bind text <Delete> "textDel $c" $c bind text <2> "textPaste $c @%x,%y" # Next, create some items that allow the text's anchor position # to be edited. proc mkTextConfig {w x y option value color} { set item [$w create rect $x $y [expr {$x+30}] [expr {$y+30}] \ -outline black -fill $color -width 1] $w bind $item <1> "$w itemconf text $option $value" $w addtag config withtag $item } set x 50 set y 50 set color LightSkyBlue1 mkTextConfig $c $x $y -anchor se $color mkTextConfig $c [expr {$x+30}] [expr {$y }] -anchor s $color mkTextConfig $c [expr {$x+60}] [expr {$y }] -anchor sw $color mkTextConfig $c [expr {$x }] [expr {$y+30}] -anchor e $color mkTextConfig $c [expr {$x+30}] [expr {$y+30}] -anchor center $color mkTextConfig $c [expr {$x+60}] [expr {$y+30}] -anchor w $color mkTextConfig $c [expr {$x }] [expr {$y+60}] -anchor ne $color mkTextConfig $c [expr {$x+30}] [expr {$y+60}] -anchor n $color mkTextConfig $c [expr {$x+60}] [expr {$y+60}] -anchor nw $color set item [$c create rect \ [expr {$x+40}] [expr {$y+40}] [expr {$x+50}] [expr {$y+50}] \ -outline black -fill red] $c bind $item <1> "$c itemconf text -anchor center" $c create text [expr {$x+45}] [expr {$y-5}] \ -text {Text Position} -anchor s -font {Times 24} -fill brown # Lastly, create some items that allow the text's justification to be # changed. set x 350 set y 50 set color SeaGreen2 mkTextConfig $c $x $y -justify left $color mkTextConfig $c [expr {$x+30}] $y -justify center $color mkTextConfig $c [expr {$x+60}] $y -justify right $color $c create text [expr {$x+45}] [expr {$y-5}] \ -text {Justification} -anchor s -font {Times 24} -fill brown $c bind config <Enter> "textEnter $c" $c bind config <Leave> "$c itemconf current -fill \$textConfigFill" set textConfigFill {} proc textEnter {w} { global textConfigFill set textConfigFill [lindex [$w itemconfig current -fill] 4] $w itemconfig current -fill black } proc textInsert {w string} { if {$string == ""} { return } catch {$w dchars text sel.first sel.last} $w insert text insert $string } proc textPaste {w pos} { catch { $w insert text $pos [selection get] } } proc textB1Press {w x y} { $w icursor current @$x,$y $w focus current focus $w $w select from current @$x,$y } proc textB1Move {w x y} { $w select to current @$x,$y } proc textBs {w} { if {![catch {$w dchars text sel.first sel.last}]} { return } set char [expr {[$w index text insert] - 1}] if {$char >= 0} {$w dchar text $char} } proc textDel {w} { if {![catch {$w dchars text sel.first sel.last}]} { return } $w dchars text insert }
Close