PyDocs

Nav

Graphical user interfaces with Tk

Misc.selection_get

tkinter

method of Misc
  • Misc.selection_get(**kw)
Return the contents of the current X selection. The keyword argument selection names the selection and defaults to PRIMARY. The keyword argument type specifies the form in which the data is to be returned (the desired conversion target), an atom name such as 'STRING' or 'FILE_NAME'; it defaults to STRING, except on X11, where UTF8_STRING is tried first and STRING is used as a fallback. The displayof keyword argument names a widget that determines the display from which to retrieve the selection, and defaults to this widget.
0 Examples
No examples for tkinter/Misc.selection_get.
See Also
No see-alsos for tkinter/Misc.selection_get
0 Notes
No notes for Misc.selection_get