>Another way to fix, is to make an option: "save the absolut size of the
>toplevel".

The easiest way to do this, I think, is to add checkboxes next to the
geometry manager options in the attributes editor, the same way as for
other attributes.

>And as an addition it would be nice to have a button that set's the
>toplevel at the requested size:
>  wm geometry . {}

Thanks for the suggestion. Real easy. I'll add this to the right-click
context menu for a toplevel.

>(BTW: who really wants to use the placer besides for making something like
>paned windows?  Yes, the VisualBasic dummies, but ...)

A lot of RAD GUI environments use placer-like managers by default
and it is the easiest to use. Of course, if you want to translate your
software or make it cross-platform you should use pack and grid, but they
are more difficult to use. So we offer all three choices of place, grid or
pack and people choose the one they want. I would recommend to use pack and
grid, though, once you get used to them.

Visual Tcl almost always uses pack and grid. It uses the placer for
splitter
bars.

CG



|--------+------------------------------------->
|        |          Uwe Koloska                |
|        |          <[EMAIL PROTECTED]|
|        |          sden.de>                   |
|        |          Sent by:                   |
|        |          [EMAIL PROTECTED]|
|        |          eforge.net                 |
|        |                                     |
|        |                                     |
|        |          03/20/2001 10:55 AM        |
|        |          Please respond to vtcl-user|
|        |                                     |
|--------+------------------------------------->
  
>-----------------------------------------------------------------------------------------------------------|
  |                                                                                    
                       |
  |       To:     [EMAIL PROTECTED], 
[EMAIL PROTECTED]                       |
  |       cc:                                                                          
                       |
  |       Fax to:                                                                      
                       |
  |       Subject:     [vtcl-user] BUG: fixed size of toplevel                         
                       |
  |                                                                                    
                       |
  
>-----------------------------------------------------------------------------------------------------------|




Hello,

there is an old bug still remaining:  A toplevel gets a fixed size but
normally this is wrong.  The packer and gridder are able to propagate the
right size for the toplevel.  Only the placer needs this fixed size.  The
problem becomes visible if you write a script and change the platform.
Normally the widgets have different sizes (because of different font sizes
different borders, etc.).

So I am not sure how to fix this bug.  I am not aware of a way to get the
geometry manager that is used for a given toplevel -- if there is a way the
absolut size can be activated only if needed by the placer.

(BTW: who really wants to use the placer besides for making something like
paned windows?  Yes, the VisualBasic dummies, but ...)

Another way to fix, is to make an option: "save the absolut size of the
toplevel".

And as an addition it would be nice to have a button that set's the
toplevel at the requested size:
  wm geometry . {}

Uwe

--
mailto:[EMAIL PROTECTED]
http://rcswww.urz.tu-dresden.de/~koloska/
--                                    --
right now the web page is in german only
but this will change as time goes by ;-)

_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user




_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user

Reply via email to