My code looks like this:
def gui(): # the function to draw the screen
BGL.glClearColor(.5,.5,.5,1)
BGL.glClear(BGL.GL_COLOR_BUFFER_BIT)
BGL.glColor3f(1,1,1)
Draw.PushButton(“Button”, 1, 10, 10, 60, 30)
Draw.Number(“Number”, 2, 10, 50, 100, 30, 8, 4, 32)
blender’s documentation lists the number button’s parameters as:
Number(name, event, x, y, width, height, initial, min, max, tooltip=None, callback=None, clickstep=None, precision=None)
I want to use the optional clickstep and precision parameters without having to specify a tooltip or a callback. How should I write the Draw.Number function to do this?