Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 romping around the Monastery: (4)
As of 2015-07-06 05:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls