NetSurf
|
function table for clipboard operations. More...
#include <clipboard.h>
Data Fields | |
void(* | get )(char **buffer, size_t *length) |
Core asks front end for clipboard contents. More... | |
void(* | set )(const char *buffer, size_t length, nsclipboard_styles styles[], int n_styles) |
Core tells front end to put given text in clipboard. More... | |
function table for clipboard operations.
Definition at line 42 of file clipboard.h.
void(* gui_clipboard_table::get) (char **buffer, size_t *length) |
Core asks front end for clipboard contents.
buffer | UTF-8 text, allocated by front end, ownership yeilded to core |
length | Byte length of UTF-8 text in buffer |
Definition at line 49 of file clipboard.h.
Referenced by textarea_keypress(), and verify_clipboard_register().
void(* gui_clipboard_table::set) (const char *buffer, size_t length, nsclipboard_styles styles[], int n_styles) |
Core tells front end to put given text in clipboard.
buffer | UTF-8 text, owned by core |
length | Byte length of UTF-8 text in buffer |
styles | Array of styles given to text runs, owned by core, or NULL |
n_styles | Number of text run styles in array |
Definition at line 59 of file clipboard.h.
Referenced by selection_copy_to_clipboard(), textarea_replace_text_internal(), treeview_copy_selection(), and verify_clipboard_register().