*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> XmTextGetTopCharacter (3)              
Title
Content
Arch
Section
 

Contents


 XmTextGetTopCharacter(library call)     XmTextGetTopCharacter(library call)




 NAME    [Toc]    [Back]
      XmTextGetTopCharacter - A Text function that accesses the position of
      the first character displayed

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/Text.h>
      XmTextPosition XmTextGetTopCharacter(
      Widget widget);

 DESCRIPTION    [Toc]    [Back]
      XmTextGetTopCharacter accesses the position of the text at the top of
      the Text widget.  If there is no text in the Text widget (in other
      words, XmNvalue contains an empty string), then XmTextGetTopCharacter
      returns 0.

      Suppose that the XmNtopCharacter resource has been set to a value
      greater than the number of characters in the text widget. In this
      case, XmTextGetTopCharacter returns an XmTextPosition value
      identifying the position of the first character in the last line of
      text in a multiline case; otherwise, it identifies the position of the
      last character in the line.

      widget    Specifies the Text widget ID

      For a complete definition of Text and its associated resources, see
      XmText(3).

 RETURN    [Toc]    [Back]
      Returns an XmTextPosition value that indicates the state of the
      XmNtopCharacter resource. This is an integer number of characters from
      the beginning of the text buffer. The first character position is 0
      (zero).

 RELATED    [Toc]    [Back]
      XmText(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
XmTextSetTopCharacter Tru64 A Text function that sets the position of the first character displayed
XmTextSetTopCharacter HP-UX A Text function that sets the position of the first character displayed
XmTextSetTopCharacter IRIX A Text function that sets the position of the first character displayed
XmTextXYToPos HP-UX A Text function that accesses the character position nearest an x and y position
XmTextXYToPos Tru64 A Text function that accesses the character position nearest an x and y position
XmTextXYToPos IRIX A Text function that accesses the character position nearest an x and y position
XmTextPosToXY IRIX A Text function that accesses the x and y position of a character position
XmTextPosToXY HP-UX A Text function that accesses the x and y position of a character position
XmTextPosToXY Tru64 A Text function that accesses the x and y position of a character position
XmTextFieldGetLastPosition IRIX A TextField function that accesses the position of the last text character
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service