Set CAN_FOCUS to False for notebook widgets

This commit is contained in:
Mark Timarev 2021-07-22 17:07:57 +03:00
parent 3bb7d53235
commit 4c83feaf5d

View File

@ -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)