we will use spinbox widget and we will also bind the enter key on the keyboard to one of our widget we will use tabbed gui code and will add further spinbox widget above the scrolledtext control this simply requires us to increment the scrolledtext row value by one and to insert our new spinbox control in the row above the entry widget firstwe add the spinbox control place the following code above the scrolledtext widget fig spinbox control nextwe will reduce the sixe of the spinbox widgetby adding following code snippet spin=spinbox(mightyfrom= ,to= ,width= fig spin box control with reduce size