Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we set button tooltips? #127

Open
Botspot opened this issue Nov 27, 2020 · 4 comments
Open

Can we set button tooltips? #127

Botspot opened this issue Nov 27, 2020 · 4 comments

Comments

@Botspot
Copy link

Botspot commented Nov 27, 2020

I'd like to configure hover-text/tooltips for the buttons in xlunch.

Is there a way to do this?

@PMunch
Copy link
Collaborator

PMunch commented Nov 28, 2020

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..

@Botspot
Copy link
Author

Botspot commented Nov 28, 2020

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.

@PMunch
Copy link
Collaborator

PMunch commented Nov 29, 2020

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.

@axgkl
Copy link

axgkl commented Mar 29, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants