Button Class¶
-
class
NXOpen.BlockStyler.Button¶ Bases:
NXOpen.BlockStyler.UIBlockRepresents a button
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 |
| Bitmap | Returns or sets the Bitmap |
| Enable | Returns or sets the Enable. |
| Expanded | Returns or sets the Expanded |
| Group | Returns or sets the Group |
| HighQualityBitmap | Returns or sets the HighQualityBitmap |
| Label | Returns or sets the Label |
| Localize | Returns or sets the Localize |
| Name | Returns the name of the block or BlockID |
| Show | Returns or sets the Visibility of block. |
| Tag | Returns the Tag for this object. |
| Tooltip | Returns or sets the Tooltip |
| Type | Returns the type of block |
Methods¶
| Method | Description |
|---|---|
| Focus | Focuses on the block. |
| GetBalloonTooltipLayoutMembers | Gets the BalloonTooltipLayout member |
| GetProperties | Returns the properties of the block |
Property Detail¶
BalloonTooltipImage¶
-
Button.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¶
-
Button.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¶
-
Button.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: balloonTooltipText (str) – New in version NX8.5.0.
License requirements: None.
Bitmap¶
-
Button.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.
HighQualityBitmap¶
-
Button.HighQualityBitmap¶ Returns or sets the HighQualityBitmap
-------------------------------------Getter Method
Signature
HighQualityBitmapReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HighQualityBitmapParameters: hishQuality (bool) – New in version NX8.5.0.
License requirements: None.
Localize¶
-
Button.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.
Tooltip¶
-
Button.Tooltip¶ Returns or sets the Tooltip
-------------------------------------Getter Method
Signature
TooltipReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TooltipParameters: tooltipString (str) – New in version NX8.5.0.
License requirements: None.