slint/internal
Nigel Breslaw 538f8bde19
Allow checking at runtime about the current theme (#8049)
Although std-widgets provides many properties that adapt to the current theme users who would like to go beyond these properties and do theme dependent changes are limited. One option would be to add even more properties to the Palette, however this would potentially bloat the object, it's not obvious what properties users care about and this approach doesn't scale. In many cases developers could simply create their own properties if they knew what the current runtime theme was.

This simple change allows an app to know what the current theme is and present theme appropriate UI's.
2025-04-04 14:44:14 +03:00
..
backends Fixup menu separator with muda 2025-04-03 15:49:35 +02:00
common Introduce MenuSeparator 2025-04-02 11:50:45 +02:00
compiler Allow checking at runtime about the current theme (#8049) 2025-04-04 14:44:14 +03:00
core HSV should wrap hue values otherwise it outputs an invalid hue of black (#8024) 2025-04-03 12:33:40 +03:00
core-macros doc: Separate out the MenuBar element docs into a dedicated element under Window 2025-02-26 16:46:36 +01:00
interpreter ci: Format toml files 2025-04-02 11:03:41 +02:00
renderers ci: Format toml files 2025-04-02 11:03:41 +02:00