home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!doc.ic.ac.uk!aixssc.uk.ibm.com!yktnews!admin!ghostwind!shmdgljd
- From: shmdgljd@rchland.vnet.ibm.com (Jay Schmidgall)
- Newsgroups: comp.lang.tcl
- Subject: Setting icon for tk app (or, how do I configure `.' ?)
- Message-ID: <1992Nov09.171857.7608@rchland.ibm.com>
- Date: 9 Nov 92 17:18:57 GMT
- Sender: news@rchland.ibm.com
- Reply-To: jay@vnet.ibm.com
- Organization: IBM Rochester, MN
- Lines: 19
- Disclaimer: This posting represents the poster's views, not necessarily those of IBM
- Nntp-Posting-Host: ghostwind.rchland.ibm.com
-
- I'd like to allow users to specify their own icon for a tk app that I've
- written. However, this is an app that they are likely to have multiple
- instances of, and each new instance gets a different number tacked on.
-
- For example, right now they might be using
-
- Mwm*myapp*iconImage: some_image
-
- which works fine for the first instance. If they fire up another one,
- though, its name becomes ``myapp #2''. I'd guess that the proper way to
- do this would be to set a class for my app, but I can't use the -class
- option of the toplevel command on `.', which I am assuming _is_ a toplevel?
-
- When I try `. configure -class Myapp', I get ``invalid command name "."''
-
- Thanks for any suggestions.
- --
- : jay jay@vnet.ibm.com My opinions and ideas, not my employer's.
- : shmdgljd@rchland.vnet.ibm.com (c) Copyright 1992. All rights reserved.
-