diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-09-13 10:17:34 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-09-13 10:17:34 +1000 |
| commit | 1106012bde558dab5e192c2129178d44f80b9e4e (patch) | |
| tree | 12e57cd25efda02a1c6dd58250b3fe8a644434de /luals-stubs/theme.lua | |
| parent | d8b9e65e68214b4aa2bb24ddae3602d5788bc469 (diff) | |
| parent | a174d76aa16e09ddfc2ce67393c92ed947a817a5 (diff) | |
| download | tangara-fw-1106012bde558dab5e192c2129178d44f80b9e4e.tar.gz | |
Merge branch 'main' into jqln/tts
Diffstat (limited to 'luals-stubs/theme.lua')
| -rw-r--r-- | luals-stubs/theme.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/luals-stubs/theme.lua b/luals-stubs/theme.lua index 4a945cb3..5ad1d558 100644 --- a/luals-stubs/theme.lua +++ b/luals-stubs/theme.lua @@ -15,11 +15,12 @@ function theme.load_theme(filename) end --- @param theme function theme.set(theme) end ---- Set the style name (similar in concept to a css selector) for an object ---- This will set any styles associated with that style name on the object +--- Set the subject (similar in concept to a css class) of an object. +--- This will set any styles within the theme associated with that subject +--- on the given object --- @param obj Object The object to set a particular style on --- @param style string The name of the style to apply to this object -function theme.set_style(obj, style) end +function theme.set_subject(obj, subject_name) end --- Returns the filename of the saved theme --- @return string |
