Widget Utilities | |
Type | module |
Dictionary | library.widgetutils |
Library | Widget Utilities |
Associations | com.livecode.library.widgetutils |
Summary | A library of utility handlers for functions commonly needed by widgets. |
Description | A library of utility handlers for functions commonly needed by widgets. |
Type | Name | Summary | Syntax |
---|---|---|---|
handler | colorToString | Converts a color to a string representing the color | colorToString(<pColor>,<pIncludeAlpha>) |
- - - | constrainPathToRect | Scales and translates a path to fit within a rectangle | constrainPathToRect(<pTargetRect>,<xPath>) |
- - - | getNativeThemeName | Get the canonical name of the current "native" mobile theme | getNativeThemeName() |
- - - | intToString | Formats an integer as a string | intToString(<pNumber>) |
- - - | paintPlaceholderImage | Paint a placeholder image using an SVG icon and name | paintPlaceholderImage(<pCanvas>,<pBounds>,<pSVGIcon>,<pLabel>,<pFont>,<pColor>) |
- - - | placeholderIcon | Returns a placeholder icon for a given operating system | placeholderIcon(<pOS>) |
- - - | stringToColor | Converts a string to a color | stringToColor(<pString>) |
- - - | stripZeros | Removes any superfluous zeros and decimal places. | stripZeros(<pString>) |
module | Widget Utilities | A library of utility handlers for functions commonly needed by widgets. | stripZeros(<pString>) |