coreforms

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShowEditStringForm

func ShowEditStringForm(parent uiinterfaces.Widget, initialValue string, OnOK func(newValue string, oldValue string))

Types

type DialogLeftHeader

type DialogLeftHeader struct {
	uicontrols.Panel
}

func NewDialogLeftHeader

func NewDialogLeftHeader(parent uiinterfaces.Widget, img image.Image, header string, text string) *DialogLeftHeader

func (*DialogLeftHeader) ControlType

func (c *DialogLeftHeader) ControlType() string

func (*DialogLeftHeader) Dispose

func (c *DialogLeftHeader) Dispose()

type EditStringForm

type EditStringForm struct {
	uicontrols.Dialog

	OnOK func(newValue string, oldValue string)
	// contains filtered or unexported fields
}

func NewEditStringForm

func NewEditStringForm(parent uiinterfaces.Widget, text string, OnOK func(newValue string, oldValue string)) *EditStringForm

type LuaEditor

type LuaEditor struct {
	uiforms.Form
	// contains filtered or unexported fields
}

func NewLuaEditor

func NewLuaEditor() *LuaEditor

func (*LuaEditor) Code

func (c *LuaEditor) Code() string

func (*LuaEditor) OnInit

func (c *LuaEditor) OnInit()

func (*LuaEditor) SetCode

func (c *LuaEditor) SetCode(code string)

type MultilineEditor

type MultilineEditor struct {
	uicontrols.Dialog

	OnTextChanged func(txtMultiline *MultilineEditor, oldText string, newText string)
	// contains filtered or unexported fields
}

func NewMultilineEditor

func NewMultilineEditor(parent uiinterfaces.Widget, value string) *MultilineEditor

func (*MultilineEditor) OnInit

func (c *MultilineEditor) OnInit()

func (*MultilineEditor) ResultText

func (c *MultilineEditor) ResultText() string

func (*MultilineEditor) Text

func (c *MultilineEditor) Text() string

type PropertiesEditor

type PropertiesEditor struct {
	uicontrols.Panel
	// contains filtered or unexported fields
}

func NewPropertiesEditor

func NewPropertiesEditor(parent uiinterfaces.Widget) *PropertiesEditor

func (*PropertiesEditor) CheckBoxChanged

func (c *PropertiesEditor) CheckBoxChanged(checkBox *uicontrols.CheckBox, checked bool)

func (*PropertiesEditor) ColorPickerChanged

func (c *PropertiesEditor) ColorPickerChanged(colorPicker *uicontrols.ColorPicker, color color.Color)

func (*PropertiesEditor) ControlType

func (c *PropertiesEditor) ControlType() string

func (*PropertiesEditor) Dispose

func (c *PropertiesEditor) Dispose()

func (*PropertiesEditor) LoadPropertiesValues

func (c *PropertiesEditor) LoadPropertiesValues()

func (*PropertiesEditor) MultilineChanged

func (c *PropertiesEditor) MultilineChanged(txtBox *uicontrols.Button, newValue string)

func (*PropertiesEditor) OnPropertyChanged

func (c *PropertiesEditor) OnPropertyChanged(prop *uiproperties.Property)

func (*PropertiesEditor) RebuildInterface

func (c *PropertiesEditor) RebuildInterface()

func (*PropertiesEditor) SetPropertiesContainer

func (c *PropertiesEditor) SetPropertiesContainer(propertiesContainer uiproperties.IPropertiesContainer)

func (*PropertiesEditor) SpinBoxChanged

func (c *PropertiesEditor) SpinBoxChanged(spinBox *uicontrols.SpinBox, value float64)

func (*PropertiesEditor) TextBoxChanged

func (c *PropertiesEditor) TextBoxChanged(txtBox *uicontrols.TextBox, oldValue string, newValue string)

Jump to

Keyboard shortcuts

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