SHIP:Node:page

From Serious Documentation
Revision as of 07:59, 29 November 2012 by Admin (talk | contribs) (Properties)
Jump to: navigation, search

Node Home

A GUI is generally composed of numerous graphically designed layout screens. Touch buttons navigate within an interactive GUI page and also cause screens to change from one to another. Since the word "screen" can easily be confused with the physical glass screen (vs. the GUI pixel content on the screen), SHIP uses the term "page" instead. The page in the GUI contains the visual layout for a specific GUI page. You can, and probably will, have many pages in a given GUI.

The names of the page nodes traditionally start with lower case "p", such as 'pHome, pSettings', etc., but this is not mandated. The name can be set to any valid name, such as homePage, or main for example.

Parent Nodes

The following nodes are permitted to hold this node:

Child Nodes

The following nodes are permitted to exist within this node:

Properties

Property Data Type Description
SHIP:Property:page:name
SHIP:Property:page:visible
SHIP:Property:page:opacity
SHIP:Property:page:enabled
object Reference (optional) name of an attached object in the resources area.
SHIP:Property:page:bgcolor
SHIP:Property:page:fillcolor
SHIP:Property:page:innercolor
SHIP:Property:page:mt
SHIP:Property:page:mr
SHIP:Property:page:mb
SHIP:Property:page:ml
SHIP:Property:page:pt
SHIP:Property:page:pr
SHIP:Property:page:pb
SHIP:Property:page:pl
SHIP:Property:page:bct
SHIP:Property:page:bcr
SHIP:Property:page:bcb
SHIP:Property:page:bcl

*available at SHIPEngine run time only and cannot be set in SHIPTide. Use a Sail script at shiplaunch time if this property needs to be set when the GUI starts to run.

**available only in SHIPTide; cannot be accessed from Sail scripts at run-time.

Examples