!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/lib/tk8.4/   drwxr-xr-x
Free 318.33 GB of 458.09 GB (69.49%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     panedwindow.tcl (4.86 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
# panedwindow.tcl --
#
# This file defines the default bindings for Tk panedwindow widgets and
# provides procedures that help in implementing those bindings.
#
# RCS: @(#) $Id: panedwindow.tcl,v 1.6 2002/08/08 01:43:31 hobbs Exp $
#

bind Panedwindow <Button-1> { ::tk::panedwindow::MarkSash %W %x %y 1 }
bind Panedwindow <Button-2> { ::tk::panedwindow::MarkSash %W %x %y 0 }

bind Panedwindow <B1-Motion> { ::tk::panedwindow::DragSash %W %x %y 1 }
bind Panedwindow <B2-Motion> { ::tk::panedwindow::DragSash %W %x %y 0 }

bind Panedwindow <ButtonRelease-1> {::tk::panedwindow::ReleaseSash %W 1}
bind Panedwindow <ButtonRelease-2> {::tk::panedwindow::ReleaseSash %W 0}

bind Panedwindow <Motion> { ::tk::panedwindow::Motion %W %x %y }

bind Panedwindow <Leave> { ::tk::panedwindow::Leave %W }

# Initialize namespace
namespace eval ::tk::panedwindow {}

# ::tk::panedwindow::MarkSash --
#
#   Handle marking the correct sash for possible dragging
#
# Arguments:
#   w        the widget
#   x        widget local x coord
#   y        widget local y coord
#   proxy    whether this should be a proxy sash
# Results:
#   None
#
proc ::tk::panedwindow::MarkSash {w x y proxy} {
    set what [$w identify $x $y]
    if { [llength $what] == 2 } {
    foreach {index which} $what break
    if { !$::tk_strictMotif || [string equal $which "handle"] } {
        if {!$proxy} { $w sash mark $index $x $y }
        set ::tk::Priv(sash) $index
        foreach {sx sy} [$w sash coord $index] break
        set ::tk::Priv(dx) [expr {$sx-$x}]
        set ::tk::Priv(dy) [expr {$sy-$y}]
    }
    }
}

# ::tk::panedwindow::DragSash --
#
#   Handle dragging of the correct sash
#
# Arguments:
#   w        the widget
#   x        widget local x coord
#   y        widget local y coord
#   proxy    whether this should be a proxy sash
# Results:
#   Moves sash
#
proc ::tk::panedwindow::DragSash {w x y proxy} {
    if { [info exists ::tk::Priv(sash)] } {
    if {$proxy} {
        $w proxy place \
            [expr {$x+$::tk::Priv(dx)}] [expr {$y+$::tk::Priv(dy)}]
    } else {
        $w sash place $::tk::Priv(sash) \
            [expr {$x+$::tk::Priv(dx)}] [expr {$y+$::tk::Priv(dy)}]
    }
    }
}

# ::tk::panedwindow::ReleaseSash --
#
#   Handle releasing of the sash
#
# Arguments:
#   w        the widget
#   proxy    whether this should be a proxy sash
# Results:
#   Returns ...
#
proc ::tk::panedwindow::ReleaseSash {w proxy} {
    if { [info exists ::tk::Priv(sash)] } {
    if {$proxy} {
        foreach {x y} [$w proxy coord] break
        $w sash place $::tk::Priv(sash) $x $y
        $w proxy forget
    }
    unset ::tk::Priv(sash) ::tk::Priv(dx) ::tk::Priv(dy)
    }
}

# ::tk::panedwindow::Motion --
#
#   Handle motion on the widget.  This is used to change the cursor
#   when the user moves over the sash area.
#
# Arguments:
#   w        the widget
#   x        widget local x coord
#   y        widget local y coord
# Results:
#   May change the cursor.  Sets up a timer to verify that we are still
#   over the widget.
#
proc ::tk::panedwindow::Motion {w x y} {
    variable ::tk::Priv
    set id [$w identify $x $y]
    if {([llength $id] == 2) && \
        (!$::tk_strictMotif || [string equal [lindex $id 1] "handle"])} {
    if { ![info exists Priv(panecursor)] } {
        set Priv(panecursor) [$w cget -cursor]
        if { [string equal [$w cget -sashcursor] ""] } {
        if { [string equal [$w cget -orient] "horizontal"] } {
            $w configure -cursor sb_h_double_arrow
        } else {
            $w configure -cursor sb_v_double_arrow
        }
        } else {
        $w configure -cursor [$w cget -sashcursor]
        }
        if {[info exists Priv(pwAfterId)]} {
        after cancel $Priv(pwAfterId)
        }
        set Priv(pwAfterId) [after 150 \
            [list ::tk::panedwindow::Cursor $w]]
    }
    return
    }
    if { [info exists Priv(panecursor)] } {
    $w configure -cursor $Priv(panecursor)
    unset Priv(panecursor)
    }
}

# ::tk::panedwindow::Cursor --
#
#   Handles returning the normal cursor when we are no longer over the
#   sash area.  This needs to be done this way, because the panedwindow
#   won't see Leave events when the mouse moves from the sash to a
#   paned child, although the child does receive an Enter event.
#
# Arguments:
#   w        the widget
# Results:
#   May restore the default cursor, or schedule a timer to do it.
#
proc ::tk::panedwindow::Cursor {w} {
    variable ::tk::Priv
    if {[info exists Priv(panecursor)]} {
    if {[winfo containing [winfo pointerx $w] [winfo pointery $w]] == $w} {
        set Priv(pwAfterId) [after 150 [list ::tk::panedwindow::Cursor $w]]
    } else {
        $w configure -cursor $Priv(panecursor)
        unset Priv(panecursor)
        if {[info exists Priv(pwAfterId)]} {
        after cancel $Priv(pwAfterId)
        unset Priv(pwAfterId)
        }
    }
    }
}

# ::tk::panedwindow::Leave --
#
#   Return to default cursor when leaving the pw widget.
#
# Arguments:
#   w        the widget
# Results:
#   Restores the default cursor
#
proc ::tk::panedwindow::Leave {w} {
    if {[info exists ::tk::Priv(panecursor)]} {
        $w configure -cursor $::tk::Priv(panecursor)
        unset ::tk::Priv(panecursor)
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0047 ]--