CTagEdit
Multi-tag editor. Tags are trimmed, single-line and unique (case-sensitive). Enter commits, the remove glyph deletes a tag, and Backspace on empty input deletes the last tag. Programmatic setters remain available in read-only mode.
import { CTagEdit } from "canvas-toolkit-lib";Declared members
readonly tagsChanged: CSignal<[string[]]>;constructor(parent?: CWidget | null);tags(): string[];count(): number;lineEdit(): CLineEdit;completer(): CCompleter | null;setCompleter(completer: CCompleter | null): void;Borrows a completer; its original source and filter are retained.
destroy(): void;isReadOnly(): boolean;placeholderText(): string;setPlaceholderText(text: string): void;setTags(tags: readonly string[]): void;addTag(text: string): boolean;removeTag(text: string): boolean;clear(): void;commit(): boolean;Commits nonempty pending input; duplicate input is cleared but not added.
setReadOnly(readOnly: boolean): void;setEnabled(enabled: boolean): void;setFont(font: CFont, _propagate?: boolean): void;sizeHint(): CSize;protected mousePressEvent(event: CMouseEvent): void;protected paintEvent(painter: CPainter): void;