Window (API)

From ComputerCraft Wiki
Revision as of 09:22, 6 April 2014 by MKlegoman357 (Talk | contribs) (Added {{NeedsWork}} tag)

Jump to: navigation, search
This page needs some serious TLC, stat!
Please help us by cleaning it, fixing it up, or sparing it some love.
(Reason: This page needs more explanation and examples. MKlegoman357 09:22, 6 April 2014 (GMT))

Added by ComputerCraft 1.6, the Window API allows easy definition of spaces within the display that can be written / drawn to, then repositioned or hidden (along with their contents).

API

Returns Method name Description
table window object window.create(table parentTerm, number x, number y, number width, number height [, boolean visible]) Creates and returns a new window object, similar to a wrapped monitor. Refer to the term API for a list of functions attached to it.