importance.go 638 B

1234567891011121314151617181920212223242526272829
  1. package widget
  2. // Importance represents how prominent the widget should appear
  3. //
  4. // Since: 2.4
  5. type Importance int
  6. const (
  7. // MediumImportance applies a standard appearance.
  8. MediumImportance Importance = iota
  9. // HighImportance applies a prominent appearance.
  10. HighImportance
  11. // LowImportance applies a subtle appearance.
  12. LowImportance
  13. // DangerImportance applies an error theme to the widget.
  14. //
  15. // Since 2.3
  16. DangerImportance
  17. // WarningImportance applies a warning theme to the widget.
  18. //
  19. // Since 2.3
  20. WarningImportance
  21. // SuccessImportance applies a success theme to the widget.
  22. //
  23. // Since 2.4
  24. SuccessImportance
  25. )