WoW:XML/MessageFrame: Difference between revisions

From AddOn Studio
< XML
Jump to navigation Jump to search
(Created page with 'Derived from: Frame Elements: FontString, TextInsets Attributes: fadeDuration, insertMode Category:XML elements')
 
mNo edit summary
Line 1: Line 1:
==Inheritance==
{{uixmlelem}}
Derived from: <[[XML/Frame|Frame]]>
[[Category:XML elements]]


==Elements==
== Inheritance ==
<[[XML/FontString|FontString]]>, <[[XML/TextInsets|TextInsets]]>
: Inherited by: none, Inherits: <[[XML/Frame|Frame]]>, Runtime object: [[UIOBJECT_MessageFrame|MessageFrame]]
: Defined in: [[XML/Frames|Frames]], [[XML/Ui|Ui]]


==Attributes==
== Elements ==
;font
* <[[XML/FontString|FontString]]>
:{{attrtype|string}}
* <[[XML/TextInsets|TextInsets]]>
;fade
 
:{{attrtype|boolean|true}} Whether the message should fade ("true" fades, "false" disappears instantly)
== Attributes ==
;fadeDuration
* font {{attrtype|string}}
:{{attrtype|float|3.0}}
* fade {{attrtype|boolean|true}} - whether the message should fade. "true" fades, "false" disappears instantly.
;displayDuration
* fadeDuration {{attrtype|float|3.0}}
:{{attrtype|float|10.0}}
* displayDuration {{attrtype|float|10.0}}
;insertMode
* insertMode {{attrtype|string|BOTTOM}} - where should new lines appear. Possible values: "TOP", "BOTTOM".
:{{attrtype|string|BOTTOM}} Where should new lines appear. Possible values: "TOP", "BOTTOM".
* displayDuration {{attrtype|float|10.0}}
;displayDuration
:{{attrtype|float|10.0}}
[[Category:XML elements]]
[[Category:XML elements]]

Revision as of 01:47, 17 December 2020

XML UI ← XML elements < MessageFrame

Inheritance

Inherited by: none, Inherits: <Frame>, Runtime object: MessageFrame
Defined in: Frames, Ui

Elements

Attributes

  • font (string)
  • fade (boolean) Default is true. - whether the message should fade. "true" fades, "false" disappears instantly.
  • fadeDuration (float) Default is 3.0.
  • displayDuration (float) Default is 10.0.
  • insertMode (string) Default is "BOTTOM". - where should new lines appear. Possible values: "TOP", "BOTTOM".
  • displayDuration (float) Default is 10.0.