Re: how do you copy and paste things other than text using selections
- From: Havoc Pennington <hp redhat com>
- To: mailingLists pangolin org uk
- Cc: gtk list <gtk-app-devel-list gnome org>
- Subject: Re: how do you copy and paste things other than text using selections
- Date: 03 Apr 2001 14:05:05 -0400
rob <mailingLists pangolin org uk> writes:
I'm trying to copy and paste gdom nodes using selections but can't figure
out how I use gtk_selection_data_set for anything other than a string.
Any help greatly apreciated.
Basically you make up a name for your target type (equivalent to
"STRING", e.g. you might use "GDOME_NODE"), and you fill in the
selection data with some bytes that somehow represent your data,
e.g. you might serialize to XML, or you might have a custom binary
format, lots of options.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]