From d9be65d6c73c1be796c57dce2cbf1d9b217cfd3f Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Wed, 12 Jan 2005 19:22:43 +0000 Subject: [PATCH] Contribution from pixelpapst@users.sourceforge.net svn path=/trunk/gtk-sharp/; revision=38801 --- AUTHORS | 1 + doc/en/Gtk/SelectionData.xml | 36 +++++++++++++++++++++--------------- 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/AUTHORS b/AUTHORS index d7aecda1c..923fc8514 100644 --- a/AUTHORS +++ b/AUTHORS @@ -19,3 +19,4 @@ Documentation: bis0n@mail.ru fsjrb@uaf.edu joe@fatnsoft.com + pixelpapst@users.sourceforge.net diff --git a/doc/en/Gtk/SelectionData.xml b/doc/en/Gtk/SelectionData.xml index 96723ace4..364202c57 100644 --- a/doc/en/Gtk/SelectionData.xml +++ b/doc/en/Gtk/SelectionData.xml @@ -56,7 +56,7 @@ Assuming that this selection data object holds a list of targets, determines if any of the targets in can be used to provide text. - a + a @@ -96,7 +96,7 @@ - The unit length of the data in bits. + The unit length of the data in bits. a On most systems, this is 8 for a string and 32 for an integer. @@ -155,12 +155,14 @@ - Sets the data for a selection. - a - a , the number of bits per data unit - a , the data to be set - a , the length of the data. - + Stores new data into this object. Should only be called from a selection handler callback. + type of selection data (expressed via a ) + format (number of bits in a unit) - set this to 8 and encode your data as UTF-8 + a array containing the data to send to this selection object - use +.GetBytes(string) to encode string data as UTF-8 before passing it here + + length of the data in bytes + The version auto-calculates the length for you. @@ -175,10 +177,12 @@ - Sets the data for a selection. - a - a , the number of bits per data unit - a , the data to be set + Stores new data into this object. Should only be called from a selection handler callback. + type of selection data (expressed via a ) + format (number of bits in a unit) - set this to 8 and encode your data as UTF-8 + + a array containing the data to send to this selection object - use +.GetBytes(string) to encode string data as UTF-8 before passing it here @@ -192,7 +196,8 @@ The selected data. a - + + @@ -218,7 +223,8 @@ Gets the selection data as an array of targets. a - + + @@ -235,4 +241,4 @@ - + \ No newline at end of file