Well that's probably the right answer. Thanks.

I'm probably overthinking this too as these things may not get inherited 
too much!

On Wednesday, 24 February 2021 at 18:06:34 UTC Tycho Andersen wrote:

> On Wed, Feb 24, 2021 at 03:10:59PM +0000, el Paraguayo wrote:
> > Ok. Can you expand on a better way to do it?
> > 
> > In this instance, the widget subclasses GenPollUrl as that provides the
> > functionality needed. GenPollUrl has lots of options to make it flexible
> > but that flexibility isn't needed here. Is your preference in situations
> > like this not to subclass GenPollUrl but copy its functions and hard code
> > the relevant options?
> > 
> > Is there a better way?
>
> Perhaps these internal things should be actual arguments to __init__()
> and not be passed by the defaults framework.
>
> Tycho
>

-- 
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/5b79424b-4c9c-4c0d-a5df-c4abce83404dn%40googlegroups.com.

Reply via email to