33
33
\code{\link{gtkSelectionDataTargetsIncludeText}(object)}\cr
34
34
\code{\link{gtkSelectionDataTargetsIncludeUri}(object)}\cr
35
35
\code{\link{gtkSelectionDataTargetsIncludeRichText}(object, buffer)}\cr
36
\code{\link{gtkSelectionDataGetSelection}(object)}\cr
37
\code{\link{gtkSelectionDataGetData}(object)}\cr
38
\code{\link{gtkSelectionDataGetLength}(object)}\cr
39
\code{\link{gtkSelectionDataGetDataType}(object)}\cr
40
\code{\link{gtkSelectionDataGetDisplay}(object)}\cr
41
\code{\link{gtkSelectionDataGetFormat}(object)}\cr
42
\code{\link{gtkSelectionDataGetTarget}(object)}\cr
36
43
\code{\link{gtkTargetsIncludeImage}(targets, writable)}\cr
37
44
\code{\link{gtkTargetsIncludeText}(targets)}\cr
38
45
\code{\link{gtkTargetsIncludeUri}(targets)}\cr
45
52
\section{Detailed Description}{The selection mechanism provides the basis for different types
46
53
of communication between processes. In particular, drag and drop and
47
\verb{\link{GtkClipboard}} work via selections. You will very seldom or
54
\code{\link{GtkClipboard}} work via selections. You will very seldom or
48
55
never need to use most of the functions in this section directly;
49
\verb{\link{GtkClipboard}} provides a nicer interface to the same functionality.
56
\code{\link{GtkClipboard}} provides a nicer interface to the same functionality.
51
58
Some of the datatypes defined this section are used in
52
the \verb{\link{GtkClipboard}} and drag-and-drop API's as well. The
53
\verb{\link{GtkTargetEntry}} structure and \verb{\link{GtkTargetList}} objects represent
59
the \code{\link{GtkClipboard}} and drag-and-drop API's as well. The
60
\code{\link{GtkTargetEntry}} structure and \code{\link{GtkTargetList}} objects represent
54
61
lists of data types that are supported when sending or
55
receiving data. The \verb{\link{GtkSelectionData}} object is used to
62
receiving data. The \code{\link{GtkSelectionData}} object is used to
56
63
store a chunk of data along with the data type and other
57
64
associated information.}
58
65
\section{Structures}{\describe{
59
66
\item{\verb{GtkTargetEntry}}{
60
A \verb{\link{GtkTargetEntry}} structure represents a single type of
67
A \code{\link{GtkTargetEntry}} structure represents a single type of
61
68
data than can be supplied for by a widget for a selection
62
or for supplied or received during drag-and-drop. It
69
or for supplied or received during drag-and-drop. It
63
70
contains a string representing the drag type, a flags
64
71
field (used only for drag and drop - see \code{\link{GtkTargetFlags}}),
65
72
and an application assigned integer ID. The integer
78
85
\item{\verb{GtkTargetList}}{
79
A \verb{\link{GtkTargetList}} structure is a reference counted list
86
A \code{\link{GtkTargetList}} structure is a reference counted list
80
87
of \verb{GtkTargetPair}. It is used to represent the same
81
information as a table of \verb{\link{GtkTargetEntry}}, but in
88
information as a table of \code{\link{GtkTargetEntry}}, but in
82
89
an efficient form. This structure should be treated as
87
\references{\url{http://developer.gnome.org/doc/API/2.0/gtk/gtk-Selections.html}}
94
\references{\url{http://library.gnome.org/devel//gtk/gtk-Selections.html}}
88
95
\author{Derived by RGtkGen from GTK+ documentation}