Difference between revisions of "Printer.setPageTitle"
From ComputerCraft Wiki
(Fixed really bad lack of any form of template use.) |
m (-> printer api) |
||
Line 4: | Line 4: | ||
|args=[[string (type)|string]] title | |args=[[string (type)|string]] title | ||
|returns=none | |returns=none | ||
− | |api= | + | |api=printer |
|addon=ComputerCraft | |addon=ComputerCraft | ||
|desc=Sets the title of the page being printed | |desc=Sets the title of the page being printed |
Revision as of 10:03, 30 November 2012
Function printer.setPageTitle | |
Sets the title of the page being printed | |
Syntax | printer.setPageTitle(string title) |
Returns | none |
Part of | ComputerCraft |
API | printer |
Examples
Example | |
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" |