Fabian,
I have had a go at binding the "z" key to the down cursor key. I can
block the Z key press and assign the "down" cursor key press and print
out the "down" key press but I can't redirect the signal back to the
widget. I have enclosed the code below, maybe someone else on the list
can fini
Sandro,
That's exactly what I need.
Thanks,
John.
> def callback3(self,data,widget):
>
> input = data.get_text()
> print input
> data.set_text("test")
If you don't return True, default callback will be called that insert
the 'a'.
I have something like t
Hi,
I'm using Python 2.4, pygtk and Glade2.
I have a few text entries. I am trying to put validation on the text
entry boxes. I am trying to catch the key_press_event, check the key
that has been pressed and either allow it or put back the old text. The
code is below with the output after it
Good evening all.
I am writing a program using python 2.4, glade 2 and
pygtk. It takes input from the user
using textentry boxes. The input
should be a number. When the user
keys the data in, it automatically left justifies. The function below, takes the input for
four boxes and
Hi,
I have set up a GUI which has amongst other widgets two
combo boxes. I am using:
PythonCard version: 0.8.1
wxPython version: 2.6.1.0
Python version: 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)]
Platform: win32
Glade 2
I started by setting up comboboxen