PopUpMenuElement.this

Generates a menu element with the supplied parameters. Text formatting can be supplied with the objects.

  1. this(string source, dstring text, dstring secondaryText, PopUpMenuElement[] subElements)
  2. this(string source, Text text, Text secondaryText, PopUpMenuElement[] subElements)
    class PopUpMenuElement
    this
    (
    string source
    ,
    Text text
    ,
    Text secondaryText = null
    ,)

Parameters

source string

source identifier.

text Text

primary text, forced to be left justified.

secondaryText Text

secondary text, forced to be right justified.

subElements PopUpMenuElement[]

any child elements for further submenus.

Meta