I tried also :
mouse_callbacks ={"Button1": lambda q: q.cmd_next_layout}
It didn't work either!
By the way , the following command it's working if execute it from the
terminal.
qtile-cmd -o cmd -f next_layout
I don't see anything wrong with my code, why it's not working?
On Friday, December 11, 2020 at 11:14:25 p.m. UTC-5 Joe Yabuki wrote:
> Hello guys
> I created the following textbox widget :
> widget.TextBox(text='text
> ',fontsize=16,padding=5,foreground='#00FF7F',mouse_callbacks
> ={'Button4':pl,'Button5':nl}),
>
> the 2 function are defined as follows:
> def pl(qtile):
> qtile.cmd_prev_layout
> def nl(qtile):
> qtile.cmd_next_layout
>
> I don't have errors, but nothing happens when I scroll up and down over
> the widget above!
> Someone has an idea?
> Thanks in advance
>
--
You received this message because you are subscribed to the Google Groups
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qtile-dev/4cd5c45f-7c60-4359-a0e1-e5aec0e09103n%40googlegroups.com.