|
2022-03-02
| ||
| 15:44 | • Closed ticket [871368723e]: Aqua : Emoji in the touchBar plus 5 other changes artifact: a75e921a5b user: nab | |
|
2020-12-16
| ||
| 14:16 | • Ticket [871368723e]: 4 changes artifact: 6ddfad79ba user: marc_culler | |
| 12:11 | • New ticket [871368723e]. artifact: 0c5fbe6740 user: nab | |
| Ticket UUID: | 871368723e68ad67f973ad18e7064d0e73aa94ca | |||
| Title: | Aqua : Emoji in the touchBar | |||
| Type: | RFE | Version: | ||
| Submitter: | nab | Created on: | 2020-12-16 12:11:13 | |
| Subsystem: | (unused) | Assigned To: | nobody | |
| Priority: | 5 Medium | Severity: | Minor | |
| Status: | Closed | Last Modified: | 2022-03-02 15:44:40 | |
| Resolution: | Rejected | Closed By: | nab | |
| Closed on: | 2022-03-02 15:44:40 | |||
| Description: |
Hi Marc, using latest mac_styles branch on macOS11.1 I'm currently working on an undo/redo mechanism for my app (which works great :)) and I've decided to publish them in an Edit menu (before that work I didn't have an Edit menu for my app...). So, in my new Edit menu, there's my undo/redo and (published by macOS) an Emoji menu and 'Start dictation' menu. I've tried them when editing ttk::entry and wooooow it's working great :) I can insert Emoji 👍🏽 and dict text with my voice 😍 so first, very thank you for the constant improving of Tk !! now my request, when inserting Emoji would it be possible to have them displayed in the touchBar? for example, in TextEdit, there's a little smiley in the touchBar and if I click on it, recently used Emoji + others appears in the touchBar. would it be also possible for Tk? best regards, nicolas | |||
| User Comments: |
marc_culler (claiming to be Marc Culler) added on 2020-12-16 14:16:00:
The menus for entering emojis are provided by the OS. To enable them Tk implements the NSTextInputClient protocol, which consists of various callback methods used when displaying the menus and entering text. It is possible that the menu in the touchBar is also provided by the OS but I don't see any reference to the touchBar in the Apple documentation for NSTextInputClient. If there is a callback that needs to be implemented to make OS generate the touchBar menu, then we could try to add that. But if Apple does not document it then I have no idea where to start. It is also possible that TextEdit includes its own special code to generate the touchBar menu only for itself. Who knows? | |||