[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sticky tooltips
From: |
Arthur Miller |
Subject: |
Sticky tooltips |
Date: |
Mon, 28 Sep 2020 22:04:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
poor-man-tooltip.el
Description: test
Somebody suggested for sticky tooltips the other day; Mr. Eli Z.
explained about tooltips, when compiled in Gtk are controlled by Gtk.
So I wonder - do they need to be?
A tooltip is just a small pop-up window showing some text (usually).
Emacs is already very good at showing text in all kind of windows so
question is, is Gtk really needed to render tooltips? Even if Emacs
is compiled with Gtk? Is there any special advantage over an "Emacs
frame"?
I tested idea with a sticky tooltip based on just ordinary buffer
displayed in a child frame. I haven't done any text
styling/propertizing, faces, colors etc. The frame is displayed at mouse
cursor (just for test) and it starts a timer which deletes frame after
an (customizable) interval. There is a small checkbox to make it
"sticky" (it just removed the expiration timer); toggling it on will
start timer again.
It is just a sketch of the idea; i just wonder if such similar tooltip
implementatation (all Emacs) would be interesting. It seems to be quite
trivial and if it is done all in Elisp then I guess it would be same on
all gui platforms?
- Sticky tooltips,
Arthur Miller <=
- Re: Sticky tooltips, Jean Louis, 2020/09/28
- Re: Sticky tooltips, Eli Zaretskii, 2020/09/28
- Re: Sticky tooltips, Arthur Miller, 2020/09/28
- Re: Sticky tooltips, Eli Zaretskii, 2020/09/29
- Re: Sticky tooltips, Arthur Miller, 2020/09/29
- Re: Sticky tooltips, Eli Zaretskii, 2020/09/30
- Re: Sticky tooltips, Arthur Miller, 2020/09/30
- Sv: Sticky tooltips, arthur miller, 2020/09/30