Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Remove all decorations (ie, title-bar and WM buttons) from a Tk window

by bbfu (Curate)
on Jan 04, 2003 at 03:36 UTC ( #224186=snippet: print w/ replies, xml ) Need Help??

Description:

The following will remove the title-bar and all other window-manager decorations, such as the minimize, maximize, and close buttons from a Tk::Toplevel.

$toplevel->overrideredirect(1);

# To bring the decorations back, you would call it with a 0:
#$toplevel->overrideredirect(0);
Comment on Remove all decorations (ie, title-bar and WM buttons) from a Tk window
Download Code

Back to Snippets Section

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2014-12-29 04:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls