PopUpMenuElement.this

Generates a menu element with the supplied parameters. Uses the default formatting to initialize texts.

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

Parameters

source string

source identifier.

text dstring

primary text, forced to be left justified.

secondaryText dstring

secondary text, forced to be right justified.

subElements PopUpMenuElement[]

any child elements for further submenus.

Meta