DTEDITORPASTEFROMCLIPBOARD(3)
okay so this is the library call page for DtEditorPasteFromClipboard, bestie β literally the βinsert the clipboard selection into a DtEditor widgetβ function. itβs giving paste-button energy but make it a C API β¨
π NAME π
DtEditorPasteFromClipboard β insert the clipboard selection into a DtEditor widget π«Ά
β¨ SYNOPSIS β¨
#include &<Dt/Editor.h>
Boolean DtEditorPasteFromClipboard(
Widget widget);
π¦ DESCRIPTION π¦
The DtEditorPasteFromClipboard function inserts the clipboard selection before the insertion cursor of the DtEditor widget. no cap. if the insertion cursor is inside the current selection, the clipboard selection replaces the selected text β like it slides in and takes over π
Text can be cut or copied to the clipboard with DtEditorCutToClipboard(3) and DtEditorCopyToClipboard(3). Text can be selected and deselected programmatically with DtEditorSelectAll(3) and DtEditorDeselect(3). iykyk, all the selection besties are linked up π
The widget argument specifies the DtEditor widget ID. yes bestie, thatβs the widget handshake π€
For a complete definition of the DtEditor widget and its associated resources, see DtEditor(3). go read the main characterβs page for the full lore π
π₯ RETURN VALUE π₯
Upon successful completion, the DtEditorPasteFromClipboard function returns True; otherwise, if the widget does not own the primary selection, the function returns False. so if it doesnβt own the primary selection, itβs a False era, periodt π
π SEE ALSO π
Dt/Editor.h-DtEditor(5)DtEditor(3)DtEditorClearSelection(3)DtEditorCutToClipboard(3)DtEditorCopyToClipboard(3)DtEditorDeleteSelection(3)DtEditorDeselect(3)DtEditorSelectAll(3)DtEditorUndoEdit(3)
cute sign-off time, bestie: this is the DtEditorPasteFromClipboard library call page, and the footer has no extra source/version or date info beyond that library-call label. mwah ππ«Ά
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms