Gets the clipboard current value. :return: The current value of the clipboard :rtype: (str)
()
| 20305 | |
| 20306 | |
| 20307 | def clipboard_get(): |
| 20308 | """ |
| 20309 | Gets the clipboard current value. |
| 20310 | |
| 20311 | :return: The current value of the clipboard |
| 20312 | :rtype: (str) |
| 20313 | """ |
| 20314 | root = _get_hidden_master_root() |
| 20315 | |
| 20316 | try: |
| 20317 | value = root.clipboard_get() |
| 20318 | except: |
| 20319 | value = '' |
| 20320 | root.update() |
| 20321 | return value |
| 20322 | |
| 20323 | |
| 20324 | # MM"""""""`YM |
nothing calls this directly
no test coverage detected