Skip to main content

All Questions

Tagged with
0 votes
1 answer
112 views

Creating two instances of this class, creates weird behavior tkinter python

I have made a custom placeholder entry class that inherits from the ttk.Entry. The problem with that is, it only works with the instantiation once, if I make two instances of the same entry, it will ...
Delrius Euphoria's user avatar
1 vote
4 answers
4k views

Is it possible to create a variable as a placeholder for 'current' value of a class in python?

Let's say we have a class: NOTE: this is a dummy class only. class C(object): def __init__(self): self.a = -10 self.b = 5 self.c = 2 def modify(self, **kwargs): ...
Peter Varo's user avatar
  • 12.2k