widgets

package
v2.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenSimpleMenu added in v2.3.0

func OpenSimpleMenu(open bool, mu *menu.Widget, site menu.ISite, app gowid.IApp) bool

func SwallowMouseScroll

func SwallowMouseScroll(ev *tcell.EventMouse, app gowid.IApp) bool

func SwallowMovementKeys

func SwallowMovementKeys(ev *tcell.EventKey, app gowid.IApp) bool

Types

type MenuOpenerFunc func(bool, *menu.Widget, menu.ISite, gowid.IApp) bool

Return false if it was already open

func (m MenuOpenerFunc) CloseMenu(mu *menu.Widget, app gowid.IApp)
func (m MenuOpenerFunc) OpenMenu(mu *menu.Widget, site *menu.SiteWidget, app gowid.IApp) bool

Directories

Path Synopsis
Package appkeys provides a widget which responds to keyboard input.
Package appkeys provides a widget which responds to keyboard input.
Package copymodetable provides a wrapper around a table that supports copy mode.
Package copymodetable provides a wrapper around a table that supports copy mode.
Package copymodetree provides a wrapper around a tree that supports copy mode.
Package copymodetree provides a wrapper around a tree that supports copy mode.
Package enableselected provides a widget that turns on focus.Selected.
Package enableselected provides a widget that turns on focus.Selected.
Package expander provides a widget that renders in one line when not in focus but that may render using more than one line when in focus.
Package expander provides a widget that renders in one line when not in focus but that may render using more than one line when in focus.
Package fileviewer provides a widget to view a text file in a terminal via a pager program.
Package fileviewer provides a widget to view a text file in a terminal via a pager program.
Package filter provides a termshark-specific edit widget which changes color according to the validity of its input, and which activates a drop-down menu of possible completions for the term at point.
Package filter provides a termshark-specific edit widget which changes color according to the validity of its input, and which activates a drop-down menu of possible completions for the term at point.
Package framefocus provides a very specific widget to apply a frame around the widget in focus and an empty frame if not.
Package framefocus provides a very specific widget to apply a frame around the widget in focus and an empty frame if not.
Package hexdumper provides a widget which displays selectable hexdump-like output.
Package hexdumper provides a widget which displays selectable hexdump-like output.
Package hexdumper2 provides a widget which displays selectable hexdump-like output.
Package hexdumper2 provides a widget which displays selectable hexdump-like output.
Package ifwidget provides a simple widget that behaves differently depending on the condition supplied.
Package ifwidget provides a simple widget that behaves differently depending on the condition supplied.
Package keepselected turns on the selected bit when Render or UserInput is called.
Package keepselected turns on the selected bit when Render or UserInput is called.
Package mapkeys provides a widget that can map one keypress to a sequence of keypresses.
Package mapkeys provides a widget that can map one keypress to a sequence of keypresses.
Package minibuffer todo
Package minibuffer todo
Package hexdumper provides a numeric widget with a couple of buttons that increase or decrease its value.
Package hexdumper provides a numeric widget with a couple of buttons that increase or decrease its value.
Package regexstyle provides a widget that highlights the content of its subwidget according to a regular expression.
Package regexstyle provides a widget that highlights the content of its subwidget according to a regular expression.
Package renderfocused will render a widget with focus true
Package renderfocused will render a widget with focus true
Package resizable provides columns and piles that can be adjusted.
Package resizable provides columns and piles that can be adjusted.
Package rossshark provides a widget that draws a hi-tech shark fin over the background and allows it to move across the screen.
Package rossshark provides a widget that draws a hi-tech shark fin over the background and allows it to move across the screen.
Package scrollabletable makes a widget that some scrollbar interfaces suitable for passing to withscrollbar.New()
Package scrollabletable makes a widget that some scrollbar interfaces suitable for passing to withscrollbar.New()
Package scrollabletext provides a text widget that can be placed inside withscrollbar.Widget
Package scrollabletext provides a text widget that can be placed inside withscrollbar.Widget
Package search provides termshark's search widget including the various drop down menus to control the type of search to be issued.
Package search provides termshark's search widget including the various drop down menus to control the type of search to be issued.
Package streamwidget provides a very specific stream reassembly termshark widget.
Package streamwidget provides a very specific stream reassembly termshark widget.
Package trackfocus provides a widget that issues callbacks when a widget loses or gains the focus.
Package trackfocus provides a widget that issues callbacks when a widget loses or gains the focus.
Package withscrollbar provides a widget that renders with a scrollbar on the right
Package withscrollbar provides a widget that renders with a scrollbar on the right
Package wormhole contains a widget that provides the UI for termshark's magic-wormhole pcap sending feature.
Package wormhole contains a widget that provides the UI for termshark's magic-wormhole pcap sending feature.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL