I've never used the InteractiveCommandClient but I would think you need to
create an instance of it first before trying to update the widget i.e.

from libqtile.command_client import InteractiveCommandClient
c=InteractiveCommandClient()
c.widget['textbox'].update('xyz')

Note the "()" at the end of the second line.

If it doesn't work, what error messages do you get?


On Sat, 17 Oct 2020 at 14:05, rickroller <[email protected]> wrote:

>
> I wanted to update the TextBox widget every 5 minutes through the output
> of a script. I tried
>
> from libqtile.command_client import InteractiveCommandClient
> c=InteractiveCommandClient
> c.widget['textbox'].update('xyz')
>
> For people without more than a basic knowledge of python, its very tough
> to understand the basic skeleton of how this works. I know, its on me. But
> can anyone please help?
>
>
> --
> 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/2a7f2150-462e-4673-9d99-f09ce0c0888bn%40googlegroups.com
> <https://groups.google.com/d/msgid/qtile-dev/2a7f2150-462e-4673-9d99-f09ce0c0888bn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CADPQLhBFzA%3DySxQUC3yJRTrJ1-%2BAsPo31BRom-uXOSRwy4ziDg%40mail.gmail.com.

Reply via email to