barcode scanner - Set focus on entry that is not visible in pyGTK -


i want set focus on entry not visible in pygtk barcode scanner.

if set entry visible false error when setting focus on it.

    /home/samuel/visitors-book/visitors_book/__init__.py:60: gtkwarning: ia__gtk_widget_event: assertion `widget_realized_for_event (widget, event)' failed   gtk.main() 

thanks sam

you without gtkentry , capture keyboard events directly.

but bad have entry visible? barcode terminals i've seen confirm read.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -