forked from AuroraMiddleware/gtk
fb88101854
Sat Jul 17 00:48:27 2004 Matthias Clasen <maclas@gmx.de> Support text/plain selection target (#55117, Owen Taylor) * gtk/gtkselection.h: * gtk/gtkdnd.h: * gtk/gtkselection.c (gtk_target_list_add_text_targets): * gtk/gtkdnd.c (gtk_drag_dest_add_text_targets): * gtk/gtkdnd.c (gtk_drag_source_add_text_targets): New functions to facilitate handling of text targets. * gtk/gtkentry.c: * gtk/gtktextview.c: Use the new text target handling functions instead of hardwiring the list of supported text targets everywhere. * gtk/gtkselection.c (gtk_selection_data_get_text): (gtk_selection_data_set_text): Support the targets text/plain, text/plain?charset=utf-8 and text/plain?charset=<LOCALE-CHARSET> as outlined in #55117: For text/plain send only ASCII, but accept 8-bit text and treat it as ISO-8859-1 as specified by the Xdnd spec. Always send CRLF terminators. Accept either and convert into the native terminator for the platform. |
||
---|---|---|
.. | ||
tmpl | ||
.cvsignore | ||
building.sgml | ||
changes-1.2.sgml | ||
changes-2.0.sgml | ||
compiling.sgml | ||
framebuffer.sgml | ||
glossary.xml | ||
gtk-docs.sgml | ||
gtk-overrides.txt | ||
gtk-query-immodules-2.0.1 | ||
gtk-query-immodules-2.0.xml | ||
gtk-sections.txt | ||
gtk.types | ||
Makefile.am | ||
migrating-checklist.sgml | ||
migrating-GtkAction.sgml | ||
migrating-GtkComboBox.sgml | ||
migrating-GtkFileChooser.sgml | ||
objects_grouped.sgml | ||
other_software.sgml | ||
question_index.sgml | ||
resources.sgml | ||
running.sgml | ||
text_widget.sgml | ||
tree_widget.sgml | ||
version.xml.in | ||
windows.sgml | ||
x11.sgml |