HtmlDisplay

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package HtmlDisplay provides the HtmlDisplay widget to be used with fyne GUI

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FyneHtmlDisplay added in v0.0.2

type FyneHtmlDisplay struct {
	widget.RichText
	// contains filtered or unexported fields
}

HtmlDisplay is the struct for the new widget HtmlDisplay

func NewFyneHtmlDisplay added in v0.0.2

func NewFyneHtmlDisplay() *FyneHtmlDisplay

NewHtmlDisplay is the constructor function for HtmlDisplay.

func (*FyneHtmlDisplay) SetHtml added in v0.0.2

func (item *FyneHtmlDisplay) SetHtml(html string)

SetHtml will set the Html string of the HtmlDisplay widget. A side effect of the set is that the control will be updated with the new contents.

func (*FyneHtmlDisplay) SetHtmlBinding added in v0.0.2

func (item *FyneHtmlDisplay) SetHtmlBinding(bind binding.String)

type HtmlDisplay

type HtmlDisplay interface {
	SetHtml(html string)
	SetHtmlBinding(binding binding.Untyped)
}

HtmlDisplay is the interface for the Fyne HtmlDisplay. I prefer having a defined interface to make it easier to use IOC

Jump to

Keyboard shortcuts

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