On 12/23/06, Kevin Walzer <[EMAIL PROTECTED]> wrote:
I'm trying to set the active item in a Tkinter listbox to my
application's currently-defined default font.
Here's how I get the fonts loaded into the listbox:
self.fonts=list(tkFont.families())
self.fonts.sort()
for item in self.font
"Kevin Walzer" <[EMAIL PROTECTED]> wrote:
> I'm trying to set the active item in a Tkinter listbox to my
> application's currently-defined default font.
not sure if you can mix fonts in a listbox - the font option
when you create the listbox instance seems to apply globally
to all the lines in
James Stroud wrote:
> Kevin Walzer wrote:
>
>> I'm trying to set the active item in a Tkinter listbox to my
>> application's currently-defined default font.
>>
>> Here's how I get the fonts loaded into the listbox:
>>
>> self.fonts=list(tkFont.families())
>> self.fonts.sort()
>>
>> for item i
Kevin Walzer wrote:
> I'm trying to set the active item in a Tkinter listbox to my
> application's currently-defined default font.
>
> Here's how I get the fonts loaded into the listbox:
>
> self.fonts=list(tkFont.families())
> self.fonts.sort()
>
> for item in self.fonts:
> sel
I'm trying to set the active item in a Tkinter listbox to my
application's currently-defined default font.
Here's how I get the fonts loaded into the listbox:
self.fonts=list(tkFont.families())
self.fonts.sort()
for item in self.fonts:
self.fontlist.insert(END, item) #self