Difference between revisions of "Printer.setPageTitle"
From ComputerCraft Wiki
m (NeedsWork: This page lacks any form of template use.) |
(Fixed really bad lack of any form of template use.) |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{lowercase}} |
| − | + | {{Function | |
| − | Printer.setPageTitle("Test page") | + | |name=printer.setPageTitle |
| − | + | |args=[[string (type)|string]] title | |
| − | + | |returns=none | |
| − | + | |api=none | |
| − | Printed Page | + | |addon=ComputerCraft |
| − | Test page | + | |desc=Sets the title of the page being printed |
| − | + | |examples= | |
| − | + | {{Example | |
| + | |desc=Set the title of a page to be printed. | ||
| + | |code=Printer.setPageTitle("Test page") | ||
| + | |output=When the page is hovered-on in the inventory, the tooltip reads "Printed Page; Test page" | ||
| + | }} | ||
| + | }} | ||
[[Category:Lua_Core_Functions]] | [[Category:Lua_Core_Functions]] | ||
Revision as of 23:25, 28 November 2012
| Sets the title of the page being printed | |
| Syntax | printer.setPageTitle(string title) |
| Returns | none |
| Part of | ComputerCraft |
| API | none |
Examples
| Set the title of a page to be printed. | |
| Code |
Printer.setPageTitle("Test page")
|
| Output | When the page is hovered-on in the inventory, the tooltip reads "Printed Page; Test page" |