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

(crazyinsomniac) Re: Adding Program Icons with Perl/Tk

by crazyinsomniac (Prior)
on Dec 18, 2001 at 08:40 UTC ( [id://132782]=note: print w/replies, xml ) Need Help??


in reply to Adding Program Icons with Perl/Tk

Seek and hopefully ye shall find your answer at How do I change the icon on Toplevel?

oooops: What you speak of is impossible, like the guy above me said. You could do it only ou recompiled Tk, the same you would for a custom icon, but that's too much trouble. Furthermore, I've seen no application, tk or otherwise, that overrides that menu, mostly because people do not expect it to change. Take a look at the perl tk chatterbox for an example on how to implement menus.

 
___crazyinsomniac_______________________________________
Disclaimer: Don't blame. It came from inside the void

perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"

  • Comment on (crazyinsomniac) Re: Adding Program Icons with Perl/Tk

Replies are listed 'Best First'.
Re: (crazyinsomniac) Re: Adding Program Icons with Perl/Tk
by dhable (Monk) on Dec 18, 2001 at 20:51 UTC
    I found your answer useful as well, but it wasn't an answer to my question. I want to add an menu item onto that menu. Thus, when the user clicks on the Tk icon they see the standard selections like "Move" and "Size", but they also will see my item "About program...".

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-17 08:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found