As I understand it, there are three geometry managers: Grids, Pack and
Place. Only the first two are of interest.
> 
> Is it possible to mix them? I don't think so, but maybe I'm missing
> something. Generally, they seem to apply with respect to a Frame, so I
> would think only one geometry can be used in a Frame. However, if one is
> used for frameA and another for frameB, can they both be used with in a
> parent frame, which has its own geometry (grid or pack)?
> 
> Suppose I want a parent frame to have a title and below it a 2 column grid
> with say a Label and Entry. I put the latter in a frame combo in a frame,
> and attach it to the parent. Do I need to put the title/label in a frame
> and do the same? 

Grid and pack cannot be mixed within the same parent widget. This may or may
not be a frame. It could also be a canvas, or other such widgets. It is
possible to mix parent widgets which have different geometry managers. So
yes, your situation with having two frames with different geometry would
work. Just be sure never to mix the managers within the same parent widget.
Otherwise all creation comes to an end 8-O

-----
---------------------------------------------------
"I'd like to share a revelation that I've had during my time here. It came
to me when I tried to classify your species and I realized that you're not
actually mammals."
-- Agent Smith
-- 
View this message in context: 
http://www.nabble.com/Tkinter-Geometry-Management-and-Other-Basics-tp22724967p24291981.html
Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to