def focusInEvent(self, event):
     """ Assign focus to the active editor, if possible.
     """
     active_editor = self.editor_area.active_editor
     if active_editor:
         set_focus(active_editor.control)
Exemplo n.º 2
0
 def set_focus(self):
     """ Gives focus to the control that represents the pane.
     """
     if self.control is not None:
         set_focus(self.control.widget())
Exemplo n.º 3
0
 def set_focus(self):
     """ Gives focus to the control that represents the pane.
     """
     if self.control is not None:
         set_focus(self.control)
Exemplo n.º 4
0
 def focusInEvent(self, event):
     """ Assign focus to the active editor, if possible.
     """
     active_editor = self.editor_area.active_editor
     if active_editor:
         set_focus(active_editor.control)