ui

package
Version: v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	COL_FIELD_SELECTION     int = 0
	COL_BIT_POS                 = 1
	COL_FIELD_NAME              = 2
	COL_FIELD_VAL               = 3
	COL_FIELD_ID                = 4
	COLD_FIELD_EDIT_ENABLED     = 5
)

columns in the SpecMsgTree

Variables

This section is empty.

Functions

func ComputeMacDialog

func ComputeMacDialog(widget gtk.IWidget, msg string)

func ComputePinBlockDialog

func ComputePinBlockDialog(widget gtk.IWidget, msg string)

func Init

func Init()

func ShowErrorDialog

func ShowErrorDialog(widget gtk.IWidget, msg string)

func ShowInfoDialog

func ShowInfoDialog(widget gtk.IWidget, msg string)

func ShowIsoResponseMsgDialog

func ShowIsoResponseMsgDialog(tabDataList *list.List)

Types

type PaysimSpecMsgTree

type PaysimSpecMsgTree struct {
	// contains filtered or unexported fields
}

func NewPaysimSpecMsgTree

func NewPaysimSpecMsgTree() *PaysimSpecMsgTree

func (*PaysimSpecMsgTree) FieldToggleRenderer

func (pTree *PaysimSpecMsgTree) FieldToggleRenderer() *gtk.CellRendererToggle

func (*PaysimSpecMsgTree) FieldValueRenderer

func (pTree *PaysimSpecMsgTree) FieldValueRenderer() *gtk.CellRendererText

func (*PaysimSpecMsgTree) Store

func (pTree *PaysimSpecMsgTree) Store() *gtk.TreeStore

func (*PaysimSpecMsgTree) View

func (pTree *PaysimSpecMsgTree) View() *gtk.TreeView

type PaysimUiConsole

type PaysimUiConsole struct {
	// contains filtered or unexported fields
}
var PaysimConsole *PaysimUiConsole

func (*PaysimUiConsole) Log

func (pc *PaysimUiConsole) Log(log string)

func (*PaysimUiConsole) TextView

func (pc *PaysimUiConsole) TextView() *gtk.TextView

type PaysimUiContext

type PaysimUiContext struct {
	// contains filtered or unexported fields
}

func NewUiContext

func NewUiContext() *PaysimUiContext

func (*PaysimUiContext) AssembleButton

func (pCtx *PaysimUiContext) AssembleButton() *gtk.Button

func (*PaysimUiContext) ButtonBox

func (pCtx *PaysimUiContext) ButtonBox() *gtk.HBox

func (*PaysimUiContext) CommsConfigVBox

func (pCtx *PaysimUiContext) CommsConfigVBox() *gtk.VBox

func (ctx *PaysimUiContext) MliTypesComboBox() *gtk.ComboBox {

return ctx.mli_types_cb

}

func (ctx *PaysimUiContext) IpAdrrWidget() *gtk.Entry {

return ctx.ip_addr_entry

}

func (ctx *PaysimUiContext) PortEntryWidget() *gtk.Entry {

return ctx.port_entry

}

func (*PaysimUiContext) GetCommsConfig

func (pCtx *PaysimUiContext) GetCommsConfig() (*net.TCPAddr, string, error)

GetCommsConfig returns the IP, port and the MLI to be used for the message

func (*PaysimUiContext) GetUsrTrace

func (pCtx *PaysimUiContext) GetUsrTrace() ([]byte, error)

func (*PaysimUiContext) LoadButton

func (pCtx *PaysimUiContext) LoadButton() *gtk.Button

func (*PaysimUiContext) SendButton

func (pCtx *PaysimUiContext) SendButton() *gtk.Button

func (*PaysimUiContext) ShowUsrTrace

func (pCtx *PaysimUiContext) ShowUsrTrace(traceData []byte)

func (*PaysimUiContext) Window

func (pCtx *PaysimUiContext) Window() *gtk.Window

type SpecTab

type SpecTab struct {
}

Jump to

Keyboard shortcuts

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