Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: "Always on top" with Win32 and Tk

by ozzy (Sexton)
on May 09, 2001 at 04:05 UTC ( [id://78999]=note: print w/replies, xml ) Need Help??


in reply to "Always on top" with Win32 and Tk

With toplevel widgets, i believe you can set the options so the widget will allways be in focus. One of the options for top level widgets is
 -takefocus or -focusmodel.
To make sure check the Perl/TK documentation. If you are working on Win, you might also want to look into trying Win32::GUI.

-= Ozzy =-

Replies are listed 'Best First'.
Re: Re: "Always on top" with Win32 and Tk
by kevin_i_orourke (Friar) on May 09, 2001 at 16:07 UTC

    Thanks for the suggestion. $window->focusmodel("active") doesn't seem to work (under NT at least). -takefocus is related to tab-key traversal of widgets.

    Looks like another one of those platform-dependent things that Tk hasn't got round to. Win32::GUI is something I'm looking into just now.

    --
    Kevin O'Rourke
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-26 05:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found