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.144.40.216
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 : menu.tcl
# menu.tcl -- # # This demonstration script creates a window with a bunch of menus # and cascaded menus using menubars. if {![info exists widgetDemo]} { error "This script should be run from the \"widget\" demo." } package require Tk set w .menu catch {destroy $w} toplevel $w wm title $w "Menu Demonstration" wm iconname $w "menu" positionWindow $w label $w.msg -font $font -wraplength 4i -justify left if {[tk windowingsystem] eq "aqua"} { catch {set origUseCustomMDEF $::tk::mac::useCustomMDEF; set ::tk::mac::useCustomMDEF 1} $w.msg configure -text "This window has a menubar with cascaded menus. You can invoke entries with an accelerator by typing Command+x, where \"x\" is the character next to the command key symbol. The rightmost menu can be torn off into a palette by selecting the first item in the menu." } else { $w.msg configure -text "This window contains a menubar with cascaded menus. You can post a menu from the keyboard by typing Alt+x, where \"x\" is the character underlined on the menu. You can then traverse among the menus using the arrow keys. When a menu is posted, you can invoke the current entry by typing space, or you can invoke any entry by typing its underlined character. If a menu entry has an accelerator, you can invoke the entry without posting the menu just by typing the accelerator. The rightmost menu can be torn off into a palette by selecting the first item in the menu." } pack $w.msg -side top set menustatus " " frame $w.statusBar label $w.statusBar.label -textvariable menustatus -relief sunken -bd 1 -font "Helvetica 10" -anchor w pack $w.statusBar.label -side left -padx 2 -expand yes -fill both pack $w.statusBar -side bottom -fill x -pady 2 ## See Code / Dismiss buttons set btns [addSeeDismiss $w.buttons $w] pack $btns -side bottom -fill x menu $w.menu -tearoff 0 set m $w.menu.file menu $m -tearoff 0 $w.menu add cascade -label "File" -menu $m -underline 0 $m add command -label "Open..." -command {error "this is just a demo: no action has been defined for the \"Open...\" entry"} $m add command -label "New" -command {error "this is just a demo: no action has been defined for the \"New\" entry"} $m add command -label "Save" -command {error "this is just a demo: no action has been defined for the \"Save\" entry"} $m add command -label "Save As..." -command {error "this is just a demo: no action has been defined for the \"Save As...\" entry"} $m add separator $m add command -label "Print Setup..." -command {error "this is just a demo: no action has been defined for the \"Print Setup...\" entry"} $m add command -label "Print..." -command {error "this is just a demo: no action has been defined for the \"Print...\" entry"} $m add separator $m add command -label "Dismiss Menus Demo" -command "destroy $w" set m $w.menu.basic $w.menu add cascade -label "Basic" -menu $m -underline 0 menu $m -tearoff 0 $m add command -label "Long entry that does nothing" if {[tk windowingsystem] eq "aqua"} { set modifier Command } elseif {[tk windowingsystem] == "win32"} { set modifier Control } else { set modifier Meta } foreach i {A B C D E F} { $m add command -label "Print letter \"$i\"" -underline 14 \ -accelerator Meta+$i -command "puts $i" -accelerator $modifier+$i bind $w <$modifier-[string tolower $i]> "puts $i" } set m $w.menu.cascade $w.menu add cascade -label "Cascades" -menu $m -underline 0 menu $m -tearoff 0 $m add command -label "Print hello" \ -command {puts stdout "Hello"} -accelerator $modifier+H -underline 6 bind $w <$modifier-h> {puts stdout "Hello"} $m add command -label "Print goodbye" -command {\ puts stdout "Goodbye"} -accelerator $modifier+G -underline 6 bind $w <$modifier-g> {puts stdout "Goodbye"} $m add cascade -label "Check buttons" \ -menu $w.menu.cascade.check -underline 0 $m add cascade -label "Radio buttons" \ -menu $w.menu.cascade.radio -underline 0 set m $w.menu.cascade.check menu $m -tearoff 0 $m add check -label "Oil checked" -variable oil $m add check -label "Transmission checked" -variable trans $m add check -label "Brakes checked" -variable brakes $m add check -label "Lights checked" -variable lights $m add separator $m add command -label "Show current values" \ -command "showVars $w.menu.cascade.dialog oil trans brakes lights" $m invoke 1 $m invoke 3 set m $w.menu.cascade.radio menu $m -tearoff 0 $m add radio -label "10 point" -variable pointSize -value 10 $m add radio -label "14 point" -variable pointSize -value 14 $m add radio -label "18 point" -variable pointSize -value 18 $m add radio -label "24 point" -variable pointSize -value 24 $m add radio -label "32 point" -variable pointSize -value 32 $m add sep $m add radio -label "Roman" -variable style -value roman $m add radio -label "Bold" -variable style -value bold $m add radio -label "Italic" -variable style -value italic $m add sep $m add command -label "Show current values" \ -command "showVars $w.menu.cascade.dialog pointSize style" $m invoke 1 $m invoke 7 set m $w.menu.icon $w.menu add cascade -label "Icons" -menu $m -underline 0 menu $m -tearoff 0 # Main widget program sets variable tk_demoDirectory $m add command -bitmap @[file join $tk_demoDirectory images pattern.xbm] \ -hidemargin 1 -command [list \ tk_dialog $w.pattern {Bitmap Menu Entry} \ "The menu entry you invoked displays a bitmap rather than\ a text string. Other than this, it is just like any other\ menu entry." {} 0 OK ] foreach i {info questhead error} { $m add command -bitmap $i -hidemargin 1 -command [list \ puts "You invoked the $i bitmap" ] } $m entryconfigure 2 -columnbreak 1 set m $w.menu.more $w.menu add cascade -label "More" -menu $m -underline 0 menu $m -tearoff 0 foreach i {{An entry} {Another entry} {Does nothing} {Does almost nothing} {Make life meaningful}} { $m add command -label $i -command [list puts "You invoked \"$i\""] } $m entryconfigure "Does almost nothing" -bitmap questhead -compound left \ -command [list \ tk_dialog $w.compound {Compound Menu Entry} \ "The menu entry you invoked displays both a bitmap and a\ text string. Other than this, it is just like any other\ menu entry." {} 0 OK ] set m $w.menu.colors $w.menu add cascade -label "Colors" -menu $m -underline 1 menu $m -tearoff 1 foreach i {red orange yellow green blue} { $m add command -label $i -background $i -command [list \ puts "You invoked \"$i\"" ] } $w configure -menu $w.menu bind Menu <<MenuSelect>> { global $menustatus if {[catch {%W entrycget active -label} label]} { set label " " } set menustatus $label update idletasks } if {[tk windowingsystem] eq "aqua"} {catch {set ::tk::mac::useCustomMDEF $origUseCustomMDEF}}
Close