Window API
|
|||||||||
| Create a new Window Object. | |||||||||
| Syntax | window.create(
|
||||||||
| Returns | table window | ||||||||
| Part of | CC:Tweaked (source) | ||||||||
| API | window | ||||||||
| |||||||||
|
|||||||||||
| Returns the Position of a Window. | |||||||||||
| Syntax | window.getPosition() | ||||||||||
| Returns | number x number y | ||||||||||
| Part of | CC:Tweaked (source) | ||||||||||
| API | window | ||||||||||
| |||||||||||
|
|||||||||
| Redraw a Window. | |||||||||
| Syntax | window.redraw() | ||||||||
| Part of | CC:Tweaked (source) | ||||||||
| API | window | ||||||||
| |||||||||
|
|||||||||
| Moves and optional resizes a window. | |||||||||
| Syntax | window.reposition(
|
||||||||
| Returns | nil | ||||||||
| Part of | CC:Tweaked (source) | ||||||||
| API | window | ||||||||
| |||||||||
|
|||||||||
| Returns the Cursor back to a Window. | |||||||||
| Syntax | window.restoreCursor() | ||||||||
| Returns | nil | ||||||||
| Part of | CC:Tweaked (source) | ||||||||
| API | window | ||||||||
| |||||||||
|
|||||||||
| Change the visibility of a window. | |||||||||
| Syntax | window.setVisible(
|
||||||||
| Returns | nil | ||||||||
| Part of | CC:Tweaked (source) | ||||||||
| API | window | ||||||||
| |||||||||
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.