xlunch
xlunch copied to clipboard
Can we set button tooltips?
I'd like to configure hover-text/tooltips for the buttons in xlunch.
Is there a way to do this?
Hmm, unfortunately not. Most tooltips are implemented as a separate X11 window I think, and would be a bit annoying to implement. But certainly possible..
Are tooltips mainly a GTK thing?
Probably 99% of the applications I've seen all use the exact same tooltip style, so there's got to be some sort of convenient, common library they are all using.
Well it exists in most GUI toolkits, Qt and Gtk are probably showing these in a very similar manner. But xlunch isn't using a GUI toolkit, it uses a simple drawing library so to have this we would need to implement it ourselves.
Just outputting the full matching line, e.g. from /etc/entries.dsv
at the bottom or top of the window would be a big benefit.
Or, trigger notify-send <name> <matching line>
on selection change.