Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^4: perl tk frame packing question

by ghosh123 (Monk)
on Aug 20, 2013 at 08:38 UTC ( #1050147=note: print w/ replies, xml ) Need Help??

in reply to Re^3: perl tk frame packing question
in thread perl tk frame packing question

Yes,this is certainly happening when I restart the application. Even when my gui is getting refreshed by $mw->after() every 10 secs , the selected font is also getting lost from the itemstyles.
Please let me know how can I apply the desired font on HList effectively, I am applying it in the callback on the entire mainwindow widget as $mw->RefontTree(-font => $font) , is not that enough ?

Comment on Re^4: perl tk frame packing question
Replies are listed 'Best First'.
Re^5: perl tk frame packing question
by stefbv (Deacon) on Aug 20, 2013 at 10:13 UTC

    It's not enough because you don't call RefontTree again after destroing the HList. ItemStyle has a font option, make $font global and use it to set the font when the HList is recreated (-font => $font).

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2015-10-06 07:42 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (139 votes), past polls