Lines Matching refs:widget
7 the use of a particular widget or icon type, etc. I also hope that
24 The object is *not* necessarily a widget -- it can be any
30 Tk widget directly under the mouse is inspected. This is the target
31 widget (not to be confused with the target object, yet to be
32 determined). If there is no target widget, there is no dnd target
33 object. If there is a target widget, and it has an attribute
40 object. If dnd_accept() returns None, or if the target widget has no
41 dnd_accept attribute, the target widget's parent is considered as the
42 target widget, and the search for a target object is repeated from
44 root widget. If none of the target widgets can produce a target
49 was no old target widget). There are several cases ('source' is the
126 root = event.widget._root()
136 self.initial_widget = widget = event.widget
138 self.save_cursor = widget['cursor'] or ""
139 widget.bind(self.release_pattern, self.on_release)
140 widget.bind("<Motion>", self.on_motion)
141 widget['cursor'] = "hand2"
188 widget = self.initial_widget
194 widget['cursor'] = self.save_cursor
242 # where the pointer is relative to the label widget:
245 # where the widget is relative to the canvas:
259 # where the pointer is relative to the canvas widget: