!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux web25.us.cloudlogin.co 5.10.237-xeon-hst #1 SMP Mon May 5 15:10:04 UTC 2025 x86_64 

uid=233359(alpastrology) gid=888(tty) groups=888(tty),33(tape) 

Safe-mode: OFF (not secure)

/usr/share/doc/perl-Tk/demos/widtrib/   drwxr-xr-x
Free 6182.02 GB of 6263.22 GB (98.7%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     cursor.pl (1.65 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
# Predefined cursors.
# -*- perl -*-

#
# $Id: $
# Author: Slaven Rezic
#
# Copyright (C) 2006,2008 Slaven Rezic. All rights reserved.
# This program is free software; you can redistribute it and/or
# modify it under the same terms as Perl itself.
#
# Mail: slaven@rezic.de
# WWW:  http://www.rezic.de/eserte/
#

use vars qw/$TOP/;

sub cursor {
    my($demo) = @_;
    $TOP = $MW->WidgetDemo(
        -name             => $demo,
        -text             => <<'EOF',
This window displays the names of Tk's built-in
resp. predefined X11 cursors. Click or move on
the names to see the cursor shape.
EOF
    -geometry_manager => 'grid',
        -title            => 'Predefined cursors',
        -iconname         => 'Predefined cursors',
    );

    my $fh;
 TRY_CURSORFONTH: {
    for my $cursorfonth (Tk->findINC("X11/cursorfont.h"),
                 "/usr/X11R6/include/X11/cursorfont.h",
                 "/usr/include/X11/cursorfont.h",
                ) {
        last TRY_CURSORFONTH if (open $fh, $cursorfonth);
    }
    $TOP->Label(-text => "Sorry. I can't find X11/cursorfont.h on this system.")->grid;
    return;
    }

    while(<$fh>) {
    chomp;
    if (/XC_(\S+)/) {
        my $cursorname = $1;
        next if $cursorname eq 'num_glyphs';
        push @cursors, $cursorname;
    }
    }

    $lb = $TOP->Scrolled("Listbox", -scrollbars => "ose", -selectmode => "browse")->grid(-sticky => "ns");
    $lb->insert("end", @cursors);
    $lb->bind("<Motion>", sub {
          my($inx) = $lb->nearest($lb->Subwidget("scrolled")->XEvent->y);
          $lb->configure(-cursor => $cursors[$inx]);
          });
    $lb->bind("<<ListboxSelect>>", sub {
          my($inx) = $lb->curselection;
          $lb->configure(-cursor => $cursors[$inx]);
          });
}

__END__

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0106 ]--