Blender 2.53 -create a slider

Hi,
I was wondering how to use python to create a slider in 2.53?

In 2.49, I can use slider() under bpy.Draw
Slider(name, event, x, y, width, height, initial, min, max, realtime=1, tooltip=None, callback=None)

Thanks,
Joyce

look at the addons e.g. add_curve_torus_knots.py
activate and add a torus and use/see the sliders !