fynegui

package
v0.0.0-...-2209333 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InitialWindowSize = fyne.NewSize(1000, 800)

Functions

func NewEditor

func NewEditor(window fyne.Window, eb bus.EventBus) *editor

Wraps the different editors and switches them as needed TODO : when switching editors/recreating them, they must unbind from the bus maybe add a destroy method to the editor/component interface ? Or keep them alive ?

func RunGUI

func RunGUI(eb bus.EventBus)

Types

type CodeEntry

type CodeEntry struct {
	widget.Entry
	// contains filtered or unexported fields
}

Extension of the entry widget to handle specific shortcuts

func NewCodeEntry

func NewCodeEntry(dirPth string, eb bus.EventBus) *CodeEntry

Create a new instance of the CodeEntry wrapper

func (*CodeEntry) TypedShortcut

func (e *CodeEntry) TypedShortcut(sc fyne.Shortcut)

Overwrites the shortcutable interface of the underlying multi line entry

type Component

type Component interface {
	GetCanvasObj() fyne.CanvasObject
}

type ConnectionsSelect

type ConnectionsSelect struct {
	*fyne.Container
}

func NewConnectionsSelect

func NewConnectionsSelect(eb bus.EventBus) *ConnectionsSelect

func (ConnectionsSelect) GetCanvasObj

func (c ConnectionsSelect) GetCanvasObj() fyne.CanvasObject

type Console

type Console struct {
	*fyne.Container
}

func NewConsole

func NewConsole(eb bus.EventBus) *Console

func (*Console) GetCanvasObj

func (e *Console) GetCanvasObj() fyne.CanvasObject

type ControlBar

type ControlBar struct {
	*fyne.Container
}

func NewControlBar

func NewControlBar(eb bus.EventBus) *ControlBar

func (*ControlBar) GetCanvasObj

func (c *ControlBar) GetCanvasObj() fyne.CanvasObject

type EditorTopbar

type EditorTopbar struct {
	fyne.CanvasObject
	// contains filtered or unexported fields
}

func NewEditorTopbar

func NewEditorTopbar(eb bus.EventBus, window fyne.Window) *EditorTopbar

func (*EditorTopbar) GetCanvasObj

func (e *EditorTopbar) GetCanvasObj() fyne.CanvasObject

GetCanvasObj implements the Component Interface

type EditorType

type EditorType interface {
	fyne.Tappable
	fyne.Focusable
	fyne.Widget
	fyne.Shortcutable
}

func NewNvim

func NewNvim(dirPth string) EditorType

Create a new instance of the Nvim wrapper

type Modal struct {
	*widget.PopUp
}

func NewModal

func NewModal(content fyne.CanvasObject, canvas fyne.Canvas) Modal

type NetworkDiagram

type NetworkDiagram struct {
	fyne.Widget
	// contains filtered or unexported fields
}

func NewNetworkDiagram

func NewNetworkDiagram(eb bus.EventBus, wcanvas fyne.Canvas) *NetworkDiagram

type Nvim

type Nvim struct {
	*nvim.NeoVim
}

Extension of the NeoVim widget

func (*Nvim) TypedShortcut

func (e *Nvim) TypedShortcut(sc fyne.Shortcut)

TypedShortcut implements the Shortcutable interface

Jump to

Keyboard shortcuts

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