Merge pull request #470 from marktimarev/issue#400-disable-tab-focusing
Set CAN_FOCUS to False for notebook widgets
This commit is contained in:
commit
27555de35f
|
@ -39,6 +39,8 @@ class Notebook(Container, Gtk.Notebook):
|
|||
self.connect('scroll-event', self.on_scroll_event)
|
||||
self.configure()
|
||||
|
||||
self.set_can_focus(False)
|
||||
|
||||
child = window.get_child()
|
||||
window.remove(child)
|
||||
window.add(self)
|
||||
|
|
Loading…
Reference in New Issue