diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-03-01 16:14:36 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-03-02 03:46:36 +0300 |
commit | 2e601e3c6c27de6625c9b7d5d32177141e25acf6 (patch) | |
tree | 9e4739597b9b22d86c00134a2f377ec941a78827 /TODO | |
parent | 649ee6d81f652f907f4bd5b0649775720b352b6d (diff) | |
download | sciteco-2e601e3c6c27de6625c9b7d5d32177141e25acf6.tar.gz |
GTK: set the mouse cursor on the Scintilla view to signal business and on the popup entries
* By default, use the "text" cursor - this is the default Scintilla cursor, but
inhibited by the GtkEventBox I used to catch all input events.
* When processing input events, the cursor is changed to "wait".
This is done with a small delay in order to avoid flickering during normal typing.
The cursor is only changed after 100ms of activity, i.e. only when executing long loops
or external programs.
* We use the raw GSource API since it's tricky to work with source ids if the
source could be removed in the meantime.
* The popup entries' cursor is also changed to "pointer" (hand) to give a hint that
it can be clicked.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -345,9 +345,7 @@ Features: Perhaps blinking or invisible? The problem is, this won't work so easily once we use a Scintilla minibuffer everywhere. - Gtk could at the very least use the hourglass cursor. - * Gtk: Change the cursor when hovering over popup entries. - The text area should have the "I" beam unless we're busy. + Gtk already sets the "wait" cursor when busy. * Command to free Q-Register (remove from table). e.g. FQ (free Q). :FQ could free by QRegister prefix name for the common use case of Q-Register subtables and lists. |