    -baseColor
        type: color
        Set default colour for the text widget.

    -baseFont
        type: FONT
        Set default font for the text widget.

    -scrollbar
        type: always, never, automatic (default: automatic)
        When to show scrollbars. If the value is a list of two elements, the first value
        is for the horizontal scrollbar and the second value for the vertical scrollbar.

    -pixelsInsideWrap
        type: integer
        Pixels between lines after wrap.

    -pixelsBelowLines
        type: integer
        Pixels below lines.

    -pixelsAboveLines
        type: integer
        Pixels above lines.

    -editable
        type: boolean (default: 1)
        Whether the text in the widget is editable.

    -wrapMode
        type: ONEOF none, char, word
        Wrap mode used for the rendering of the cells.

    -justify
        type: ONEOF left, right, center, fill
        Justification of the lines in one cell.

    -leftMargin
        type: integer

    -rightMargin
        type: integer

    -indent
        type: integer

    -cursorVisible
        type: boolean (default: 1)
        Whether the cursor is visible.

    -hasFocus
        type: 1
        This sets the focus to the widget. To unset the focus it must be set to another widet.

    -heightRequest
        type: int
        Height which is requested in the parent widget. The actual height can be larger.
        Using the value -1 will set the height to fit the existing content of the textBuffer.

    -sensitive
        type: boolean (default: 1)
        Whether or not the item is sensitve to user input.

    -visible
        type: boolean (default: 1)
        Whether or not the item is visible.

    -name
        type: string
        Name of the widget, can be used to set options in an rc file.

    -onShowHelp
        type: string (default: "")
        Tcl command which is executed in the global scope if the "show-help" signal is
        recieved, which is normally the case if the user presses F1 or Ctrl-F1.
        Before evaluation the following percent strings are substituated
            %w widget name
            %h help type: either "whatsThis" or "tooltip"

    -tooltip
        type: string
        Message that appear next to this widget when the mouse pointer is held over
        it for a short amount of time.

    -onButtonPress
        type: string (default: "")
        Tcl command which is executed if a mouse button is pressed inside the widget.
        Before evaluation the following percent strings are substituted:
            %w widget name
            %t type of event: one of buttonPress, button2Press or button3Press
            %x x coordinate
            %y y coordinate
            %b button number
            %s state of the buttons and modifiers (bitmask)

    -onButtonRelease
        type: string (default: "")
        Tcl script which is executed if a mouse button is released inside the widget.
        Before evaluation the following percent strings are substituted:
            %w widget name
            %t type of event: one of buttonPress, button2Press or button3Press
            %x x coordinate
            %y y coordinate
            %b button number
            %s state of the buttons and modifiers (bitmask)
        Note:
        * This is a GtkTextView event binding.
        * In order to obtain updated cursors position etc, use bindings on the ButtonRelease event.

    -onInsertText
         Before evaluation the following percent strings are substituted:
            %t text inserted
            %l length of text inserted
            %r row into which text inserted
            %c column into which text inserted.
        Note:
        * This is a GtkTextBuffer signal binding.

    -onDeleteRange
        Before evaluation the following percent strings are substituted:
            %t text deleted
            %r row
            %col index of the range start
            %l line
            %o offset, at which the range ends.
            %t the string returned in the substitution does not contain any
               characters marked with a tag denoting hidden characters.
        Note:
        * This is a GtkTexBuffer signal binding. (Check this entry for accuracy...)

    -onFocusIn
        Type: String
        Tcl script which is executed whenever the "focus-in" signal is generated.
        Before evaluation the following percent strings are substituted:
            %w
        Note:
        * This is a GtkTextView signal binding.

    -onFocusOut
        Type: String
        Tcl script which is executed whenever the "focus-out" signal is generated.
        Before evaluation the following percent strings are substituted:
            %w
        Note:
        * This is a GtkTextView signal binding.

    -onKeyPress
        type: string (default: "")
        <<description>>

    -onKeyRelease
        This is a widget event binding.
        type: string (default: "")
        <<description>>

    -onMotion
        This is a widget event binding.
        type: string (default: "")
        description

    -onEnter
        type: String
        Tcl script which is execute whenever the "enter" signal is generated.
        Before evaluation the following percent strings are substituted:
            %w

    -onLeave
        Type: String
        Tcl script which is execute whenever the "leave" signal is generated.
        Before evaluation the following percent strings are substituted:
            %w

    -onPopulatePopup
        Type: String
        Tcl script which is execute whenever the "popupulate-popup" signal is generated.
        Before evaluation the following percent strings are substituted:
            %w

    -onScroll
        Type: String
        Tcl script which is executed whenever the "scroll-event" signal is generated.
        Before evaluation the following percent strings are substitued:
            %w widget name
            %d direction of the scroll event: up, down, left, right
            %x x coordinate of pointer in window
            %y y coordinate of pointer in window
            %X x coordinate of pointer in root screen
            %Y y coordinate of pointer in root screen
            %s state of the buttons and modifiers (bitmask)
        Note:
        * Needs more work to implement more percent strings.

      -widthRequest
        type: int
        Width which is requested in the parent widget. The actual width can be larger.
        Using the value -1 will set the height to fit the existing content of the textBuffer.
