Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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]
Discipulus 'Thou art so fat-witted with drinking of old sack..' ++Shakespeare

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2017-11-23 11:37 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (334 votes). Check out past polls.