We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, I want to add to my sketch (processing python sketch) handling of text area from library G4P, but it doesn't work. Here's my code:
add_library('G4P') text_area = None def setup(): size(600, 600) global text_area text_area = GTextArea(this, 80, 20, 290, 300, G4P.SCROLLBARS_BOTH | G4P.SCROLLBARS_AUTOHIDE) text_area.setPromptText("Please enter some text"); def draw(): background(100) text_area.draw()