thanks
--
http://mail.python.org/mailman/listinfo/python-list
"faramarz yari" wrote:
> def do_unpack(f):
>f.pack_forget()
> ...
> b=Button(f3,text="hello",command=do_unpack(f3))
>
> it does not work & the interpreter does not claim any error.
it works perfectly fine, but it doesn't do what you want.
do_unpack(f3)
is a function call, so you're call
lots of thanks to the nice guys of python community,
i do it ,and it works just as i want,
but unfourtunatly a new problem arise.
the problem is :
when i use pack_forget , i just work,
but suppose we want to call it in func or method,
i choose to test it in a func:
def do_unpack(f):
f.pack_f
faramarz,
Most likely, you'll need to replace the 'forgotten' frame with another
one or other widget. You can immediately do *.pack() and it will
replace the frame (assumming you haven't already packed something else
there).
Harlin Seritt
--
http://mail.python.org/mailman/listinfo/python-list
"faramarz yari" <[EMAIL PROTECTED]> wrote:
> suppose we have a tk frame in witch there are lots of frame,
> and we want to hide one of them(frames)
> what should we do , and what will be the result in pack or grid goemetry?
use pack_forget() or grid_forget()
--
http://mail.python.org/mailm