| Ticket UUID: | 1954968 | |||
| Title: | [clipboard] takes selection ownership but has no lost event | |||
| Type: | RFE | Version: | None | |
| Submitter: | venksi | Created on: | 2008-04-30 17:42:09 | |
| Subsystem: | 52. [clipboard] | Assigned To: | hobbs | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2026-11-13 16:24:57 | |
| Resolution: | Invalid | Closed By: | serhiy.storchaka | |
| Closed on: | 2026-11-13 10:36:56 | |||
| Description: |
Using an example:
% proc lostc {} {puts "Lost Clipboard"}
% selection own -selection CLIPBOARD -command lostc .
% clipboard append "."
Lost Clipboard
At this point the procedure lost is called. But
really the app still owns it, but now there's no
way to trigger on the lost event.
I'd like to propose a -command option to the clipboard
command, which is identical to what selection -command does. The first time clipboard takes ownership if
the -command option is present, it is applied.
Attached patch is a start.
| |||
| User Comments: |
serhiy.storchaka added on 2026-11-13 10:36:56:
The submitter withdrew this request. Closing. venksi added on 2008-05-01 03:00:49: Logged In: YES user_id=279872 Originator: YES The patch is bogus as it changes a stub'ed definition. This is not the right thing to do anyway - marking this as invalid. venksi added on 2008-05-01 00:42:13: File Added - 276401: tkClipboard.c.diffs_for_clipboard_command | |||
Attachments:
- tkClipboard.c.diffs_for_clipboard_command [download] added by venksi on 2008-05-01 00:42:10. [details]
