Skip to content

Textbox does not show input #86

@edgargarcia1949

Description

@edgargarcia1949

About a year ago, I wrote a calendar program in Python using Pygame which shows a calendar for any month desired including holidays and special days for an attractive printout to hang on the refrigerator for my wife. It uses 2 pygame-widget buttons and 2 pygame-widget text boxes. Because Windows 10 is no longer supported and my hardware is not suitable for Windows 11, I decided to switch to Linux Mint and later to Manjaro which is also a Linux based distro.
In both new operating systems, I tried to run my Python calendar program and had the exact same problem. The text boxes accept input and do what I want them to do but the cursor and text entered do not appear.
This morning I found my year-old program and found the old pygame-widgets folder and copied it to my Python library and replaced the new pygame-widgets folder with the old one.
Problem was solved.
Apparently a change was made to the textbox.py file which has caused this problem.
I tried looking at the new textbox.py file and comparing it to the old one but these files are very big and are definitely different.
Please be aware of this problem.
I found a solution and am happy with the result.
Thank you.
Ed Garcia
Duson, Louisiana USA

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions