LabelItem Class¶
-
class
NXOpen.UIStyler.LabelItem¶ Bases:
NXOpen.UIStyler.StylerItemRepresents a Label for UI Styler.
New in version NX5.0.0.
Properties¶
| Property | Description |
|---|---|
| Sensitivity | Returns or sets the seisitivity of the dialog item |
| Visibility | Returns or sets the visibility of the dialog item |
Methods¶
| Method | Description |
|---|---|
| Dispose | Free resources associated with the instance. |
| GetItemType | Gets the dialog item type. |
| InitializeAttachment | Returns initialized dialog item attachment information |
| IsEqualTo | Equates two styler items |
| SetAttachment | Specifies the updated dialog item attachment information |
| SetBitmap | Specifies a filename that contains a bitmap definition. |
| SetLabel | Specifies descriptive text to display for the dialog item. |
Property Detail¶
Sensitivity¶
-
LabelItem.Sensitivity¶ Returns or sets the seisitivity of the dialog item
-------------------------------------Getter Method
Signature
SensitivityReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SensitivityParameters: type (bool) – New in version NX5.0.0.
License requirements: None.
Visibility¶
-
LabelItem.Visibility¶ Returns or sets the visibility of the dialog item
-------------------------------------Getter Method
Signature
VisibilityReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
VisibilityParameters: type (bool) – New in version NX5.0.0.
License requirements: None.
Method Detail¶
SetBitmap¶
-
LabelItem.SetBitmap¶ Specifies a filename that contains a bitmap definition.
The filename must contain a UBM, XPM, or BMP extension. When you use this field, the system displays a bitmap for this dialog item instead of a text label. When a bitmap is present, the system uses the text label as tooltip text when a user places the mouse cursor over the bitmap. We recommend that you use a 16x16 bitmap for this dialog item.
Signature
SetBitmap(bitmapFile)Parameters: bitmapFile (str) – New in version NX5.0.0.
License requirements: None.