Documentation
¶
Index ¶
Constants ¶
View Source
const ( INVALID_FIELDNAME = 255 INVALID_FKEY = "" )
View Source
const INVALID_INDEX = -1
Variables ¶
This section is empty.
Functions ¶
func FieldnameFor ¶
Types ¶
type FKey ¶
type FKey uint8
const ( // ADD NEW FIELDS TO THIS BLOCK - ALPHABETICAL ORDER PLEASE! FKey_Checked FKey = iota FKey_Choice FKey_Choices FKey_ChoiceLabels FKey_CommandIssued FKey_Content FKey_Data FKey_Embodiment FKey_Expanded FKey_Exported FKey_FrameItems FKey_GroupItems FKey_HeaderRow FKey_Icon FKey_IconID FKey_ID FKey_Image FKey_Imported FKey_Issued FKey_Item FKey_Label FKey_LabelItem FKey_LeadingItem FKey_Level FKey_ListItems FKey_MainItem FKey_ModelFolder FKey_ModelItem FKey_ModelRow FKey_Name FKey_NumericEntry FKey_PeriodMs FKey_Ref FKey_Rows FKey_SelectedItems FKey_SelectedRows FKey_SelectionChanged FKey_SelectionMode FKey_Showing FKey_State FKey_Status FKey_SubItem FKey_Tag FKey_TextEntry FKey_TimerFired FKey_Title FKey_TrailingItem FKey_ValidExtensions // RESERVED CONSTANT FKey_MAXIMUMKEYS )
type OnSetFunction ¶
type PKey ¶
type PKey []int
func NewPKeyFromAny ¶ added in v0.0.14
Create a new PKey from a list of indices represented as any type.
func (PKey) DescendsFrom ¶
Returns true if this PKey descends from the other PKey.
func (PKey) IndexAtLevel ¶
Returns the index at supplied level.
type PKeyLocator ¶ added in v0.0.27
type PKeyLocator struct {
// The PKey being located.
PKey PKey
// The current level of the locator.
LocationLevel int
}
A helper class to locate a Primitive in the model.
func NewPKeyLocator ¶ added in v0.0.27
func NewPKeyLocator(pkey PKey) *PKeyLocator
A helper object to locate a Primitive in the model.
func (*PKeyLocator) Located ¶ added in v0.0.27
func (loc *PKeyLocator) Located() bool
Return true if the locator is at the last level and therefore primitive has been located.
func (*PKeyLocator) NextIndex ¶ added in v0.0.27
func (loc *PKeyLocator) NextIndex() int
Advance the level and return the index at that level.
Click to show internal directories.
Click to hide internal directories.