Hello,

I built a widget containing a GtkLayout with a GtkDrawingArea
in it. The widget class is derived from GTKLayout.
Now my problem is that I need to connect "key_press_events"
to this widget which doesn't seem to work as the widget
cannot receive focus.

Is there any way to implement this functionality by only
using Python/PyGTK?

The next problem is the other way round...
Can I tell widgets which receive focus and thus catch key
presses not to accept focus? GtkScale is the focus-taking
widget of which I want that it ignores key presses
(but acts on mouse clicks).

Please help.

Bye, Martin Grimme - http://www.pycage.de


_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to