home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!kithrup!stanford.edu!kronos.arc.nasa.gov!iscnvx!netcomsv!firewall!farrar
- From: farrar@adaclabs.com (Stephen Daedalus)
- Subject: Re: Wanted: Geometry handlers like TeX Glue...
- Message-ID: <1992Nov18.083034@adaclabs.com>
- Sender: farrar@firewall (Stephen Daedalus)
- Nntp-Posting-Host: 192.153.52.178
- Organization: The Eye of the Pyramid, Inc.
- References: <1992Nov18.003342.1419@twg.com>
- Date: Wed, 18 Nov 1992 16:30:34 GMT
- Lines: 16
-
- You could use the placer. You can "place" a widget inside a "sibling" widget.
-
- frame .frame
- pack append . .frame {top expand fill frame center}
- button .frame.foo -text "foo"
- button .frame.bar -text "bar"
- place .frame.foo -in .frame -x 0 -y 0
- place .frame.bar -in .frame.foo -relx 3.0 -rely 2.5
-
- The relx and rely options act sort of like glue. See the man page for
- place for more details.
- ---
- Richard Farrar These views are my own, not my company's or country's.
- ADAC Laboratories "A man without hand is not a man."
- farrar@adaclabs.com - George Costanza, Seinfeld
- Spam is a registered trademark of Hormel
-