TextButton - hpi-swa-teaching/MaterialDesignWidgets GitHub Wiki
class MDTextButton
You can create a TextButton by simply calling MDTextButton new openInHand.
This will show the default TextButton.
To create a basic custom MDTextButton you might want to use something like the following:
MDTextButton new
text: 'Change my text';
textColor: '#2196F3';
target: [ self text: 'Button Clicked' ];
actionSelector: #value;
openInHand.
Customizing a MDTextButton
Appearance
text: aStringset the button's texttextColor: aStringOrColorset the text's color
Actions
target: anObjectset the target the messageactionSelectorwill be send toactionSelector: aSymbolOrStringset the message which will be send totargetarguments: aCollectionset the arguments for the messageactionSelectorto be send totargetstate enablemakes the button clickabledefaultstate disableprevents the button from being clicked