[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'LCLType' (#lcl)

TClipboardType

Represents the sources or dispositions for clipboard data.

Declaration

Source position: lcltype.pp line 2727

type TClipboardType = (

  ctPrimarySelection,

  

The clipboard is the one designated as PRIMARY for the desktop. Implies that it is used for commands that accept a single argument. Historically, it is used for mouse selections, pasting using the middle mouse button, and explicit cut/copy/paste operations initiated from a menu item.

  ctSecondarySelection,

  

The clipboard is the one designated as SECONDARY for the desktop. Implies that it is used to exchange values for primary and secondary selections.

  ctClipboard

  

This is the clipboard type when the desktop does not support multiple clipboards, or when copy/cut and paste operations are performed between different clients.

);

Description

Used for platforms / window managers / desktop environments that support more than on clipboard. It appears to be inherently tied to the ICCCM protocol developed by freedesktop.org. Values in the enumeration are used in widgetset classes as an index to access the different clipboard storages.


Version 3.2 Generated 2024-02-25 Home