@FDT, mostly, do not google, but highlight the class name and select Help... from the popup options to see attributes like these.

Here’s a quick sample:

import ui v = ui.View() tf = ui.TextField( placeholder='First number', keyboard_type=ui.KEYBOARD_DECIMAL_PAD, width=200, height=40, center=v.bounds.center(), flex='RTBL', ) v.add_subview(tf) v.present()