A mred:media-text% object is an area of editable text, with an optional label displayed in front of it. It is used just like a wx:text%.
If func is not null, it is used as the callback for the following event types:
If label is not null, it will be used to label the text item. Otherwise, no label will be used. The label string can mark a character of the label as the Windows shortcut by preceding the key with an ampersand (``&''). Ampersands are stripped from label before it is used as a label. Double ampersands are converted to a single (unstripped) ampersand.
The parameters x and y are used to specify an absolute position for the text item within the panel; if -1 is provided, a default position will be assigned such that the text item is placed next to the last item inserted into the panel. If width or height is -1, an appropriate size will be used for the text item based on the inital value string.
The style argument is a bitwise-ior combination of any of the following:
The name argument is used to associate a name with the text field, allowing the application user to set X Windows resource values for each individual text field.