Searched refs:anchor_widget (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Lib/idlelib/ |
D | tooltip.py | 13 def __init__(self, anchor_widget): argument 20 self.anchor_widget = anchor_widget 30 self.tipwindow = tw = Toplevel(self.anchor_widget) 50 root_x = self.anchor_widget.winfo_rootx() + x 51 root_y = self.anchor_widget.winfo_rooty() + y 63 return 20, self.anchor_widget.winfo_height() + 1 85 def __init__(self, anchor_widget, hover_delay=1000): argument 95 super(OnHoverTooltipBase, self).__init__(anchor_widget) 99 self._id1 = self.anchor_widget.bind("<Enter>", self._show_event) 100 self._id2 = self.anchor_widget.bind("<Leave>", self._hide_event) [all …]
|
D | calltip_w.py | 37 curline = int(self.anchor_widget.index("insert").split('.')[0]) 42 box = self.anchor_widget.bbox("%d.%d" % anchor_index) 44 box = list(self.anchor_widget.bbox("insert")) 52 curline = int(self.anchor_widget.index("insert").split('.')[0]) 56 self.anchor_widget.see("insert") 72 self.anchor_widget.mark_set(MARK_RIGHT, parenright) 74 int, self.anchor_widget.index(parenleft).split(".")) 85 font=self.anchor_widget['font']) 98 curline, curcol = map(int, self.anchor_widget.index("insert").split('.')) 101 self.anchor_widget.compare("insert", ">", MARK_RIGHT): [all …]
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_calltip_w.py | 26 self.assertEqual(self.calltip.anchor_widget, self.text)
|