mirror of
https://github.com/norohind/EDMC_SpanshRouter.git
synced 2025-04-19 10:37:36 +03:00
Add placeholder color workaround
This commit is contained in:
parent
a671bdcb66
commit
93ae3f2290
@ -15,6 +15,9 @@ class PlaceHolder():
|
||||
self['fg'] = self.placeholder_color
|
||||
self.insert(0, self.placeholder)
|
||||
|
||||
def force_placeholder_color(self):
|
||||
self['fg'] = self.placeholder_color
|
||||
|
||||
def foc_in(self, *args):
|
||||
if self['fg'] == self.placeholder_color or self.get() == self.placeholder:
|
||||
self.delete('0', 'end')
|
||||
|
Loading…
x
Reference in New Issue
Block a user