clipboard

clipboard

Functions

Types and Values

Description

Functions

a_clipboard_copy ()

void
a_clipboard_copy (VikClipboardDataType type,
                  guint16 layer_type,
                  gint subtype,
                  guint len,
                  const gchar *text,
                  guint8 *data);

a_clipboard_copy_selected ()

void
a_clipboard_copy_selected (VikLayersPanel *vlp);

Make a copy of selected object and associate ourselves with the clipboard.


a_clipboard_paste ()

gboolean
a_clipboard_paste (VikLayersPanel *vlp);

To deal with multiple data types, we first request the type of data on the clipboard, and handle them in the callback.


a_clipboard_type ()

VikClipboardDataType
a_clipboard_type ();

Return the type of data held in the clipboard if any

Types and Values

enum VikClipboardDataType

Members

VIK_CLIPBOARD_DATA_NONE

   

VIK_CLIPBOARD_DATA_LAYER

   

VIK_CLIPBOARD_DATA_SUBLAYER

   

VIK_CLIPBOARD_DATA_TEXT