Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSTableViewRowActionMBS class.

NSTableViewRowActionMBS.NSTableViewRowActionStyleDestructive = 1

Type Topic Plugin Version
const Cocoa Controls MBS MacControls Plugin 17.1
Constants that help define the appearance and behavior of action buttons.

Apply a style that indicates that the action might change or delete data. This style changes the value of the backgroundColor property to an appropriate value to reflect the destructive action. After creating the action object, you can change the background color as needed. Destructive actions require a longer swipe to activate, and trigger an animation when a table row is deleted.

NSTableViewRowActionMBS.NSTableViewRowActionStyleRegular = 0

Type Topic Plugin Version
const Cocoa Controls MBS MacControls Plugin 17.1
Constants that help define the appearance and behavior of action buttons.

Apply the default style to the button. This style does not apply any special coloring to the button.

The items on this page are in the following plugins: MBS MacControls Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...