Gaming
 

MCom.textFrame

From WoWWiki

This article is a part of the documentation of the MCom function library

 --[[
   textFrame ( { reglist } )
     Displays the passed text in a multipage scrollable frame.
     This will not be available if the ItemTextFrame has been opened by the game.
     
   Args:
     reglist - Either a table with the options, or a string or list of strings to display as
               the text.
       {
       Required:
         (string or table) text -  The text you want to display, if this is a table, then each
                                   numbered entry will be a page.
       
       Optional:
         (string) title -  The title to display at the top of the frame.
         (string) material - The appearance to use for the frame, can be "Stone", "Parchment", "Marble", "Silver",
                             or "Bronze", defaults to "Stone" font with a black background.
         (number) textscale -  What size to scale the text to, relative to normal (Ex. 1 is normal, 0.5 is half),
                               defaults to 0.85
       }
   
   Returns:
     true - The text frame was displayed
     true - The text frame was not displayed
 ]]--