*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> DtEditorDeleteSelection (3)              


 DtEditorDeleteSelection(library call) DtEditorDeleteSelection(library call)

 NAME    [Toc]    [Back]
      DtEditorDeleteSelection - delete the primary selection in the DtEditor

 SYNOPSIS    [Toc]    [Back]
      #include <Dt/Editor.h>
      Boolean DtEditorDeleteSelection(
      Widget widget);

 DESCRIPTION    [Toc]    [Back]
      The DtEditorDeleteSelection function removes the currently highlighted
      data in a DtEditor widget.  Any data following the deleted data is
      moved up.  Text can be selected and deselect programmatically with
      DtEditorSelectAll(3) and DtEditorDeselect(3).

      The widget argument Specifies the DtEditor widget ID.

      For a complete definition of the DtEditor widget and its associated
      resources, see DtEditor(3).

 RETURN VALUE    [Toc]    [Back]
      Upon successful completion, the DtEditorDeleteSelection function
      returns True; otherwise, if the primary selection is NULL, or if the
      widget does not own the primary selection, it returns False.

 SEE ALSO    [Toc]    [Back]
      Dt/Editor.h - DtEditor(5), DtEditorClearSelection(3),
      DtEditorCopyToClipboard(3), DtEditorCutToClipboard(3),
      DtEditorDeselect(3), DtEditorPasteFromClipboard(3),
      DtEditorSelectAll(3), DtEditorUndoEdit(3).

                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
DtEditorCutToClipboard HP-UX copy the primary selection in a DtEditor widget to the clipboard and delete the selected text
DtEditorClearSelection HP-UX clear the primary selection in a DtEditor widget
DtEditorCopyToClipboard HP-UX copy the primary selection in a DtEditor widget to the clipboard
DtEditorPasteFromClipboard HP-UX insert the clipboard selection into a DtEditor widget
DtEditorDeselect HP-UX deselect the current selection in a DtEditor widget
DXmCSTextHasSelection Tru64 Indicates whether the compound string text widget currently owns the primary selection.
XmContainerCopy HP-UX Container widget function to copy primary selection to the clipboard
XmTextClearSelection IRIX A Text function that clears the primary selection
XmTextRemove IRIX A Text function that deletes the primary selection
XmTextFieldClearSelection IRIX A TextField function that clears the primary selection
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service