Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://205364]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (1)
As of 2018-04-23 17:59 GMT
Find Nodes?
    Voting Booth?