Index Click this button to go to the index for this section.


DXmCSTextGetTopPosition(3X)

NAME

DXmCSTextGetTopPosition - Retrieves (returns) the logical position of the first character in the displayed text.

SYNOPSIS

DXmCSTextPosition DXmCSTextGetTopPosition(widget) Widget widget;

PARAMETERS

widget The identifier (widget ID) of the compound string text 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.

RETURN VALUES

An integer that represents the logical position of the first character in the text buffer.