background image
C H A P T E R 1 9
Built-in Applications and System Data
19-58
Summary
Extras Drawer Functions and Methods
19
extrasDrawer
:AddExtraIcon(
iconType
,
paramFrame
,
pkgName
,
store
)
// adds an icon (platform file function)
extrasDrawer
:GetExtraIcons(
iconType
,
pkgName
,
store
)
// returns array of icons added with AddExtraIcon
extrasDrawer
:GetPartCursor(
packageName
,
store
,
folderSym
)
// returns cursor that iterates over parts (icons)
// (platform file function)
extrasDrawer
:GetPartEntryData(
entry
) // returns information
// about a part (platform file function)
extrasDrawer
:LaunchPartEntry(
entry
) // launches a part entry
// (platform file function)
extrasDrawer
:RemoveExtraIcon(
extraIcon
) // removes an icon
// added with AddExtraIcon
extrasDrawer
:SetExtrasInfo(
paramFrame
,
newInfo
) //changes
// information about an icon (platform file function)
System Data and Utility Functions
19
GetSysEntryData(
entry
,
path
) // returns the value of a
// specifed slot in a built-in soup entry
GetUserConfig(
configSym
) // returns the value of a user
// configuration variable
RegUserConfigChange(
callbackID
,
callBackFn
) // registers
// a function called when a user configuration
// variable changes
SetSysEntryData(
entry
,
path
,
value
) // sets the value of a
// specifed slot in a built-in soup entry
SetUserConfig(
configSym
,
theValue
) // sets the value of a
// user configuration variable
UnRegUserConfigChange(
appSymbol
) // unregisters a
// function registered by RegUserConfigChange
UseCurrentEmporium() //makes system update user
// configuration variables based on the value of the
// currentEmporium variable
UseCurrentPersona() //makes system update user
// configuration variables based on the value of the
// currentPersona variable
© 2007-2017, o7 studio » при воспроизведении материала сайта ссылка обязательна