GtkClipboard::store

void store();

Stores the current clipboard data (as specified by the set_can_store() method) in the memory. So it will stay around after the application has quit.