Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Tk::StayOnTop 0.12

    Download button

    No screenshots available
    Downloads: 375  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.0/5)
    1 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Gavin Brock | More programs
    Perl Artistic License / FREE
    November 20th, 2007, 23:06 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Tk::StayOnTop description

    Tk::StayOnTop can keep your window in the foreground.

    Tk::StayOnTop can keep your window in the foreground.

    SYNOPSIS

    use Tk::StayOnTop;
    $toplevel->stayOnTop;
    $toplevel->dontStayOnTop;

    Adds methods to the Tk::Toplevel base class so that a window can stay on top off all other windows.

    METHODS

    $toplevel->stayOnTop();

    Keep $toplevel in the foreground.

    $toplevel->dontStayOnTop();

    Return $toplevel to normal behaviour.

    IMPLEMENTATION DETAILS

    The module uses a number of methods for trying to keep the window in the foreground. It will atomatically choose the most suitable available. The methods can be split between Microsoft Windows and X-Windows:

    Microsoft Windows

    Perl Tk Version 804.027 and newer support the "-toplevel => 1" attribute. This will be used if possible.

    On older Perl Tk versions, the module will search for the Win32::API module and use direct API calls to the OS.

    X-Windows

    For newer X window managers (Gnome, myabe KDE) it will try to set the NET_WM_STATE_STAYS_ON_TOP property of the window.

    If this is not implemented, it will just try to the raise window every time it's covered. This could cause problems if you have two windows competing to stay on top.

    I am hoping that the Perl Tk build in "-toplevel => 1" attribute will be implement in the future and this module will no longer be needed. However in the mean time, if you have any other platform dependent solutions, please let me know and I will try to include them.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    on-top window | foreground window | Perl module | foreground | attributes | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM