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

calendar: show only when mouse clicks #320

Closed
whooper2 opened this issue Feb 21, 2017 · 2 comments
Closed

calendar: show only when mouse clicks #320

whooper2 opened this issue Feb 21, 2017 · 2 comments

Comments

@whooper2
Copy link

Is it possible to change the calendar widget behaviour to show only when the mouse clicks on top of it? Instead of just when it's hovering over.
If yes, how would this be achieved?

lcpz pushed a commit that referenced this issue Feb 22, 2017
@lcpz lcpz changed the title change calendar widget behaviour to show only when mouse clicks calendar: show only when mouse clicks Feb 22, 2017
@lcpz
Copy link
Owner

lcpz commented Feb 22, 2017

Fetch latest commit and disconnect mouse::enter signal from your widget like this:

yourwidget:disconnect_signal("mouse::enter", lain.widget.calendar.hover_on)

@lcpz lcpz closed this as completed Feb 22, 2017
@whooper2
Copy link
Author

Thanks!

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

2 participants