PPGItem

Object Hierarchy | Related C++ Class: PPGItem

Introduced

4.0

Description

This object represents a component of the user interface of a Property Page. Normally a PPGItem represents a user interface control that is directly related to a Parameter of the object that is inspected. For example a PPGItem of type siControlString would display the value of a String parameter. Similarly a PPGItem of type siControlFCurve would show the FCurve contained inside a FCurve Parameter. The connection between the control and its associated Parameter is established based on the PPGItem.Name.

Other PPGItems do not directly correspond to a parameter, for example Buttons, Tabs and Groups.

Each PPGItem exposes a series of "attributes" that can be used to tweak its appearance. Some of the most common attributes are exposed directly as properties of the object, for example PPGItem.Label, whereas the more specialized or uncommon attributes can be accessed via PPGItem.GetAttribute.

PPGItem objects are accessible via the PPGLayout of a ProjectItem.

Methods

GetAttribute

SetAttribute

Properties

Label

LabelMinPixels

LabelPercentage

Name

Type

UIItems

WidthPercentage

 

See Also

PPGLayout

PPGLayout.AddItem

PPGLayout.Item

Examples

• See PPGItem.1.vbs

• See PPGItem.2.js



Autodesk Softimage 2011