Logo


search API (or start typing anywhere)


TextEditOptions

mint.TextEditOptions

Options for constructing a TextEdit


typedef


   

Members


y
y : Null<Float>
The control y position, relative to its container
x
x : Null<Float>
The control x position, relative to its container
w_min
w_min : Null<Float>
The control minimum width
w_max
w_max : Null<Float>
The control maximum width
w
w : Null<Float>
The control width
visible
visible : Null<Bool>
Whether or not the control is visible at creation
text_size
text_size : Null<Float>
The text size of the text for the rendering to use
text
text : Null<String>
The default text value
rendering
rendering : Null<mint.render.Rendering>
The render service that provides this instance with an implementation. Defaults to using the owning canvas render service if not specified
renderable
renderable : Null<Bool>
Whether or not the control emits render signals from the canvas render call
parent
parent : Null<mint.Control>
The control parent, if any
options
options : Null<>
Generic framework/user specific options, which can be strong typed on the receiving end.
name
name : Null<String>
The control name
mouse_input
mouse_input : Null<Bool>
Whether or not the control responds to mouse input
key_input
key_input : Null<Bool>
Whether or not the control responds to key input
h_min
h_min : Null<Float>
The control minimum height
h_max
h_max : Null<Float>
The control maximum height
h
h : Null<Float>
The control height
filter
filter : Null<>
A filter function to call when text is entered. It is: filter(new_character, new_text, old_text):Bool. Returning false will reject the character.
display_char
display_char : Null<String>
An override display character (like * for a password entry)
depth
depth : Null<Float>
The control depth. Usually set internally