Set CAN_FOCUS to False for notebook widgets
This commit is contained in:
parent
3bb7d53235
commit
4c83feaf5d
|
@ -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