[Glade-users] focus_out_event
- From: ashats at hotmail.com (Arthur Shats)
- Subject: [Glade-users] focus_out_event
- Date: Mon, 11 Oct 2010 18:44:51 +0000
Is it possible to add a _focus_out_event() handler to a button which upon tabbing would .grab_focus() of
another button?
I tried, but tabbing would not work at all.
Here is what I have:
on_myNextButton_focus_out_event(widget, data, wtree):
btn = wtree.get_widget('myBackButton')
btn.grab_focus()
pass
When the focus in on myNextButton, and I press Tab, I would expect the focus to go myBackButton, but it
doesn't tab anywhere at all, although the _focus_out_event handler does get executed.
Any idea why doesn't it tab to the other button and how to fix it so it would?
Thanks much,
Arthur.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20101011/c5f8a0c0/attachment.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]