Documentation
¶
Index ¶
Constants ¶
View Source
const ( ContinueAccelLabel = "_Continue" SelectGroupsAccelLabel = "Select _Groups <F2>" SkipGroupAccelLabel = "_Skip Group <F3>" KeepGroupAccelLabel = "_Keep Group <F4>" SkipFileAccelLabel = "_Skip File <F8>" SaveFileAccelLabel = "Save _File <F9>" QuitAccelLabel = "_Quit <F10>" )
Accelerator Button Labels
View Source
const ( ContinueAccelTooltip = "begin selecting and saving file changes" SelectGroupsAccelTooltip = "select which groups of changes to keep" SkipGroupAccelTooltip = "skip this group of changes" KeepGroupAccelTooltip = "keep this group of changes" SkipFileAccelTooltip = "skip this file and proceed" SaveFileAccelTooltip = "save this file and proceed" QuitAccelTooltip = "" )
Accelerator Button Tooltips
View Source
const ( SelectGroupsAccelKey = cdk.KeyF2 SkipGroupAccelKey = cdk.KeyF3 KeepGroupAccelKey = cdk.KeyF4 SkipFileAccelKey = cdk.KeyF8 SaveFileAccelKey = cdk.KeyF9 )
Accelerator Keys
View Source
const ( SelectGroupsAccelPath = "<rpl-window>/File/SelectGroups" SkipGroupAccelPath = "<rpl-window>/File/SkipGroup" KeepGroupAccelPath = "<rpl-window>/File/KeepGroup" SkipFileAccelPath = "<rpl-window>/File/SkipFile" SaveFileAccelPath = "<rpl-window>/File/SaveFile" QuitAccelPath = "<rpl-window>/File/Quit" ExitAccelPath = "<rpl-window>/File/Exit" )
Accelerator Paths
View Source
const ( ContinueAccelHandle = "continue-accel" SelectGroupsAccelHandle = "select-groups-accel" SkipGroupAccelHandle = "skip-group-accel" KeepGroupAccelHandle = "keep-group-accel" SkipFileAccelHandle = "skip-file-accel" SaveFileAccelHandle = "save-file-accel" QuitAccelHandle = "quit-accel" ExitAccelHandle = "ctrl-c-accel" )
Accelerator Handles
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CUI ¶
type CUI struct {
App ctk.Application
Args []string
Display cdk.Display
Window ctk.Window
HeaderLabel ctk.Label
DiffView ctk.ScrolledViewport
DiffLabel ctk.Label
WorkAccel ctk.AccelGroup
ContinueButton ctk.Button
SelectGroupsButton ctk.Button
KeepGroupButton ctk.Button
SkipGroupButton ctk.Button
SkipFileButton ctk.Button
SaveFileButton ctk.Button
QuitButton ctk.Button
ActionArea ctk.HButtonBox
StateSpinner ctk.Spinner
StatusLabel ctk.Label
LastError error
sync.RWMutex
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.