Hi Vasilis,
Perhaps by removing characters that are outside of that range?
The error message gives you a range, from 0 to 65535. So this line might do.
s = ''.join(c for c in s if 0 < ord(c) < 65535)
Cheers,
Nam
On Mon, Jan 4, 2021 at 1:25 AM Vasilis Vlachoudis <
vasilis.vlachou...@cern.ch>
uot;.f_$current" -expand true -fill both
after $delay {flip}
}
pack ".f_$current" -expand true -fill both
after $delay {flip}
On Wed, Mar 28, 2018 at 2:42 AM, Michael Lange <klappn...@web.de> wrote:
> Hi,
>
> On Wed, 28 Mar 2018 01:18:50 +
> Nam Nguyen &l
I'm running i3-wm on Debian and this code tends to flicks more when I have
my mouse over the buttons.
Nam
On Tue, Mar 27, 2018 at 1:17 PM, Bryan Oakley <bryan.oak...@gmail.com>
wrote:
> I don't see any flicker when I run that.
>
> On Tue, Mar 27, 2018 at 2:57 PM, Nam Nguyen via
=True, fill=tk.BOTH)
root.after(1000, flip)
root.after(1000, flip)
root.mainloop()
Nam
On Tue, Mar 27, 2018 at 8:29 AM, Nam Nguyen <namngu...@google.com> wrote:
> Hi list,
>
> I have several ttk.Frames belonging to the same parent (master, but I try
> not to use that word
Hi list,
I have several ttk.Frames belonging to the same parent (master, but I try
not to use that word) that are swapped in and out depending on some
external event.
What I observe so far is there is some flickering every time a frame is
swapped out and another swapped in. I have tried using
On this note, is setting/getting variables (StringVar, IntVar etc)
considered GUI action? Why, or why not?
Thanks!
Nam
On Mon, Mar 26, 2018 at 2:22 PM, Michael Lange <klappn...@web.de> wrote:
> Hi,
>
> On Mon, 26 Mar 2018 12:54:20 -0700
> Nam Nguyen via Tkinter-discus
This is where my confusion comes from, actually ;). Python is single
threaded (from the OS point of view). When I create the TCL interpreter, it
is also created in the same thread that runs the Python interpreter. So
regardless of how many Python threads (threading module), they all should
belong
Hi,
The adage often goes something like this:
Do all GUI actions in a GUI thread (usually main thread), do I/O in
different threads.
While it is a good wisdom to apply blanketly, I'm curious about bad outcome
from not following that advice. Other than the obvious blocking nature of
the event
Hi list,
Is there any way to inherit common options from parent widgets?
Tk Themed widgets allow me to define a hierarchy of styles on different
types of widgets. For example, I can have TButton, or Derived.TButton.
What I'm asking is if I have a frame with red background color, I would
love
Hi,
I'm looking for a fixed ratio 2-pane geometry manager.
I tried PanedWindow but it does not have any option for me to specify the
ratio of the children.
What I'm looking for is a geometry manager/container that splits its space
into two for the children. The children can grow only in their
10 matches
Mail list logo