thank you all.. i found the solution.. there is no need of library if you are controlling the direction of the stepper motor or any other task,
with GUI you just have to use the toggle button and use a while loop and ON or OFF the stepper inputs according to the movement