Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by MZSanford (Curate)
on Oct 15, 2002 at 13:14 UTC ( #205364=note: print w/ replies, xml ) Need Help??


in reply to stay-on-top property for Toplevel for Perl-Tk GUI

I am assuming you are looking to make a global grab ... somthing that will not let the user switch application's, correct ? Well, i never suggest this, as if your program hangs you may well roger the user ... After the warning, take a look at the $widget->grabGlobal() method. I do suggest the grab() method, as it is local. Adding this with the general focus methods/properties should do what you want.


from the frivolous to the serious


Comment on Re: stay-on-top property for Toplevel for Perl-Tk GUI
Select or Download Code
Re: Re: stay-on-top property for Toplevel for Perl-Tk GUI
by Courage (Parson) on Oct 15, 2002 at 14:15 UTC
    No, I did not intended to have input only for my app, I was searching for a way to display a small button that will not be obscured by other applications, so a user will be able to see my button (and press it at any time) while being in another application. Something like floating button-bar.

    Courage, the Cowardly Dog

        Thanks a lot!

        I already received a very similar answer, and that code working in my app.
        Your addition is very helpful as well.

        Courage, the Cowardly Dog

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-10-20 23:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (93 votes), past polls