panels

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AjaxSubmit int = iota + 1
	ServerSubmit
	ButtonSubmit
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultPanel

type DefaultPanel struct {
	Panel
}

func NewDefaultPanel

func NewDefaultPanel(parent page.ControlI, id string) *DefaultPanel

func (*DefaultPanel) DrawTemplate

func (control *DefaultPanel) DrawTemplate(ctx context.Context, buf *bytes.Buffer) (err error)

type Forms1Panel

type Forms1Panel struct {
	control.Panel
	Name            *Textbox
	ChildrenCount   *IntegerTextbox
	MStatusSingle   *RadioButton
	MStatusMarried  *RadioButton
	MStatusDivorced *RadioButton
	Dog             *Checkbox

	SubmitAjax   *Button
	SubmitServer *Button
}

func NewForms1Panel

func NewForms1Panel(parent page.ControlI) *Forms1Panel

func (*Forms1Panel) DrawTemplate

func (control *Forms1Panel) DrawTemplate(ctx context.Context, buf *bytes.Buffer) (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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