Toggle Class¶
-
class
NXOpen.BlockStyler.Toggle¶ Bases:
NXOpen.BlockStyler.UIBlockRepresents a Toggle block
New in version NX8.5.0.
Properties¶
| Property | Description |
|---|---|
| BalloonTooltipLayoutAsString | Returns or sets the BalloonTooltipLayout as string |
| BalloonTooltipOffImage | Returns or sets the BalloonTooltipOffImage |
| BalloonTooltipOffText | Returns or sets the BalloonTooltipOffText |
| BalloonTooltipOnImage | Returns or sets the BalloonTooltipOnImage |
| BalloonTooltipOnText | Returns or sets the BalloonTooltipOnText |
| Bitmap | Returns or sets the Bitmap |
| BitmapOnly | Returns or sets the BitmapOnly |
| 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¶
BalloonTooltipLayoutAsString¶
-
Toggle.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.
BalloonTooltipOffImage¶
-
Toggle.BalloonTooltipOffImage¶ Returns or sets the BalloonTooltipOffImage
-------------------------------------Getter Method
Signature
BalloonTooltipOffImageReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BalloonTooltipOffImageParameters: imageString (str) – New in version NX8.5.0.
License requirements: None.
BalloonTooltipOffText¶
-
Toggle.BalloonTooltipOffText¶ Returns or sets the BalloonTooltipOffText
-------------------------------------Getter Method
Signature
BalloonTooltipOffTextReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BalloonTooltipOffTextParameters: tooltipString (str) – New in version NX8.5.0.
License requirements: None.
BalloonTooltipOnImage¶
-
Toggle.BalloonTooltipOnImage¶ Returns or sets the BalloonTooltipOnImage
-------------------------------------Getter Method
Signature
BalloonTooltipOnImageReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BalloonTooltipOnImageParameters: imageString (str) – New in version NX8.5.0.
License requirements: None.
BalloonTooltipOnText¶
-
Toggle.BalloonTooltipOnText¶ Returns or sets the BalloonTooltipOnText
-------------------------------------Getter Method
Signature
BalloonTooltipOnTextReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BalloonTooltipOnTextParameters: tooltipString (str) – New in version NX8.5.0.
License requirements: None.
Bitmap¶
-
Toggle.Bitmap¶ Returns or sets the Bitmap
-------------------------------------Getter Method
Signature
BitmapReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BitmapParameters: bitmapString (str) – New in version NX8.5.0.
License requirements: None.
BitmapOnly¶
-
Toggle.BitmapOnly¶ Returns or sets the BitmapOnly
-------------------------------------Getter Method
Signature
BitmapOnlyReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BitmapOnlyParameters: bitmapOnly (bool) – New in version NX8.5.0.
License requirements: None.
Localize¶
-
Toggle.Localize¶ Returns or sets the Localize
-------------------------------------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¶
-
Toggle.RetainValue¶ Returns or sets the RetainValue
-------------------------------------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¶
-
Toggle.Value¶ Returns or sets the Value
-------------------------------------Getter Method
Signature
ValueReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ValueParameters: valueProperty (bool) – New in version NX8.5.0.
License requirements: None.