Re: Listbox fill=BOTH expand=YES (Tkinter)

2005-03-17 Thread Raseliarison nirinA
"Christos TZOTZIOY Georgiou" wrote: > > the 'in' operator searches for existance of *elements* in a set, not > of *subsets*. BTW, only a frozenset can be included in a set. ah! yes. that's clear now. thanks! after all: >>> for element in aset: print element, why did i think that 'in'

Re: Listbox fill=BOTH expand=YES (Tkinter)

2005-03-17 Thread TZOTZIOY
On Thu, 17 Mar 2005 00:54:46 +0300, rumours say that "Raseliarison nirinA" <[EMAIL PROTECTED]> might have written: >i'll recite 42 times precedence rules before going to bed. >but now i'm a bit confused by the -in- operator. as: > >>>> set(['TRUE','YES']).issubset(set(dir(Tkconstants))) >T

Re: Listbox fill=BOTH expand=YES (Tkinter)

2005-03-16 Thread Raseliarison nirinA
"Christos TZOTZIOY Georgiou" wrote: > On Tue, 15 Mar 2005 16:48:17 +0300, > rumours say that [i] might have written: > > >yes, indeed. > import Tkconstants > 'True' and 'YES' in dir(Tkconstants) > >True > > > >thanks Harlin, > > I hope you also know that > > .>> 'inexistent keyword' and '

Re: Listbox fill=BOTH expand=YES (Tkinter)

2005-03-16 Thread TZOTZIOY
On Tue, 15 Mar 2005 16:48:17 +0300, rumours say that "Raseliarison nirinA" <[EMAIL PROTECTED]> might have written: >yes, indeed. import Tkconstants 'True' and 'YES' in dir(Tkconstants) >True > >thanks Harlin, I hope you also know that .>> 'inexistent keyword' and 'YES' in dir(Tkconsta

Re: Listbox fill=BOTH expand=YES (Tkinter)

2005-03-15 Thread Raseliarison nirinA
"Harlin Seritt" wrote: > either YES, True, or 1 should work. > yes, indeed. >>> import Tkconstants >>> 'True' and 'YES' in dir(Tkconstants) True thanks Harlin, -- nirinA -- http://mail.python.org/mailman/listinfo/python-list

Re: Listbox fill=BOTH expand=YES (Tkinter)

2005-03-14 Thread Harlin Seritt
either YES, True, or 1 should work. -- http://mail.python.org/mailman/listinfo/python-list

Re: Listbox fill=BOTH expand=YES (Tkinter)

2005-03-14 Thread Harlin Seritt
That was it Martin. I forgot to expand the parent. Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: Listbox fill=BOTH expand=YES (Tkinter)

2005-03-14 Thread Raseliarison nirinA
"Martin Franklin" wrote: > Harlin Seritt wrote: > > I am trying the following: > > > > Listbox(parent).pack(fill=BOTH, expand=YES) > > > > I notice that the listbox will fill on the X axis but will not on > > the Y axis unlike other widgets. > > Is there any way to force this? > > > > thanks, > >

Re: Listbox fill=BOTH expand=YES (Tkinter)

2005-03-14 Thread Martin Franklin
Harlin Seritt wrote: I am trying the following: Listbox(parent).pack(fill=BOTH, expand=YES) I notice that the listbox will fill on the X axis but will not on the Y axis unlike other widgets. Is there any way to force this? thanks, Harlin Harlin, It should expand (and fill ) in both directions have