I'm not 100% certain on how the lazy object works but my guess is lazy.function calls this: https://github.com/qtile/qtile/blob/1898578681a6ee8262702f353acd13d7fa2f9a8a/libqtile/command_object.py#L200 but I can't see *how* it calls it!
On Wednesday, 2 December 2020 at 22:04:45 UTC pianocomposer321 wrote: > Anyone? > > On Saturday, November 28, 2020 at 9:49:54 AM UTC-6 pianocomposer321 wrote: > >> Hey qtile community! >> >> I recently opened an issue on github pointing out the severe problem when >> it comes to the documentation in qtile, and also asking about one specific >> aspect that wasn't in the docs. They closed the issue and told me to ask >> here. So that's what I'm doing. >> >> What in the world does lazy.function() do? I mean, I can tell that it >> takes a user-defined function and makes it accessible to thinks like Key(), >> and I know that the function passed as an argument takes one argument, >> normally named qtile. (I know this from looking at examples, not the docs. >> There's absolutely nothing about lazy.function() in the docs). So my >> question is this: what type of object is the qtile argument, and what are >> its properties? If you can't explain it all in a message, could you at >> least point me to the source file for that qtile object? >> >> 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/d6ecd6ae-dd5e-413d-8b9e-643b4916fb7dn%40googlegroups.com.
