From: <no...@so...> - 2002-03-21 20:10:23
|
Bugs item #532022, was opened at 2002-03-19 21:19 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112997&aid=532022&group_id=12997 Category: 50. [place] Group: 8.4a4 Status: Open Resolution: None Priority: 5 Submitted By: Mark G. Saye (markgsaye) Assigned to: Peter Spjuth (pspjuth) Summary: place info -in not returned in parent Initial Comment: The 'place info' command should return all configuration options for a widget managed by 'place'. If the widget is 'place'd in its parent (the default) the 'place info' does not return the '-in widget' option-value pair in the list of returned values. This is inconsistent with the pack and grid managers. It does however return this option if the widget is 'place'd in a widget other than its parent. Workaround: set w [button .b] place $w -x 0 -y 0 -width 50 -height 20 set info(-in) [winfo parent $w] array set info [place info $w] set place [array get info] place forget $w % eval place $w $place ---------------------------------------------------------------------- >Comment By: Peter Spjuth (pspjuth) Date: 2002-03-21 21:10 Message: Logged In: YES user_id=98900 Both -in and -bordermode are left out of 'place info' if they have their default value. This seems to be a choise rather than a mistake and has been like that "forever" (i.e. since CVS version 1.1). I agree that it should be changed for consistency, and the fix is trivial, but I'd prefer to understand it before changing anything. Do anyone know a reason for it to work like it does? ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112997&aid=532022&group_id=12997 |