gui

package
v0.0.0-...-001208e Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const IMG_AUTH = `` /* 78468-byte string literal not displayed */

Variables

This section is empty.

Functions

func Auth

func Auth(nextSlide func()) (title string, content tview.Primitive)

func Center

func Center(width, height int, p tview.Primitive) tview.Primitive

func Chat

func Chat(nextSlide func()) (title string, content tview.Primitive)

Flex demonstrates flexbox layout.

func Draw

func Draw()

Starting point for the presentation.

func Form

func Form(nextSlide func()) (title string, content tview.Primitive)

func Submit

func Submit()

Types

type Slide

type Slide func(nextSlide func()) (title string, content tview.Primitive)

Slide is a function which returns the slide's main primitive and its title. It receives a "nextSlide" function which can be called to advance the presentation to the next slide.

Jump to

Keyboard shortcuts

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