File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -293,6 +293,30 @@ Toggles the given tag on this window.
293293
294294
295295
296+ ### <Badge type =" method " text =" method " /> set_tags
297+
298+ <div class =" language-lua " ><pre ><code >function pinnacle.window.WindowHandle:set_tags(tags: <a href =" /lua-reference/main/classes/pinnacle.tag.TagHandle " >pinnacle.tag.TagHandle</a >[])</code ></pre ></div >
299+
300+ Sets the exact provided tags on this window.
301+
302+ Passing in an empty table will not change the window's tags.
303+
304+ #### Example
305+ ``` lua
306+ -- Sets the focused window's tags to "1" and "3", removing all others
307+ Window .get_focused ():set_tags ({ Tag .get (" 1" ), Tag .get (" 2" ) })
308+ ```
309+
310+
311+ #### Parameters
312+
313+ ` tags ` : <code ><a href =" /lua-reference/main/classes/pinnacle.tag.TagHandle " >pinnacle.tag.TagHandle</a >[ ] </code > - The tags to set
314+
315+
316+
317+
318+
319+
296320### <Badge type =" method " text =" method " /> raise
297321
298322<div class =" language-lua " ><pre ><code >function pinnacle.window.WindowHandle:raise()</code ></pre ></div >
You can’t perform that action at this time.
0 commit comments