Pinnacle : Widgets (Menus)
Description
Widgets are parts of user-generated menus. All menus are comprised of a full canvas that’s divided down into individual parts (widget classes). These widgets have different appearances and perform different actions.
Uses
Colors
QueryColorKey = "blue"; // Sets color of buttonsClasses
| ArrowRight | ArrowLeft | ArrowUp | ArrowDown | Canvas | CascadeButton | ComboBox |
| ColorIcon | Dial | DismissButton | DrawingArea | EntryField | Form | Frame |
| HelpButton | Icon | Label | List | ListTree | MenuBar | MultiList |
| MultiText | OptionMenu | Panel | Plot | PushButton | RadioBox | RadioBoxHorizontal |
| Scale | ScaleHorizontal | ScrollBar | ScrollBarHorizontal | ScrolledWindow | Separator | StatusDial |
| TabList | Text | ToggleButton/Checkbox | TrueFalse | TrueFalseHorizontal | VerticalSeparator | WarningLabel |
| XText | YesNo | YesNoHorizontal |
[1]
Examples
ArrowDown

Store .At .TempWindow .AddChild = "";
Store .At .TempWindow .WidgetList.Last = {
WidgetClass = "ArrowDown";
ParentName = "SomeParent";
Name = "Arrow";
X = 170;
Y = 100;
AddAction = "";
ReplaceCurrentAction = "Script.ExecuteNow = /usr/local/adacnew/PinnacleSiteData/Scripts/Example.Script";
};ArrowLeft

Store .At .TempWindow .AddChild = "";
Store .At .TempWindow .WidgetList.Last = {
WidgetClass = "ArrowLeft";
ParentName = "SomeParent";
Name = "Arrow";
X = 170;
Y = 100;
AddAction = "";
ReplaceCurrentAction = "Script.ExecuteNow = /usr/local/adacnew/PinnacleSiteData/Scripts/Example.Script";
};ArrowRight

Store .At .TempWindow .AddChild = "";
Store .At .TempWindow .WidgetList.Last = {
WidgetClass = "ArrowRight";
ParentName = "SomeParent";
Name = "Arrow";
X = 170;
Y = 100;
AddAction = "";
ReplaceCurrentAction = "Script.ExecuteNow = /usr/local/adacnew/PinnacleSiteData/Scripts/Example.Script";
};ArrowUp

Store .At .TempWindow .AddChild = "";
Store .At .TempWindow .WidgetList.Last = {
WidgetClass = "ArrowUp";
ParentName = "SomeParent";
Name = "Arrow";
X = 170;
Y = 100;
AddAction = "";
ReplaceCurrentAction = "Script.ExecuteNow = /usr/local/adacnew/PinnacleSiteData/Scripts/Example.Script";
};ComboBox
- This seems to lock my session if I use it like an OptionMenu (i.e. replace “OptionMenu” with “ComboBox” in “WidgetClass = “
