IsDisabled returns whether this node is flagged as [Disabled]. If so, behave and style appropriately.
()
| 52 | // IsDisabled returns whether this node is flagged as [Disabled]. |
| 53 | // If so, behave and style appropriately. |
| 54 | func (wb *WidgetBase) IsDisabled() bool { |
| 55 | return wb.StateIs(states.Disabled) |
| 56 | } |
| 57 | |
| 58 | // IsReadOnly returns whether this node is flagged as [ReadOnly] or [Disabled]. |
| 59 | // If so, behave appropriately. Styling is based on each state separately, |
no test coverage detected