You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bp.input_text('string', str, 256) should be bp.input_text('string', s, 256)
import bimpy as bp
ctx = bp.Context()
ctx.init(600, 600, "Hello")
s = bp.String()
f = bp.Float()
while not ctx.should_close():
with ctx:
bp.text("Hello, world!")
if bp.button("OK"):
print(s.value)
bp.input_text('string', str, 256)
bp.slider_float("float", f, 0, 1)
The text was updated successfully, but these errors were encountered:
danr
pushed a commit
to danr/bimpy
that referenced
this issue
Jan 4, 2021
Nice project!
bp.input_text('string', str, 256) should be bp.input_text('string', s, 256)
The text was updated successfully, but these errors were encountered: