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/pt/ptmultitextmodifyattributes.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/pt/ptmultitextmodifyattributes.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/pt/ptmultitextmodifyattributes.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/pt/ptmultitextmodifyattributes.html on line 8

PtMultiTextModifyAttributes()

Modify the attributes of a PtMultiText widget

Synopsis:

void PtMultiTextModifyAttributes( 
        PtWidget_t *widget,
        int start,
        int end,
        PtMultiTextAttributes_t const *attrs,
        int attributes_mask );

Description:

This function applies attributes to a range of characters within the specified PtMultiText widget. All characters from start up to, but not including, end are affected.

The attributes that this function applies are taken from the provided PtMultiTextAttributes_t structure. Only the attributes specified in attributes_mask are applied. The valid bits for this mask are:


Note: This function causes a nondestructive deselect before attempting the changes.

Examples:

See PtMultiTextGetAttributes().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtTextGetSelection(), PtTextModifyText(), PtTextSetSelection(), 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/pt/ptmultitextmodifyattributes.html on line 139

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/pt/ptmultitextmodifyattributes.html on line 139