MCPcopy Create free account
hub / github.com/coronalabs/corona / newTextField

Function newTextField

librtt/Rtt_LuaLibNative.cpp:302–352  ·  view source on GitHub ↗

local t = native.newTextField( x, y, w, h ) t.text t.font function listener( event ) event.phase = "began" (always called), "ended" (always called), "submitted" (only if return key pressed) event.name = "userInput" end native.setKeyboardFocus( tf ) if tf is nil, then dismiss keyboard

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 10

luaL_torealFunction · 0.85
SetHandleMethod · 0.80
LuaStateMethod · 0.80
AddEventListenerMethod · 0.80
CoronaLuaWarningFunction · 0.50
IsV1CompatibilityMethod · 0.45
InitializeMethod · 0.45
CreateNativeTextFieldMethod · 0.45
PreinitializeMethod · 0.45
GetAllocatorMethod · 0.45

Tested by

no test coverage detected