Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: stay-on-top property for Toplevel for Perl-Tk GUI

by dree (Monsignor)
on Oct 15, 2002 at 14:21 UTC ( [id://205382]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $top->bind("<Visibility>" => sub { $top->raise });
    
  2. or download this
    use strict;
    use Tk;
    ...
    
        #sleep(10);
    }
    
  3. or download this
        my($wrapper) = $w->toplevel->wrapper;
        $w->property('set', '_NET_WM_STATE', "ATOM", 32,
             ["_NET_WM_STATE_STAYS_ON_TOP"], $wrapper);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://205382]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-20 09:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found