Documentation ¶
Index ¶
- func AddCSSClass(widget gtk.Widget, cssClass string)
- func ChooseFolder(parent *gtk.Window, title string) string
- func ClearChildren(parent gtk.Container)
- func HandleErr(err error)
- func Must[T any](val T, err error) T
- func Scrollable[T gtk.IWidget](child T) *gtk.ScrolledWindow
- func ShowEntryDialog(parent *gtk.Window, title, label string) string
- func ShowErrorDialog(parent *gtk.Window, message string)
- func ShowInfoDialog(parent *gtk.Window, message string)
- type Editor
- type KeyValueEditor
- type KeyValuePair
- type PairStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCSSClass ¶
func ClearChildren ¶
func Scrollable ¶
func Scrollable[T gtk.IWidget](child T) *gtk.ScrolledWindow
func ShowErrorDialog ¶
func ShowInfoDialog ¶
Types ¶
type Editor ¶
type Editor struct { *gtk.ScrolledWindow View *sourceview.SourceView Buffer *sourceview.SourceBuffer }
type KeyValueEditor ¶
type KeyValueEditor struct { *gtk.ScrolledWindow Store *PairStore }
func NewKeyValueEditor ¶
func NewKeyValueEditor(values map[string]string) *KeyValueEditor
func (*KeyValueEditor) OnAfterUpdate ¶
func (kve *KeyValueEditor) OnAfterUpdate(handler func())
type KeyValuePair ¶
Click to show internal directories.
Click to hide internal directories.