Due to focus related changes to gnome-panel for 2.10, a new API -
panel_applet_request_focus() was introduced [1].  My PyGTK applet (which
contains a gtk.Entry) needs to use this function or otherwise the Entry
cannot receive key presses and is hence useless.

[1]
http://mail.gnome.org/archives/gnome-announce-list/2005-January/msg00020.html

Is panel_applet_request_focus() bound?  I tried:

--------------------
python
>>> import gnomeapplet
>>> a=gnomeapplet.Applet()
>>> dir(a)
--------------------

but did not find any leads.  I also downloaded the gnome-python-extras
tarball and in it I did a

--------------------
grep -R equest_foc *
--------------------

which came up empty, but I am not sure if that's the right way to try to
find API - I'm not sure how the gnome-python[-extras] source works.  Is
the applet.defs file Lisp?  I'm confused (not that I've poked around too
deeply).


tia,
Nigel.

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to