Re: gtk_clipboard_request_rich_text() provides guint8* instead of gchar*



On Sat, 2006-06-10 at 23:12 +0200, Murray Cumming wrote:
> Is there any particular reason why GtkClipboardRichTextReceivedFunc
> provides the text as const guint8*:
> http://developer.gnome.org/doc/API/2.0/gtk/gtk-Clipboards.html#GtkClipboardRichTextReceivedFunc

Because the format of the serialized rich text data is arbitrary. 
Basically it's a blob of binary data of size "length", and not
text.

ciao,
--mitch




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]