window.setVisible
window.setVisible Function | |
---|---|
Syntax window.setVisible(
| |
Returns | nil |
API | window |
Source | CC:Tweaked (source) |
Change the visibility of a window.
|
|||
Hide a Window | |||
Code | <nowiki>
local win = window.create(term.current(),1,1,10,10)
win.write("This Text will disappear in 5 seconds")
sleep(5)
win.setVisible(false)
</nowiki>
|
Functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Lua |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CC:Tweaked |
|
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.