How to get numbers from a editable text box.

Convert to string then to int.

I have been putting together a widget that accept number from a editable text box. However I don’t know how to get the numbers into a integer

288920-editabletext.png

so that I can use them? Does any one know?

Thanks in advance