Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

How to change Tk popup titlebar color?

by mnooning (Beadle)
on Dec 17, 2009 at 15:06 UTC ( #813192=perlquestion: print w/replies, xml ) Need Help??
mnooning has asked for the wisdom of the Perl Monks concerning the following question:

How can I change the color of the title bars of Perl/Tk windows that I have show up in a Microsoft Windows application? I know how to change the title, $mw->title, or use $mw->overrideredirect to remove the said top bar altogether. I need to know how to change the color of of the title bar itself. The setPalette command changes the bottom bar color, but not the title bar color. Anyone know?

I have been looking for something like

$mw->fooBar(-bg = $chosenColor)

but I cannot seem to find anything.
Thanks

Replies are listed 'Best First'.
Re: How to change Tk popup titlebar color?
by Anonymous Monk on Dec 17, 2009 at 15:18 UTC
    you can't directly as the window manager controls that. you could create your own titlebar

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://813192]
Approved by keszler
help
Chatterbox?
[Corion]: Well, no computer will start up without the blood sacrifice being made!
[Corion]: I used to cut me on PC cases, but they've gotten better or I don't let blood that easy anymore ;)

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2017-01-16 19:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (151 votes). Check out past polls.