Bwidget for tkinter

A

anil.pundoor

hi can i use the bwidgets in tkinter? if so from where can i download
the bwidget for tk inter. and i want to know the installation procedure
 
A

anil.pundoor

thanks u man. i am new to tk inter. i tried installing the lib. but
while running the demo script am getting following error.

python sam.py
Traceback (most recent call last):
File "sam.py", line 1, in ?
import bwidget, Tkinter, sys, os
File "/usr/local/lib/python2.2/site-packages/bwidget/__init__.py",
line 149, in ?
class _Frame:
File "/usr/local/lib/python2.2/site-packages/bwidget/__init__.py",
line 152, in _Frame
getframe = makeswidget(getframe, Tkinter.Frame)
File "/usr/local/lib/python2.2/site-packages/bwidget/__init__.py",
line 74, in makeswidget
return _wrap(w, f)
File "/usr/local/lib/python2.2/site-packages/bwidget/__init__.py",
line 59, in _wrap
oldfunc.func_name, wrapper.func_defaults, wrapper.func_closure)
TypeError: function() takes at most 4 arguments (5 given)


can u plz help me
 
F

Fredrik Lundh

thanks u man. i am new to tk inter. i tried installing the lib. but
while running the demo script am getting following error.

python sam.py
Traceback (most recent call last):
File "sam.py", line 1, in ?
import bwidget, Tkinter, sys, os
File "/usr/local/lib/python2.2/site-packages/bwidget/__init__.py",
line 149, in ?
class _Frame:
File "/usr/local/lib/python2.2/site-packages/bwidget/__init__.py",
line 152, in _Frame
getframe = makeswidget(getframe, Tkinter.Frame)
File "/usr/local/lib/python2.2/site-packages/bwidget/__init__.py",
line 74, in makeswidget
return _wrap(w, f)
File "/usr/local/lib/python2.2/site-packages/bwidget/__init__.py",
line 59, in _wrap
oldfunc.func_name, wrapper.func_defaults, wrapper.func_closure)
TypeError: function() takes at most 4 arguments (5 given)

it's likely that it simply doesn't support Python 2.2 (which was released
in 2001; we've had two major releases since then).

</F>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,264
Messages
2,571,323
Members
48,007
Latest member
Elvis60357

Latest Threads

Top