Button Class

class NXOpen.BlockStyler.Button

Bases: NXOpen.BlockStyler.UIBlock

Represents 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 BalloonTooltipImage

Returns:
Return type:str

New in version NX8.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature BalloonTooltipImage

Parameters:imageString (str) –

New in version NX8.5.0.

License requirements: None.

BalloonTooltipLayoutAsString

Button.BalloonTooltipLayoutAsString

Returns or sets the BalloonTooltipLayout as string

-------------------------------------

Getter Method

Signature BalloonTooltipLayoutAsString

Returns:
Return type:str

New in version NX8.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature BalloonTooltipLayoutAsString

Parameters:enumString (str) –

New in version NX8.5.0.

License requirements: None.

BalloonTooltipText

Button.BalloonTooltipText

Returns or sets the BalloonTooltipText

-------------------------------------

Getter Method

Signature BalloonTooltipText

Returns:
Return type:str

New in version NX8.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature BalloonTooltipText

Parameters:balloonTooltipText (str) –

New in version NX8.5.0.

License requirements: None.

Bitmap

Button.Bitmap

Returns or sets the Bitmap

-------------------------------------

Getter Method

Signature Bitmap

Returns:
Return type:str

New in version NX8.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Bitmap

Parameters:bitmapString (str) –

New in version NX8.5.0.

License requirements: None.

HighQualityBitmap

Button.HighQualityBitmap

Returns or sets the HighQualityBitmap

-------------------------------------

Getter Method

Signature HighQualityBitmap

Returns:
Return type:bool

New in version NX8.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature HighQualityBitmap

Parameters:hishQuality (bool) –

New in version NX8.5.0.

License requirements: None.

Localize

Button.Localize

Returns or sets the Localize

-------------------------------------

Getter Method

Signature Localize

Returns:
Return type:bool

New in version NX8.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Localize

Parameters:localize (bool) –

New in version NX8.5.0.

License requirements: None.

Tooltip

Button.Tooltip

Returns or sets the Tooltip

-------------------------------------

Getter Method

Signature Tooltip

Returns:
Return type:str

New in version NX8.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Tooltip

Parameters:tooltipString (str) –

New in version NX8.5.0.

License requirements: None.

Method Detail

GetBalloonTooltipLayoutMembers

Button.GetBalloonTooltipLayoutMembers

Gets the BalloonTooltipLayout member

Signature GetBalloonTooltipLayoutMembers()

Returns:Value to get for given name.
Return type:list of str

New in version NX8.5.0.

License requirements: None.