ui

package
v0.0.0-...-082c416 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	CssClassMandatory = "mandatory"
	ConnNameDraft     = ""
)
View Source
const (
	PageData     = 0
	PageMetadata = 1
	PageAcl      = 2
)

Variables

View Source
var (
	Builder *gtk.Builder
)
View Source
var (
	ZkPathByTreePath = make(map[string]string)
)

Functions

func ClearNodeTree

func ClearNodeTree()

func CreateErrorDialog

func CreateErrorDialog(parent gtk.IWindow, text string) *gtk.MessageDialog

func GetObject

func GetObject(objectName string) glib.IObject

func InitConnDialog

func InitConnDialog(mainWindow *MainWindow)

func OnAppActivate

func OnAppActivate(app *gtk.Application) func()

func ShowTreeRootNodes

func ShowTreeRootNodes() error

Types

type ConnDlg

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

type ContextMenu

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

func NewContextMenu

func NewContextMenu() *ContextMenu

type CreateNodeDlg

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

func NewCreateNodeDlg

func NewCreateNodeDlg(mainWindow *gtk.Window) *CreateNodeDlg

type ExportNodeReport

type ExportNodeReport struct {
	Meta Meta
	Data *zk.Node
}

type ExportResultDlg

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

func NewNodeExportDlg

func NewNodeExportDlg(mainWindow *gtk.Window) *ExportResultDlg

type ExportTask

type ExportTask struct {
	ZkPath       string
	Tree         *zk.Node
	JsonFilePath string
	Error        error
	Task
	// contains filtered or unexported fields
}

type MainWindow

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

func NewMainWindow

func NewMainWindow() *MainWindow

type Meta

type Meta struct {
	RootPath  string
	CreatedAt time.Time
}

type NodeAction

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

func NewNodeAction

func NewNodeAction() *NodeAction

type Notebook

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

func NewNotebook

func NewNotebook() *Notebook

type RenameNodeDlg

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

func NewRenameNodeDlg

func NewRenameNodeDlg(mainWindow *gtk.Window) *RenameNodeDlg

type Signals

type Signals map[string]interface{}

type Task

type Task interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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