Question on Pmw Balloon Binding

Martin Franklin mfranklin1 at gatwick.westerngeco.slb.com
Tue May 21 06:14:04 EDT 2002


On Tuesday 21 May 2002 8:51 am, you wrote:
> Hi all,
>
>   I want to create a balloon help for a button. So I have the following
> code:
>
> from Tkinter import *
> import Pmw
> root = Tk()
> Pmw.initialise(root)
> frame = Frame(root).pack()
> button = Button(frame, text="Button").pack()

button refers to the return code from the pack() method of the Button widget
try this:-


button = Button(frame, text="Button")
button.pack()

Cheers
Martin





More information about the Python-list mailing list