Discussion:
[urwid] 2 examples
Samuel Teixeira Santos
2016-11-21 17:26:50 UTC
Permalink
Hi, guys, nice?

Could you know where I can found some example code teaching:

- how to use html_fragment? I see the code, but don't understand how to
use it...


- And how change a widget design? ( example: instead using < and > to
symbolize a button, I use a vertical bar | with different colors and some
animated color change when click)


Thanks in advanced.


Samuel
--
You received this message because you are subscribed to the Google Groups "Urwid Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urwid+***@excess.org.
To post to this group, send email to ***@excess.org.
For more options, visit https://groups.google.com/a/excess.org/d/optout.
Rodrigo Bistolfi
2016-11-22 14:09:31 UTC
Permalink
Hi Samuel,

I did this once, overriding the set_label() method in Button. Here is an
example:
https://github.com/rbistolfi/urwid-combobox/blob/master/urwid_combobox/combobox.py#L152
Post by Samuel Teixeira Santos
Hi, guys, nice?
- how to use html_fragment? I see the code, but don't understand how
to use it...
- And how change a widget design? ( example: instead using < and > to
symbolize a button, I use a vertical bar | with different colors and some
animated color change when click)
Thanks in advanced.
Samuel
--
You received this message because you are subscribed to the Google Groups
"Urwid Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/a/excess.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Urwid Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urwid+***@excess.org.
To post to this group, send email to ***@excess.org.
For more options, visit https://groups.google.com/a/excess.org/d/optout.
Loading...