RGBColorPicker Class¶
-
class
NXOpen.BlockStyler.RGBColorPicker¶ Bases:
NXOpen.BlockStyler.UIBlockRepresents a RGB Color Picker block
New in version NX8.5.0.
Properties¶
| Property | Description |
|---|---|
| BalloonTooltipImage | Returns or sets the BalloonTooltipImage |
| BalloonTooltipLayoutAsString | Returns or sets the BalloonTooltipLayout as string |
| BalloonTooltipText | Returns or sets the BalloonTooltipText |
| Enable | Returns or sets the Enable. |
| Expanded | Returns or sets the Expanded |
| Group | Returns or sets the Group |
| Label | Returns or sets the Label |
| Localize | Returns or sets the Localize. |
| Name | Returns the name of the block or BlockID |
| RetainValue | Returns or sets the RetainValue. |
| Show | Returns or sets the Visibility of block. |
| Tag | Returns the Tag for this object. |
| Type | Returns the type of block |
| Value | Returns or sets the Value |
Methods¶
| Method | Description |
|---|---|
| Focus | Focuses on the block. |
| GetBalloonTooltipLayoutMembers | Gets the BalloonTooltipLayout member |
| GetProperties | Returns the properties of the block |
Property Detail¶
BalloonTooltipImage¶
-
RGBColorPicker.BalloonTooltipImage¶ Returns or sets the BalloonTooltipImage
-------------------------------------Getter Method
Signature
BalloonTooltipImageReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BalloonTooltipImageParameters: imageString (str) – New in version NX8.5.0.
License requirements: None.
BalloonTooltipLayoutAsString¶
-
RGBColorPicker.BalloonTooltipLayoutAsString¶ Returns or sets the BalloonTooltipLayout as string
-------------------------------------Getter Method
Signature
BalloonTooltipLayoutAsStringReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BalloonTooltipLayoutAsStringParameters: enumString (str) – New in version NX8.5.0.
License requirements: None.
BalloonTooltipText¶
-
RGBColorPicker.BalloonTooltipText¶ Returns or sets the BalloonTooltipText
-------------------------------------Getter Method
Signature
BalloonTooltipTextReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BalloonTooltipTextParameters: tooltipText (str) – New in version NX8.5.0.
License requirements: None.
Localize¶
-
RGBColorPicker.Localize¶ Returns or sets the Localize.
If true, the Label is translated to current locale language.
-------------------------------------Getter Method
Signature
LocalizeReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LocalizeParameters: localize (bool) – New in version NX8.5.0.
License requirements: None.
RetainValue¶
-
RGBColorPicker.RetainValue¶ Returns or sets the RetainValue.
If true, the block’s value will be saved in dialog memory upon OK, Apply or Close.
-------------------------------------Getter Method
Signature
RetainValueReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RetainValueParameters: retain (bool) – New in version NX8.5.0.
License requirements: None.
Value¶
-
RGBColorPicker.Value¶ Returns or sets the Value
-------------------------------------Getter Method
Signature
ValueReturns: Return type: int New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ValueParameters: rgbValue (int) – New in version NX8.5.0.
License requirements: None.