home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!gatech!news.ans.net!newsgate.watson.ibm.com!yktnews!admin!ghostwind!shmdgljd
- From: shmdgljd@rchland.vnet.ibm.com (Jay Schmidgall)
- Subject: Re: new user questions
- Sender: news@rchland.ibm.com
- Message-ID: <1992Nov11.203814.15764@rchland.ibm.com>
- Date: Wed, 11 Nov 1992 20:38:14 GMT
- Reply-To: jay@vnet.ibm.com
- Disclaimer: This posting represents the poster's views, not necessarily those of IBM
- References: <1992Nov11.180209.1032@twg.com>
- Nntp-Posting-Host: ghostwind.rchland.ibm.com
- Organization: IBM Rochester, MN
- Lines: 32
-
- In article <1992Nov11.180209.1032@twg.com>, "David Herron" <david@twg.com> writes:
- |> > Q. 2
- |> > How do I turn off the icon button for child windows ( or I guess more
- |> > apropriately, how I create a window without the toplevel command )
- |>
- |> In Xt based toolkits (or in Motif anyway) different `shell' widgets
- |> are used for different purposes. Motif has a DialogShell widget
- |> which doesn't put out an icon and negotiates a different set of
- |> window border doo-dads. (No iconize, etc)
-
- Basically, you need to set the ``shell'' widget so that it mimics the
- behavior of Motif's dialog shell. Under the configuration I have under
- Mwm, dialog shells don't have an iconify or maximize button, and when
- you iconify the toplevel, the dialogs go with it.
-
- To emulate this under tk, you can do
-
- toplevel .dshell
- wm group .dshell .
- wm transient .dshell .
-
- |> It appears that Tk 3.0 won't have this fixed either since the dialogs
- |> in `Perspecta Presents!' have a complete set of window border doo-dads.
- |> On the other hand they've incorporated some of that since using the window
- |> manager to close windows doesn't kill the process.
-
- The wmprotocols code would probably be necessary for this (ie., to trap the
- wm close/kill selection), unless of course they wrote their own.
-
- --
- : jay jay@vnet.ibm.com My opinions and ideas, not my employer's.
- : shmdgljd@rchland.vnet.ibm.com (c) Copyright 1992. All rights reserved.
-