Creates a ButtonType instance with the given text, and the ButtonData set as specified.
text | The string to display in the text property of controls such
as Button . | |
buttonData | The type of button that should be created from this ButtonType. |
Diagram: Dialog