Python Forum
[PyGame] Returning information from textbox?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] Returning information from textbox?
#5
Quote:
def textbox():                                  # creating the textbox
 ...
    while not done:
Your main loop is in your textbox function. It will never leave that function. Thus it will never return. Unless you are using multiple game loops? Then you have even more problems than you think. If so see here on why on #8.
Recommended Tutorials:
Reply


Messages In This Thread
Returning information from textbox? - by mzmingle - Nov-03-2018, 12:55 PM
RE: Returning information from textbox? - by metulburr - Nov-03-2018, 07:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Photo Textbox is being overdrawn G_rizzle 2 2,651 Apr-15-2021, 04:43 PM
Last Post: metulburr
  [Pygame] Problems with my textbox SheeppOSU 1 3,142 May-27-2019, 12:03 AM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020