Daniel P. Berrangé
78031b278f
Add support for read only form items
...
When a form item is readonly, any input events or mouse events that
would cause its value to change are ignored.
Read only items are rendered when text color that matches the label
color to distinguish them from items that accept input.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
4 years ago
rivo
823f280c54
Merge pull request #431 from millerlogic/treeview-handlers
...
Allow changing current node and changing focus in treeview handlers
4 years ago
Chris Miller
591e235272
Also call node.selected on node click
4 years ago
Chris Miller
089ac467f8
Allow changing focus in handler
5 years ago
Chris Miller
7b79cb6347
Allow changing current node during handler
5 years ago
Chris Miller
77ccc1ff41
Allow changing current node during handler
...
Avoids wrong handler being called or even crash on nil
5 years ago
Oliver
8e06c826b3
Merge branch 'master' of github.com:rivo/tview
5 years ago
Oliver
e352ec0156
Fixed mouse/keyboard input issues with input fields and forms. Fixes #363
5 years ago
rivo
ba71c7df7c
Merge pull request #418 from abitrolly/patch-2
...
Use List height for scrolling with PgUp/PgDn
5 years ago
rivo
7e599fe9aa
Merge pull request #403 from tslocum/scrolltable
...
Fix scrolling table with PageDown and PageUp
5 years ago
Oliver
285468943b
Added getters for common Box attributes. Resolves #427
5 years ago
Oliver
ca37f83cb2
TextView changed function is always called in a separate goroutine to avoid deadlocks. Fixes #416
5 years ago
Oliver
cce7c98823
Don't forward mouse events to nil items in Flex/Grid. Fixes #425
5 years ago
rivo
7cc182c584
Merge pull request #422 from rivo/mouse
...
Added mouse support, closes #13
5 years ago
Oliver
f395cf6e33
Added mouse scrolling to List, Table, TextView, and TreeView.
5 years ago
Oliver
b3dc389cb4
Added mouse support to presentation demo. TextView "highlighted" callback also receives remaining highlights.
5 years ago
Oliver
2505a942a1
Added mouse selection of regions in TextViews.
5 years ago
Oliver
5f5b79b00e
Added mouse support for Table and TreeView.
5 years ago
Oliver
9af6826328
Added/fixed comments, some structural changes/bugfixes for mouse support. Table, TextView, and TreeView still open. Closes #363
5 years ago
rivo
160d8fda1d
Merge pull request #363 from millerlogic/mouse-support
...
Mouse support
5 years ago
Anatoli Babenia
37ec5d08a6
Use List height for scrolling with PgUp/PgDn
...
Fixes #417 .
5 years ago
Chris Miller
55c590d97f
Refactor fireMouseActions
5 years ago
Chris Miller
12f94f688a
Document DoubleClickInterval
5 years ago
Chris Miller
55cdc84e25
EnableMouse to take bool and enable/disable directly
5 years ago
Chris Miller
15700e7129
Minor changes
5 years ago
Chris Miller
1fb9862c00
Separate action events
5 years ago
Trevor Slocum
5c7d71700b
Fix scrolling table with PageDown and PageUp
...
Resolves #402 .
5 years ago
Oliver
cd38d74324
Merge branch 'ajcarvajal-master'
5 years ago
Oliver
0f2b919ef2
Resolved merge conflict
5 years ago
Oliver
a177a82b6c
Clarifying the role of the Box class better. Resolves #373
5 years ago
rivo
640e03d648
Merge pull request #383 from tslocum/demo-append
...
Fix presentation demo appending TextView indefinitely
5 years ago
rivo
50771d8cae
Merge pull request #390 from tslocum/deps
...
Update dependencies colorful and runewidth
5 years ago
Oliver
ba670d23ba
The inner area of a Box does not clamp to screen borders anymore. Consequently added some drawing optimization to primitives. Resolves #405
5 years ago
Oliver
fe30520195
Application.QueueUpdate() returns after its provided function has executed.
5 years ago
rivo
0ba8301b41
Merge pull request #408 from tslocum/emptylist
...
Fix panic when navigating empty list
5 years ago
Trevor Slocum
babee1042c
Fix panic when navigating empty list
...
Resolves #407 .
5 years ago
Chris Miller
0daf286122
Improve dropdown mouse handling
5 years ago
Chris Miller
5ef51540da
Double click interval
5 years ago
Chris Miller
8abbf770ec
Change mouse handler func
5 years ago
Trevor Slocum
f1e2d87625
Update dependencies colorful and runewidth
5 years ago
Oliver
ae3d8cac5e
Avoiding panics for empty tree views.
5 years ago
Oliver
3a5c6317e4
Setting time of last redraw.
5 years ago
rivo
e8d1520774
Merge pull request #392 from blefevre/master
...
Add Flex.Clear() method to remove all items in flexbox
5 years ago
Ben LeFevre
016b6bd9e3
Update Flex.Clear() documentation
5 years ago
Oliver
f1ffa42918
Throttling resize events. Resolves #378
5 years ago
Oliver
f15d087aa0
Added SetDoneFunc() to TreeView. Resolves #394
5 years ago
Chris Miller
080a8e624e
Fix operator
5 years ago
Chris Miller
9598ca2519
New mouse design
...
capture bool not finalized
5 years ago
Ben LeFevre
37b143d5fa
Add Flex.Clear() method to remove all items
5 years ago
Oliver
1316ea7a4b
ANSI parser now also handles SGR 39 and 49. Fixes #347
5 years ago