Main Text of this control

By default, or if set to null, no text is shown.

Property definitions

app $ TextView :: text=
	# Main `Text` of this control
	#
	# By default, or if set to `null`, no text is shown.
	var text: nullable Text is writable, abstract, autoinit
lib/app/ui.nit:232,2--235,56

android :: ui $ TextView :: text=
	redef fun text=(value) do
		if value == null then value = ""
		native.text = value.to_java_string
	end
lib/android/ui/ui.nit:226,2--229,4

ios :: ui $ Label :: text=
	redef fun text=(text) do native.text = (text or else "").to_nsstring
lib/ios/ui/ui.nit:280,2--69

linux :: ui $ Label :: text=
	redef fun text=(value)
	do
		var cfmt = pango_markup_format.to_cstring
		var cvalue = (value or else "").to_cstring
		native.set_markup(cfmt, cvalue)
	end
lib/linux/ui.nit:273,2--278,4

ios :: ui $ CheckBox :: text=
	redef fun text=(text) do lbl.text = text
lib/ios/ui/ui.nit:337,2--41

linux :: ui $ CheckBox :: text=
	redef fun text=(value) do native.text = (value or else "").to_s
lib/linux/ui.nit:322,2--64

ios :: ui $ TextInput :: text=
	redef fun text=(text) do native.text = (text or else "").to_nsstring
lib/ios/ui/ui.nit:366,2--69

linux :: ui $ TextInput :: text=
	redef fun text=(value) do
		if value == null then value = ""
		native.text = value.to_s
	end
lib/linux/ui.nit:333,2--336,4

ios :: ui $ Button :: text=
	redef fun text=(text) do if text != null then native.title = text.to_nsstring
lib/ios/ui/ui.nit:410,2--78

linux :: ui $ Button :: text=
	redef fun text=(value) do native.text = (value or else "").to_s
lib/linux/ui.nit:245,2--64

linux $ BackButton :: text=
	# TODO i18n
	redef fun text=(value) do super(value or else "Back")
lib/linux/ui.nit:256,2--257,54