[Tkinter-discuss] Framed
Cam
camfarnell at cogeco.ca
Mon Apr 3 18:43:31 CEST 2006
Ok, got it now although now I feel a bit stupid. On one level I knew
perfectly well that all those Pmw things aren't what they claim to be,
ie ScrolledListBox doesn't derive from Listbox, ScrolledText doesn't
derive from Text and ... well for some reason I was thinking that
ScrolledFrame actually derived from Frame rather than containing a Frame
component.
Thanks for the help.
Cam
Mohammad Tayseer wrote:
> Martin's code didn't work, at least on my machine (Win XP).
> I tried a little change
>
> self.Frame2 = Pmw.ScrolledFrame(self)
>
> will remain as it is, but change the button instantiation to
>
> self.Button2 = Button(self.Frame2.interior())
>
> this can be found in Pmw docs. See "Extending Pmw megawidgets" at
> http://pmw.sourceforge.net/doc/howtouse.html
>
> /Martin Franklin <mfranklin1 at gatwick.westerngeco.slb.com>/ wrote:
>
>> self.Frame2 = Pmw.ScrolledFrame(self).interior()
>
More information about the Tkinter-discuss
mailing list