next up previous contents index
Next: Step_Button Up: Classes and Methods Previous: Spline_Editor

StaticText

  (subclass of 9.1.3.29 Textmessage)

Nearly the same as Textmessage. The only difference is the better "new-instance" method which has a second parameter for the displayed text and initializes the border state to be bfNoBorder.

   GRAPE(StaticText, "new-instance")(name, lines)
CLASS *StaticText
char *name, *lines
Creates a new StaticText instance named name with the label lines, without border. The text will be displayed left and vertically centered.



SFB 256 Universität Bonn and IAM Universität Freiburg

Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik, Universität Bonn.