DXmCSTextGetTopPosition(3X) — Subroutines
Digital
NAME
DXmCSTextGetTopPosition − Retrieves (returns) the logical position of the first character in the displayed text.
SYNOPSIS
DXmCSTextPosition DXmCSTextGetTopPosition(widget)
Widget widget
DESCRIPTION
The DXmCSTextGetTopPosition routine returns the logical position of the first character in the displayed text. If the direction is left-to-right, the first character is at the top-left of the display. If the direction is right-to-left the first character is at the top-right of the display.
Arguments
widgetThe identifier (widget ID) of the compound string text widget.
RETURN VALUES
An integer that represents the logical position of the first character in the text buffer.