widget like listview
vivek kumar
gupt_vive at hotmail.com
Tue Apr 22 01:06:22 EDT 2003
hello david,
Thanks for this valuable information. sorry for replying late. but for
previous two days i was trying to use the bwidget and mclistbox modules.
More over as i am a newbie in the Python world, so i didn't know how to use
tcl directly in your python code. So i was trying to explore the subject.
but was unable to find any help/tutorial on web. So i read the code in the
files provided with the python distribution. However i was unable to use
these modules. After installing the bwidget module when i try to call it
like:
root.tk.call("package","require","BWidget")
then it says that no package name BWidget. The same problem occurrs with the
Python Wrapper provided with the distro for BWidgets. I have tried each and
everything (changing paths, installing ActiveTcl etc..) for using it but i
was unable to use it. I have also tried the NovaGrid.py but it also requires
Bwidgets.
Is there some help/tutorial available as how to embed/use tcl code in
python.
TIA,
VIvek Kumar
>From: "David LeBlanc" <whisper at oz.net>
>To: "vivek kumar" <gupt_vive at hotmail.com>,<python-list at python.org>
>Subject: RE: widget like listview
>Date: Mon, 21 Apr 2003 02:16:55 -0700
>
> > 1. Once you have fixed the widths of the columns the user can not
> > chnage the
> > widths of the columns as per his/her preference.
>
>You might find the bwidgets package more interesting than Pmw. I think it's
>mc listbox is user changabe. See http://www.effbot.org/downloads/
>
>If not, the TkGrid control is. One python wrapping of it of it can be found
>in "NovaGrid" (as can a different implementation of bwidgets). See
>http://sourceforge.net/projects/novagrid
>
> > 2. What about linux. As this module uses the win32all extensions.
> > the code
> > no more remains portable. Currently whatever i have coded i have coded
> > keeping in mind that i have to run the application on both windows and
> > linux.
>
>Pmw doesn't use win32all. It's pure python, as is bwidgets (and tkgrid can
>be built on/for linux).
>
><snip>
>
> > THX,
> > Vivek Kumar
> >
>
>hth,
>
>Dave LeBlanc
>Seattle, WA USA
>
_________________________________________________________________
MSN Instyle. Keeps you in sync. http://server1.msn.co.in/instyle/index.asp
Always!
More information about the Python-list
mailing list