Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/ptmultitextsegment_t.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/ptmultitextsegment_t.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/ptmultitextsegment_t.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/ptmultitextsegment_t.html on line 8

PtMultiTextSegment_t

Information about a segment of text in a PtMultiText

Synopsis:

typedef struct Pt_emt_text_segment
{
    PtMultiTextAttributes_t attrs;
    int             first_char;
    int             num_chars;
    struct Pt_emt_text_segment *prev;
    struct Pt_emt_text_segment *next;
} PtMultiTextSegment_t;

Description:

This structure that describes a segment of text in a PtMultiText widget. A segment is a block of text for which some attributes (such as color and font) are set. The members of the PtMultiTextSegment_t structure are:

attrs
The PtMultiTextAttributes_t structure that describes the attributes in effect for this segment of text.
first_char
The multibyte (UTF-8) offset to the first character in the segment. This isn't the byte offset to the first character in the segment.
num_chars
The number of multibyte (UTF-8) characters in the segment.
prev, next
Pointers to the previous and next segments in the PtMultiText widget.

Classification:

Photon

See also:

PtMultiText, PtMultiTextAttributes_t


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/ptmultitextsegment_t.html on line 101

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/ptmultitextsegment_t.html on line 101