Documentation
¶
Index ¶
- func NewButton(parent ki.Ki, name ...string) *gi.Button
- func NewSeparatorWithLabel(title string, parent ki.Ki)
- func NewVSplits(parent ki.Ki) *gi.Splits
- func NewWindowRunAndWait(b *gi.Body, DropCallback func(names []string))
- func TableSelectedIndex(t *giv.TableView) int
- func TableSelectedValue(t *giv.TableView) any
- type Editor
- func (e *Editor[T]) SetBashLanguage()
- func (e *Editor[T]) SetCLanguage()
- func (e *Editor[T]) SetCSharpLanguage()
- func (e *Editor[T]) SetData(data T)
- func (e *Editor[T]) SetGoLanguage()
- func (e *Editor[T]) SetJavaLanguage()
- func (e *Editor[T]) SetLanguage(lang string)
- func (e *Editor[T]) SetLogBody()
- func (e *Editor[T]) SetNasmLanguage()
- func (e *Editor[T]) SetPythonLanguage()
- func (e *Editor[T]) SetRustLanguage()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSeparatorWithLabel ¶
func NewWindowRunAndWait ¶
func TableSelectedIndex ¶
func TableSelectedValue ¶
Types ¶
type Editor ¶
type Editor[T safeType.Type] struct { *texteditor.Editor *texteditor.Buf // contains filtered or unexported fields }
Editor https://swapoff.org/chroma/playground/
func (*Editor[T]) SetBashLanguage ¶
func (e *Editor[T]) SetBashLanguage()
func (*Editor[T]) SetCLanguage ¶
func (e *Editor[T]) SetCLanguage()
func (*Editor[T]) SetCSharpLanguage ¶
func (e *Editor[T]) SetCSharpLanguage()
func (*Editor[T]) SetGoLanguage ¶
func (e *Editor[T]) SetGoLanguage()
func (*Editor[T]) SetJavaLanguage ¶
func (e *Editor[T]) SetJavaLanguage()
func (*Editor[T]) SetLanguage ¶
func (*Editor[T]) SetLogBody ¶
func (e *Editor[T]) SetLogBody()
func (*Editor[T]) SetNasmLanguage ¶
func (e *Editor[T]) SetNasmLanguage()
func (*Editor[T]) SetPythonLanguage ¶
func (e *Editor[T]) SetPythonLanguage()
func (*Editor[T]) SetRustLanguage ¶
func (e *Editor[T]) SetRustLanguage()
Click to show internal directories.
Click to hide internal directories.