widget.colorpicker
local colorpicker = require "widget.colorpicker"
NEWLINE
(field) NEWLINE: integer
Indicates on a widget.styledtext that a new line follows.
__index
(field) __index: core.object
alpha
(field) alpha: number
alpha_color
(field) alpha_color: renderer.color
Array of bytes that represents a color used by the rendering functions.
alpha_mouse_down
(field) alpha_mouse_down: boolean
alpha_pos
(field) alpha_pos: number
animations
(field) animations: widget.animation[]
background_color
(field) background_color: renderer.color
Array of bytes that represents a color used by the rendering functions.
border
(field) border: widget.border
Represents the border of a widget.
brightness_color
(field) brightness_color: renderer.color
Array of bytes that represents a color used by the rendering functions.
brightness_mouse_down
(field) brightness_mouse_down: boolean
brightness_pos
(field) brightness_pos: number
captured_widget
(field) captured_widget: widget
Widget that captured mouse events
child_active
(field) child_active: widget|nil
A base widget
childs
(field) childs: table<integer, widget>
clickable
(field) clickable: boolean
context
(field) context: 'application'|'session'
current_scale
(field) current_scale: number
cursor
(field) cursor: 'arrow'|'hand'|'ibeam'|'sizeh'|'sizev'
defer_draw
(field) defer_draw: boolean
draggable
(field) draggable: boolean
dragged
(field) dragged: boolean
explicit_update
(field) explicit_update: boolean
font
(field) font: string|renderer.font|widget.fontreference
Represents a reference to a font stored elsewhere.
force_events
(field) force_events: table
foreground_color
(field) foreground_color: renderer.color
Array of bytes that represents a color used by the rendering functions.
h_scrollbar
(field) h_scrollbar: widget.scrollbar
has_focus
(field) has_focus: boolean
hovered_scrollbar
(field) hovered_scrollbar: boolean
html_notation
(field) html_notation: widget.textbox
html_updating
(field) html_updating: boolean
hue_color
(field) hue_color: renderer.color
Array of bytes that represents a color used by the rendering functions.
hue_mouse_down
(field) hue_mouse_down: boolean
hue_pos
(field) hue_pos: number
input_text
(field) input_text: boolean
is_scrolling
(field) is_scrolling: boolean
label
(field) label: string|table<integer, string|integer|renderer.color|renderer.font|widget.fontreference>
mouse
(field) mouse: widget.position
Represents the position of a widget.
mouse_is_hovering
(field) mouse_is_hovering: boolean
mouse_is_pressed
(field) mouse_is_pressed: boolean
mouse_pressed_outside
(field) mouse_pressed_outside: boolean
name
(field) name: string
next_zindex
(field) next_zindex: integer
parent
(field) parent: widget|nil
A base widget
perform_update_size_position
(field) perform_update_size_position: boolean
position
(field) position: widget.position
Represents the position of a widget.
prev_height
(field) prev_height: number?
prev_size
(field) prev_size: widget.position
Represents the position of a widget.
prev_view
(field) prev_view: unknown
prev_width
(field) prev_width: number?
render_background
(field) render_background: boolean
rgba_notation
(field) rgba_notation: widget.textbox
rgba_updating
(field) rgba_updating: boolean
saturation_color
(field) saturation_color: renderer.color
Array of bytes that represents a color used by the rendering functions.
saturation_mouse_down
(field) saturation_mouse_down: boolean
saturation_pos
(field) saturation_pos: number
scroll
(field) scroll: core.view.scroll
scrollable
(field) scrollable: boolean
selector
(field) selector: table
set_focus
(field) set_focus: any
size
(field) size: widget.position
Modifying this property directly is not advised, use set_size() instead.
skip_scroll_ctrl
(field) skip_scroll_ctrl: boolean
By default is set to true to allow ctrl+wheel or cmd+wheel on mac to scale the interface, you can set it to false on your parent widget to allow manually intercepting ctrl+wheel.
super
(field) super: widget
A base widget
textview
(field) textview: widget
A base widget
tooltip
(field) tooltip: (string|table<integer, string|integer|renderer.color|renderer.font|widget.fontreference>)?
tooltip_command
(field) tooltip_command: string?