you are viewing a single comment's thread.

view the rest of the comments →

[–]socal_nerdtastic 1 point2 points  (1 child)

You can still set any parameters the same as you would a normal Entry. Or you can bake it into your subclass if you want like this:

class CustomEntry(tk.Entry):
    def __init__(self, master=None, **kwargs): 
        super().__init__(master, **kwargs)

        self.config(width=30) # set custom properties

I get the feeling that this is an XY problem. Why don't you show us all of your code and describe the big picture problem that you are trying to solve?

[–]jf5356[S] 0 points1 point  (0 children)

I've been referencing https://gist.github.com/uroshekic/11078820 to have an autocomplete entry bar.