TextItem
Section: ET++ class description (n)
Updated: automatically Fri Mar 15 14:06:41 1991
Index
Return to Main Contents
NAME
TextItem - a non-editable, one-line text with a certain font
DESCRIPTION
The TextItem is a non-editable, one-line text. The TextItem displays a string in a certain font and reserves a gap between its border and the text. All three attributes, text, font and border, can be set individually. The string to be displayed should not contain newline or other control characters because they are not interpreted. If that is required, use an EditTextItem or a StaticTextView instead.
classes are never derived from TextItem.
class TextItem
is often reused directly.
class TextItem contains 16 methods.
- owner of class:
-
nobody.
- baseclasses:
-
VObject
- subclasses:
-
PathSeparatorItem
- flags:
-
VObjFlags
INSTANCE VARIABLES
- border (protected Point)
-
the horizontal and vertical gaps between the edges of the content rectangle and the text. It can be accessed with the method SetBorder.
- font (protected FontPtr)
-
the font used for displaying the text. It can be accessed with the method GetFont and the method SetFont.
- text (protected char *)
-
the text to be displayed. It can be accessed with the method AsString, the method SetString and the method SetFString.
INSTANCE METHOD LIST
- client interface
-
AsString
GetFont
SetBorder
SetFString
SetFont
SetString
TextItem
- implementation
-
Base
Draw
GetMinSize
InspectorId
PrintOn
ReadFrom
SetExtent
~TextItem
CATEGORIES
Simple Dialog Items
FILES
- declaration:
-
TextItem.h
HISTORY
joe@csesbg.at Tue Sep 10 12:08 1991 MET DST
man2html: unable to open or read file
../mann/TextItem::AsString.n
man2html: unable to open or read file
../mann/TextItem::Base.n
man2html: unable to open or read file
../mann/TextItem::Draw.n
man2html: unable to open or read file
../mann/TextItem::GetFont.n
man2html: unable to open or read file
../mann/TextItem::GetMinSize.n
man2html: unable to open or read file
../mann/TextItem::InspectorId.n
man2html: unable to open or read file
../mann/TextItem::PrintOn.n
man2html: unable to open or read file
../mann/TextItem::ReadFrom.n
man2html: unable to open or read file
../mann/TextItem::SetBorder.n
man2html: unable to open or read file
../mann/TextItem::SetExtent.n
man2html: unable to open or read file
../mann/TextItem::SetFString.n
man2html: unable to open or read file
../mann/TextItem::SetFont.n
man2html: unable to open or read file
../mann/TextItem::SetString.n
man2html: unable to open or read file
../mann/TextItem::TextItem.n
man2html: unable to open or read file
../mann/TextItem::~TextItem.n
Index
- NAME
-
- DESCRIPTION
-
- INSTANCE VARIABLES
-
- INSTANCE METHOD LIST
-
- CATEGORIES
-
- FILES
-
- HISTORY
-
This document was created by
man2html,
using the manual pages.
Time: 00:40:23 GMT, March 30, 2022