tkinter help
hi eveyrbody , i have started working on python tkinter, While I was working on one of the tkinter classes..named listbox widget. I had a slight problem. Now let me tell you that i was able to create a simple listbox which had 6 options which one can select, but Now what I want is that from the available menu, if I select an option it should give me another menu associated with that option. Its like digging up that option to do advance search. Please I need help as I am making my project Thanks to eveyrbody who will take time to read this and solve it . -- http://mail.python.org/mailman/listinfo/python-list
rollover effect
hi I am trying to get a roll over effect on my canvas.(this is a virtual program which will eventually fit into my final program) Exactly i have a text on my screen and I want to have a brief discription across it whenever the user takes the mouse on it n hence giving information about the type of text(event). Another thign i am looking for is to have a right click on that very text as well If somebody can put some light on it, then it would be really great for my project. Thank you in advance. -- http://mail.python.org/mailman/listinfo/python-list
Re: rollover effect
Simon Forman wrote: > groves wrote: > > hi > > I am trying to get a roll over effect on my canvas.(this is a virtual > > program which will eventually fit into my final program) > > > > Exactly i have a text on my screen and I want to have a brief > > discription across it whenever the user takes the mouse on it n hence > > giving information about the type of text(event). > > > > Another thign i am looking for is to have a right click on that very > > text as well > > If somebody can put some light on it, then it would be really great for > > my project. > > Thank you in advance. > > What GUI system are you using? > > Peace, > ~Simon I am using python IDLE -- http://mail.python.org/mailman/listinfo/python-list
Re: rollover effect
Sorry, as I am new to python so couldn't understand what yu were asking. Now the problem is that i annot use pmw in my project..is thre anyother alternative by which I can have a rollover mouse effect on the canvas. thanks -- http://mail.python.org/mailman/listinfo/python-list
Re: rollover effect
Simon Forman wrote: > groves wrote: > > Sorry, as I am new to python so couldn't understand what yu were > > asking. > > Now the problem is that i annot use pmw in my project..is thre anyother > > alternative by which I can have a rollover mouse effect on the canvas. > > thanks > > Not a problem. Although "IDE" and "GUI" are terms that are not > specific to python. But you still haven't answered my question? Are > you using Tkinter? wxWidgets? Gtk bindings? > > Assuming that you're using Tkinter, what prevents you from using Pmw? > > Peace, > ~Simon Yes I am using Tkinter... the thing is I I m new to Tkhave not used PMW bfore..Nd inter... So just though If there is any alternative,,,as i don't have much time -- http://mail.python.org/mailman/listinfo/python-list
Re: rollover effect
Simon Forman wrote: > groves wrote: > > Sorry, as I am new to python so couldn't understand what yu were > > asking. > > Now the problem is that i annot use pmw in my project..is thre anyother > > alternative by which I can have a rollover mouse effect on the canvas. > > thanks > > Not a problem. Although "IDE" and "GUI" are terms that are not > specific to python. But you still haven't answered my question? Are > you using Tkinter? wxWidgets? Gtk bindings? > > Assuming that you're using Tkinter, what prevents you from using Pmw? > > Peace, > ~Simon Yes I am using Tkinter... the thing is I I m new to Tkhave not used PMW bfore..Nd inter... So just though If there is any alternative,,,as i don't have much time -- http://mail.python.org/mailman/listinfo/python-list
Re: rollover effect
SuperHik wrote: > groves wrote: > > Simon Forman wrote: > >> groves wrote: > >>> Sorry, as I am new to python so couldn't understand what yu were > >>> asking. > >>> Now the problem is that i annot use pmw in my project..is thre anyother > >>> alternative by which I can have a rollover mouse effect on the canvas. > >>> thanks > >> Not a problem. Although "IDE" and "GUI" are terms that are not > >> specific to python. But you still haven't answered my question? Are > >> you using Tkinter? wxWidgets? Gtk bindings? > >> > >> Assuming that you're using Tkinter, what prevents you from using Pmw? > >> > >> Peace, > >> ~Simon > > > > Yes I am using Tkinter... > > the thing is I I m new to Tkhave not used PMW bfore..Nd inter... > > So just though If there is any alternative,,,as i don't have much time > > > PMW uses Tkinter too, so there is nothing "new", > it just has more "complicated" widgets already > written for you using Tkinter... Thanks a lot Ill have a look -- http://mail.python.org/mailman/listinfo/python-list
Re: rollover effect
Thanks a lot Ill have a look and try solving my problem -- http://mail.python.org/mailman/listinfo/python-list
Re: rollover effect
Thanks a lot Ill have a look and try solving my problem -- http://mail.python.org/mailman/listinfo/python-list
import function from user defined modules
Can anybody give me an example of how to import a function of module X in module y. And please if yu can use classes(Object oriented approach) would be great. The problem is that I have created a text on canvas, and now I want that whenever a user right clicks on it, the option COMMAND should invoke a function defined in some other module say Y. thanks a lot to all who will look into problem, any help would be appreciated. -- http://mail.python.org/mailman/listinfo/python-list
import function from user defined modules
Can anybody give me an example of how to import a function of module X in module y. And please if yu can use classes(Object oriented approach) would be great. The problem is that I have created a text on canvas, and now I want that whenever a user right clicks on it, the option COMMAND should invoke a function defined in some other module say Y. thanks a lot to all who will look into problem, any help would be appreciated. -- http://mail.python.org/mailman/listinfo/python-list
Backup Mailman?
Does anyone out there know of a utility that will allow you to backup Mailman (including the subscribers and all messages)? TIA -- Karl Groves www.karlcore.com -- http://mail.python.org/mailman/listinfo/python-list
"unknown encoding: string-escape" in frozen Python
I'm using FreezePython on a Python program that uses wxPython and subprocess. The result almost works, but it always hits this bug: File "velauncher.py", line 847, in Launch File "python/velLaunchCode.py", line 61, in __init__ File "python/velLaunchCode.py", line 143, in Unix File "python/subprocess.py", line 599, in __init__ File "python/subprocess.py", line 1031, in _execute_child File "/usr/lib/python2.3/pickle.py", line 1394, in loads return Unpickler(file).load() File "/usr/lib/python2.3/pickle.py", line 872, in load dispatch[key](self) File "/usr/lib/python2.3/pickle.py", line 985, in load_string self.append(rep.decode("string-escape")) LookupError: unknown encoding: string-escape I tried adding --include-modules=encodings to the arguments, but I'm still getting the string-escape error. How can I include the encoding in the freeze? I'm using Python2.3 and the downloadable version of subprocess.py for Python2.3 on Redhat. -Jeff Groves -- http://mail.python.org/mailman/listinfo/python-list
Activating Batch Files from Python
I'm writing a launcher that should do the following: 1. Activate a .bat file to set environmental variables. 2. Start 3 programs, using said environmental variables as arguments. However, I can't get the environmental variables to stick because all of Pythons' system start/open functions split off into their own little subshells, therefore the .bat file doesn't affect the main shell. How can I use the .bat file to set environmental vars from Python? -- http://mail.python.org/mailman/listinfo/python-list
Re: Activating Batch Files from Python
>How about sourcing it from a shell, then using that same shell instance >to run the programs? How would I do that? As I've said, I haven't found a Python command that lets you send multiple commands to the same shell yet. If I could, my problem would be solved. -- http://mail.python.org/mailman/listinfo/python-list