VirtualTextWidget#

class VirtualTextWidget#

A widget representing static text content with selectable regions.

Inherited from VirtualWidget

__init__() None#

Create a new VirtualTextWidget instance.

get_selected_text() str#

Get the cursor-selected text in the static text widget.

Returns:

Selected text.

set_selected_text(selected_text) None#

Set the cursor-selected text in the static text widget.

Parameters:

selected_text – Selected text string.