48 clipboard = gtk_clipboard_get(GDK_SELECTION_CLIPBOARD);
49 gtext = gtk_clipboard_wait_for_text(
clipboard);
54 *length = strlen(gtext);
62 memcpy(*
buffer, gtext, *length);
79 clipboard = gtk_clipboard_get(GDK_SELECTION_CLIPBOARD);
Browser window creation and manipulation interface.
static osspriteop_area * buffer
The buffer characteristics.
static void gui_set_clipboard(const char *buffer, size_t length, nsclipboard_styles styles[], int n_styles)
Core tells front end to put given text in clipboard.
static void gui_get_clipboard(char **buffer, size_t *length)
Core asks front end for clipboard contents.
static GString * current_selection
static struct gui_clipboard_table clipboard_table
static GtkClipboard * clipboard
struct gui_clipboard_table * nsgtk_clipboard_table
Interface to platform-specific clipboard operations.
Interface to utility string handling.
function table for clipboard operations.
void(* get)(char **buffer, size_t *length)
Core asks front end for clipboard contents.