mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2024-12-25 09:59:21 +01:00
Fix window methods
This commit is contained in:
parent
01a110d97c
commit
f8d0ffed89
1 changed files with 6 additions and 10 deletions
|
@ -42,12 +42,10 @@ end
|
|||
---
|
||||
---See `WindowModule.move_to_tag` for examples.
|
||||
---
|
||||
---@param name string
|
||||
---@param output Output?
|
||||
---@overload fun(self: self, t: Tag)
|
||||
---@param t Tag|TagTable|TagTableNamed|string
|
||||
---@see WindowModule.move_to_tag — The corresponding module function
|
||||
function window:move_to_tag(name, output)
|
||||
window_module.move_to_tag(self, name, output)
|
||||
function window:move_to_tag(t)
|
||||
window_module.move_to_tag(self, t)
|
||||
end
|
||||
|
||||
---Toggle the specified tag for this window.
|
||||
|
@ -55,12 +53,10 @@ end
|
|||
---Note: toggling off all tags currently makes a window not respond to layouting.
|
||||
---
|
||||
---See `WindowModule.toggle_tag` for examples.
|
||||
---@param name string
|
||||
---@param output Output?
|
||||
---@overload fun(self: self, t: Tag)
|
||||
---@param t Tag|TagTable|TagTableNamed|string
|
||||
---@see WindowModule.toggle_tag — The corresponding module function
|
||||
function window:toggle_tag(name, output)
|
||||
window_module.toggle_tag(self, name, output)
|
||||
function window:toggle_tag(t)
|
||||
window_module.toggle_tag(self, t)
|
||||
end
|
||||
|
||||
---Close this window.
|
||||
|
|
Loading…
Reference in a new issue