tktag_add: Add tags to Tk text widgets.

View source: R/tcltk__tktag.R

tktag_addR Documentation

Add tags to Tk text widgets.

Description

Add TK text tags to Tk text widgets: tktag_add() adds tags to the places of text that match a pattern. tktag_add_first() in each row, adds tags to the first occurance that matches a pattern. tktag_add_row() adds text tags to the rows that match a pattern.

Usage

tktag_add(obj, tag, pattern, row_ind = NULL, all = TRUE)

tktag_add_first(obj, pattern, tag, row_ind = NULL)

tktag_add_row(obj, pattern, tag)

Arguments

obj

Tk text widget (Tk object).

tag

(string) The namo of a tag to add.

pattern

(string) Text pattern to add text at.

row_ind

(integer) Row indices.

all

(logical) If TRUE, adds tag to all matches, if FALSE, adds tag to the first match only.

See Also

tcltk::tktag.add()


GegznaV/RcmdrPlugin.BioStat documentation built on May 8, 2023, 7:41 a.m.