File: Clipboard.xml

package info (click to toggle)
gtk-sharp3 2.99.3-4.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 25,488 kB
  • sloc: xml: 308,885; cs: 38,796; sh: 11,336; perl: 1,295; makefile: 1,099; ansic: 903
file content (622 lines) | stat: -rw-r--r-- 35,064 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
<Type Name="Clipboard" FullName="Gtk.Clipboard">
  <TypeSignature Language="C#" Maintainer="John Luke" Value="public class Clipboard : GLib.Object" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Clipboard extends GLib.Object" />
  <AssemblyInfo>
    <AssemblyName>gtk-sharp</AssemblyName>
    <AssemblyPublicKey>
    </AssemblyPublicKey>
  </AssemblyInfo>
  <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
  <Base>
    <BaseTypeName>GLib.Object</BaseTypeName>
  </Base>
  <Interfaces>
  </Interfaces>
  <Docs>
    <summary>An object that stores clipboard data.</summary>
    <remarks>
      <para> The <see cref="T:Gtk.Clipboard" /> object represents a clipboard of data shared between different processes or between different widgets in the same process. Each clipboard is identified by a name encoded as a <see cref="T:Gdk.Atom" />. (Conversion to and from strings can be done with <see cref="M:Gdk.Atom.Intern(System.String,System.Boolean)" /> and <see cref="M:Gdk.Atom.Name()" />.) The default clipboard corresponds to the "CLIPBOARD" atom; another commonly used clipboard is the "PRIMARY" clipboard, which, in X, traditionally contains the currently selected text.</para>
      <para>To support having a number of different formats on the clipboard at the same time, the clipboard mechanism allows providing callbacks instead of the actual data. When you set the contents of the clipboard, you can either supply the data directly (eg, via the <see cref="M:Gtk.Clipboard.Text" /> property), or you can supply a callback to be called at a later time when the data is needed (via <see cref="M:Gtk.Clipboard.SetWithData()" /> or <see cref="M:Gtk.Clipboard.SetWithOwner()" />.) Providing a callback also avoids having to make copies of the data when it is not needed.</para>
      <para>
        <see cref="M:Gtk.Clipboard.SetWithData()" /> and <see cref="M:Gtk.Clipboard.SetWithOwner()" />  are quite similar; the choice between the two depends mostly on which is more convenient in a particular situation. The former is most useful when you want to have a blob of data with callbacks to convert it into the various data types that you advertise. When the clear_func you provided is called, you simply free the data blob. The latter is more useful when the contents of clipboard reflect the internal state of a <see cref="T:GLib.Object" />  (As an example, for the PRIMARY clipboard, when an entry widget provides the contents for the clipboar the contents are simply the text within the selected region.) If the contents change, the entry widget can call <see cref="M:Gtk.Clipboard.SetWithOwner()" /> to update the timestamp for clipboard ownership, without having to worry about clear_func being called.</para>
      <para>Requesting the data from the clipboard is essentially asynchronous. If the contents of the clipboard are provided within the same process, then a direct function call will be made to retrieve the data, but if they are provided by another process, then the data needs to be retrieved from the other process, which may take some time. To avoid blocking the user interface, the call to request the selection, <see cref="M:Gtk.Clipboard.RequestContents()" /> takes a callback that will be called when the contents are received (or when the request fails.) If you do not want to deal with providing a separate callback, you can also use <see cref="M:Gtk.Clipboard.WaitForContents()" />. What this does is run the GLib main loop recursively waiting for the contents. This can simplify the code flow, but you still have to be aware that other callbacks in your program can be called while this recursive mainloop is running.</para>
      <para> Along with the functions to get the clipboard contents as an arbitrary data chunk, there are also functions to retrieve it as text, <see cref="M:Gtk.Clipboard.RequestText()" /> and <see cref="M:Gtk.Clipboard.WaitForText()" />. These functions take care of determining which formats are advertised by the clipboard provider, asking for the clipboard in the best available format and converting the results into the UTF-8 encoding. (The standard form for representing strings in Gtk#.)</para>
    </remarks>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="protected Clipboard ();" />
      <MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters />
      <Docs>
        <summary>Proctected constructor.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public Clipboard (IntPtr raw);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(native int raw) cil managed" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
        <Parameter Name="raw" Type="System.IntPtr" />
      </Parameters>
      <Docs>
        <param name="raw">Pointer to the C object.</param>
        <summary>Internal constructor</summary>
        <remarks>
          <para>This is an internal constructor, and should not be used by user code.</para>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName="Clear">
      <MemberSignature Language="C#" Value="public void Clear ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Clear() cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>Clears the contents of the clipboard.</summary>
        <remarks>Generally this should only be called between the time you call <see cref="M:Gtk.Clipboard.SetWithOwner()" /> or <see cref="M:Gtk.Clipboard.SetWithData()" />, and when the clear_func you supplied is called. Otherwise, the clipboard may be owned by someone else.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Display">
      <MemberSignature Language="C#" Value="public Gdk.Display Display { get; }" />
      <MemberSignature Language="ILAsm" Value=".property instance class Gdk.Display Display" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>Gdk.Display</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>The <see cref="T:Gdk.Display" /> associated with the clipboard.</summary>
        <value>a <see cref="T:Gdk.Display" /></value>
        <remarks>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName="Get">
      <MemberSignature Language="C#" Value="public static Gtk.Clipboard Get (Gdk.Atom selection);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class Gtk.Clipboard Get(class Gdk.Atom selection) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>Gtk.Clipboard</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="selection" Type="Gdk.Atom" />
      </Parameters>
      <Docs>
        <param name="selection">an object of type <see cref="T:Gdk.Atom" /></param>
        <summary>Returns the clipboard object for the given selection.</summary>
        <returns>an object of type <see cref="T:Gtk.Clipboard" /></returns>
        <remarks>See <see cref="M:Gtk.Clipboard.GetForDisplay()" /> for complete details.</remarks>
      </Docs>
    </Member>
    <Member MemberName="GetForDisplay">
      <MemberSignature Language="C#" Value="public static Gtk.Clipboard GetForDisplay (Gdk.Display display, Gdk.Atom selection);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class Gtk.Clipboard GetForDisplay(class Gdk.Display display, class Gdk.Atom selection) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>Gtk.Clipboard</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="display" Type="Gdk.Display" />
        <Parameter Name="selection" Type="Gdk.Atom" />
      </Parameters>
      <Docs>
        <param name="display">a <see cref="T:Gdk.Display" /></param>
        <param name="selection">a <see cref="T:Gdk.Atom" /></param>
        <summary>Returns the clipboard object for the given selection.</summary>
        <returns>a <see cref="T:Gtk.Clipboard" /></returns>
        <remarks>
          <para>Cut/copy/paste menu items and keyboard shortcuts should use the default clipboard, returned by passing GDK_SELECTION_CLIPBOARD for selection. (GDK_NONE is supported as a synonym for GDK_SELECTION_CLIPBOARD for backwards compatibility reasons.) The currently-selected object or text should be provided on the clipboard identified by GDK_SELECTION_PRIMARY. Cut/copy/paste menu items conceptually copy the contents of the GDK_SELECTION_PRIMARY clipboard to the default clipboard, i.e. they copy the selection to what the user sees as the clipboard.</para>
          <para>(Passing GDK_NONE is the same as using gdk_atom_intern ("CLIPBOARD", <see langword="false" />). See http://www.freedesktop.org/standards/clipboards.txt for a detailed discussion of the "CLIPBOARD" vs. "PRIMARY" selections under the X window system. On Win32 the GDK_SELECTION_PRIMARY clipboard is essentially ignored.)</para>
          <para>It is possible to have arbitrary named clipboards; if you do invent new clipboards, you should prefix the selection name with an underscore (because the ICCCM requires that nonstandard atoms are underscore-prefixed), and namespace it as well. For example, if your application called "Foo" has a special-purpose clipboard, you might call it "_FOO_SPECIAL_CLIPBOARD".</para>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName="GType">
      <MemberSignature Language="C#" Value="public static GLib.GType GType { get; }" />
      <MemberSignature Language="ILAsm" Value=".property valuetype GLib.GType GType" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>GLib.GType</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>GType Property.</summary>
        <value>a <see cref="T:GLib.GType" /></value>
        <remarks>Returns the native <see cref="T:GLib.GType" /> value for <see cref="T:Gtk.Clipboard" />.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Image">
      <MemberSignature Language="C#" Value="public Gdk.Pixbuf Image { set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance class Gdk.Pixbuf Image" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>Gdk.Pixbuf</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>To be added</summary>
        <value>a <see cref="T:Gdk.Pixbuf" /></value>
        <remarks>To be added</remarks>
        <since version="Gtk# 2.6" />
      </Docs>
    </Member>
    <Member MemberName="OnOwnerChange">
      <MemberSignature Language="C#" Value="protected virtual void OnOwnerChange (Gdk.EventOwnerChange evnt);" />
      <MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnOwnerChange(class Gdk.EventOwnerChange evnt) cil managed" />
      <MemberType>Method</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideOwnerChange", Type=typeof(Gtk.Clipboard))</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="evnt" Type="Gdk.EventOwnerChange" />
      </Parameters>
      <Docs>
        <param name="evnt">An event describing the owner change.</param>
        <summary>Default handler for the <see cref="M:Gtk.Clipboard.OwnerChange" /> event.</summary>
        <remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Clipboard.OwnerChange" /> event.</remarks>
        <since version="Gtk# 2.6" />
      </Docs>
    </Member>
    <Member MemberName="Owner">
      <MemberSignature Language="C#" Value="public GLib.Object Owner { get; }" />
      <MemberSignature Language="ILAsm" Value=".property instance class GLib.Object Owner" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>GLib.Object</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>The owner of the clipboard, if any; otherwise <see langword="null" />.</summary>
        <value>an object of type <see cref="T:GLib.Object" /></value>
        <remarks>If the clipboard contents callbacks were set with <see cref="M:Gtk.Clipboard.SetWithOwner()" />, and the <see cref="M:Gtk.Clipboard.SetWithData()" /> or <see cref="M:Gtk.Clipboard.Clear()" /> has not been subsequently called, it will return the owner set by <see cref="M:Gtk.Clipboard.SetWithOwner()" />.</remarks>
      </Docs>
    </Member>
    <Member MemberName="OwnerChange">
      <MemberSignature Language="C#" Value="public event Gtk.OwnerChangeHandler OwnerChange;" />
      <MemberSignature Language="ILAsm" Value=".event class Gtk.OwnerChangeHandler OwnerChange" />
      <MemberType>Event</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>GLib.Signal("owner-change")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>Gtk.OwnerChangeHandler</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>To be added</summary>
        <remarks>To be added</remarks>
        <since version="Gtk# 2.6" />
      </Docs>
    </Member>
    <Member MemberName="RequestContents">
      <MemberSignature Language="C#" Value="public void RequestContents (Gdk.Atom target, Gtk.ClipboardReceivedFunc cb);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RequestContents(class Gdk.Atom target, class Gtk.ClipboardReceivedFunc cb) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="target" Type="Gdk.Atom" />
        <Parameter Name="cb" Type="Gtk.ClipboardReceivedFunc" />
      </Parameters>
      <Docs>
        <param name="target">a <see cref="T:Gdk.Atom" /> representing the form into which the clipboard-owning program should convert the selection.</param>
        <param name="cb">a <see cref="T:Gtk.ClipboardReceivedFunc" />, a function to call when the clipboard results are received.</param>
        <summary>Requests the contents of clipboard as the given target.
	  When the results of the result are later received the supplied 
	  callback will be called.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="RequestImage">
      <MemberSignature Language="C#" Value="public void RequestImage (Gtk.ClipboardImageReceivedFunc cb);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RequestImage(class Gtk.ClipboardImageReceivedFunc cb) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="cb" Type="Gtk.ClipboardImageReceivedFunc" />
      </Parameters>
      <Docs>
        <param name="cb">a <see cref="T:Gtk.ClipboardImageReceivedFunc" /></param>
        <summary>To be added</summary>
        <remarks>To be added</remarks>
        <since version="Gtk# 2.6" />
      </Docs>
    </Member>
    <Member MemberName="RequestRichText">
      <MemberSignature Language="C#" Value="public void RequestRichText (Gtk.TextBuffer buffer, Gtk.Clipboard.RichTextReceivedFunc cb);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RequestRichText(class Gtk.TextBuffer buffer, class Gtk.Clipboard/RichTextReceivedFunc cb) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="buffer" Type="Gtk.TextBuffer" />
        <Parameter Name="cb" Type="Gtk.Clipboard+RichTextReceivedFunc" />
      </Parameters>
      <Docs>
        <param name="buffer">a <see cref="T:Gtk.TextBuffer" />.</param>
        <param name="cb">callback to invoke when data is prepared.</param>
        <summary>Requests the contents as Rich Text asynchronously.</summary>
        <remarks />
        <since version="Gtk# 2.10" />
      </Docs>
    </Member>
    <Member MemberName="RequestTargets">
      <MemberSignature Language="C#" Value="public void RequestTargets (Gtk.ClipboardTargetsReceivedFunc cb);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RequestTargets(class Gtk.ClipboardTargetsReceivedFunc cb) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="cb" Type="Gtk.ClipboardTargetsReceivedFunc" />
      </Parameters>
      <Docs>
        <param name="cb">a <see cref="T:Gtk.ClipboardTargetsReceivedFunc" /></param>
        <summary> 
	  Requests the contents of the clipboard as list of supported targets. 
	  When the list is later received, <paramref name="cb" /> will be called.
	</summary>
        <remarks>
	  The "targets" parameter to <paramref name="cb" /> will contain the resulting targets if
	  the request succeeded, or <see langword="null" /> if it failed. Added in GTK 2.4.
	</remarks>
        <since version="Gtk# 2.4" />
      </Docs>
    </Member>
    <Member MemberName="RequestText">
      <MemberSignature Language="C#" Value="public void RequestText (Gtk.ClipboardTextReceivedFunc cb);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RequestText(class Gtk.ClipboardTextReceivedFunc cb) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="cb" Type="Gtk.ClipboardTextReceivedFunc" />
      </Parameters>
      <Docs>
        <param name="cb">a <see cref="T:Gtk.ClipboardTextReceivedFunc" /></param>
        <summary>Fetch the clipboard's text and fire the function <paramref name="cb" /> on it.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="RequestUris">
      <MemberSignature Language="C#" Value="public void RequestUris (Gtk.ClipboardURIReceivedFunc cb);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RequestUris(class Gtk.ClipboardURIReceivedFunc cb) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="cb" Type="Gtk.ClipboardURIReceivedFunc" />
      </Parameters>
      <Docs>
        <param name="cb">To be added.</param>
        <summary>To be added.</summary>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="SetCanStore">
      <MemberSignature Language="C#" Value="public void SetCanStore (Gtk.TargetEntry targets, int n_targets);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetCanStore(valuetype Gtk.TargetEntry targets, int32 n_targets) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="targets" Type="Gtk.TargetEntry" />
        <Parameter Name="n_targets" Type="System.Int32" />
      </Parameters>
      <Docs>
        <param name="targets">a <see cref="T:Gtk.TargetEntry" /></param>
        <param name="n_targets">a <see cref="T:System.Int32" /></param>
        <summary>To be added</summary>
        <remarks>To be added</remarks>
        <since version="Gtk# 2.6" />
      </Docs>
    </Member>
    <Member MemberName="SetText" Deprecated="true">
      <MemberSignature Language="C#" Value="public void SetText (string text);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetText(string text) cil managed" />
      <MemberType>Method</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>System.Obsolete("Replaced by Text property.")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="text" Type="System.String" />
      </Parameters>
      <Docs>
        <param name="text">an object of type <see cref="T:System.String" /></param>
        <summary>Deprecated method to set the contents of the clipboard.</summary>
        <remarks>Replaced by the <see cref="M:Gtk.Clipboard.Text" /> property.</remarks>
      </Docs>
    </Member>
    <Member MemberName="SetWithData">
      <MemberSignature Language="C#" Value="public bool SetWithData (Gtk.TargetEntry[] targets, Gtk.ClipboardGetFunc get_func, Gtk.ClipboardClearFunc clear_func);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool SetWithData(valuetype Gtk.TargetEntry[] targets, class Gtk.ClipboardGetFunc get_func, class Gtk.ClipboardClearFunc clear_func) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="targets" Type="Gtk.TargetEntry[]" />
        <Parameter Name="get_func" Type="Gtk.ClipboardGetFunc" />
        <Parameter Name="clear_func" Type="Gtk.ClipboardClearFunc" />
      </Parameters>
      <Docs>
        <param name="targets">a <see cref="T:Gtk.TargetEntry[]" /></param>
        <param name="get_func">a <see cref="T:Gtk.ClipboardGetFunc" /></param>
        <param name="clear_func">a <see cref="T:Gtk.ClipboardClearFunc" /></param>
        <summary>Virtually sets the contents of the specified clipboard by providing a list of supported formats for the clipboard data and a function to call to get the actual data when it is requested.</summary>
        <returns>a <see cref="T:System.Boolean" /></returns>
        <remarks>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName="SetWithOwner">
      <MemberSignature Language="C#" Value="public bool SetWithOwner (Gtk.TargetEntry[] targets, Gtk.ClipboardGetFunc get_func, Gtk.ClipboardClearFunc clear_func, GLib.Object owner);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool SetWithOwner(valuetype Gtk.TargetEntry[] targets, class Gtk.ClipboardGetFunc get_func, class Gtk.ClipboardClearFunc clear_func, class GLib.Object owner) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="targets" Type="Gtk.TargetEntry[]" />
        <Parameter Name="get_func" Type="Gtk.ClipboardGetFunc" />
        <Parameter Name="clear_func" Type="Gtk.ClipboardClearFunc" />
        <Parameter Name="owner" Type="GLib.Object" />
      </Parameters>
      <Docs>
        <param name="targets">a <see cref="T:Gtk.TargetEntry[]" /></param>
        <param name="get_func">a <see cref="T:Gtk.ClipboardGetFunc" /></param>
        <param name="clear_func">a <see cref="T:Gtk.ClipboardClearFunc" /></param>
        <param name="owner">a <see cref="T:GLib.Object" /></param>
        <summary>Virtually sets the contents of the specified clipboard by providing a list of supported formats for the clipboard data and a function to call to get the actual data when it is requested.</summary>
        <returns>a <see cref="T:System.Boolean" /></returns>
        <remarks>The difference between this function and <see cref="M:Gtk.Clipboard.SetWithData()" /> is that a <see cref="T:GLib.Object" /> is passed in.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Store">
      <MemberSignature Language="C#" Value="public void Store ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Store() cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>To be added</summary>
        <remarks>To be added</remarks>
        <since version="Gtk# 2.6" />
      </Docs>
    </Member>
    <Member MemberName="Text">
      <MemberSignature Language="C#" Value="public string Text { set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance string Text" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>Sets the contents of the clipboard to the given UTF-8 string.</summary>
        <value>a <see cref="T:System.String" /></value>
        <remarks>Gtk# will make a copy of the text and take responsibility for responding for requests for the text, and for converting the text into the requested format.</remarks>
        <since version="Gtk# 2.4" />
      </Docs>
    </Member>
    <Member MemberName="WaitForContents">
      <MemberSignature Language="C#" Value="public Gtk.SelectionData WaitForContents (Gdk.Atom target);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Gtk.SelectionData WaitForContents(class Gdk.Atom target) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>Gtk.SelectionData</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="target" Type="Gdk.Atom" />
      </Parameters>
      <Docs>
        <param name="target">an object of type <see cref="T:Gdk.Atom" /></param>
        <summary>Requests the contents of the clipboard using the given target.</summary>
        <returns>an object of type <see cref="T:Gtk.SelectionData" /></returns>
        <remarks>This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.</remarks>
      </Docs>
    </Member>
    <Member MemberName="WaitForImage">
      <MemberSignature Language="C#" Value="public Gdk.Pixbuf WaitForImage ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Gdk.Pixbuf WaitForImage() cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>Gdk.Pixbuf</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>To be added</summary>
        <returns>a <see cref="T:Gdk.Pixbuf" /></returns>
        <remarks>To be added</remarks>
        <since version="Gtk# 2.6" />
      </Docs>
    </Member>
    <Member MemberName="WaitForRichText">
      <MemberSignature Language="C#" Value="public byte[] WaitForRichText (Gtk.TextBuffer buffer, out Gdk.Atom format);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance unsigned int8[] WaitForRichText(class Gtk.TextBuffer buffer, class Gdk.Atom format) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Byte[]</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="buffer" Type="Gtk.TextBuffer" />
        <Parameter Name="format" Type="Gdk.Atom&amp;" RefType="out" />
      </Parameters>
      <Docs>
        <param name="buffer">To be added.</param>
        <param name="format">To be added.</param>
        <summary>Requests contents as Rich Text.</summary>
        <returns>a byte array holding the contents.</returns>
        <remarks>Uses the main loop, so events and timeouts may be dispatched during the wait.</remarks>
        <since version="Gtk# 2.10" />
      </Docs>
    </Member>
    <Member MemberName="WaitForTargets">
      <MemberSignature Language="C#" Value="public bool WaitForTargets (Gdk.Atom targets, out int n_targets);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool WaitForTargets(class Gdk.Atom targets, int32 n_targets) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="targets" Type="Gdk.Atom" />
        <Parameter Name="n_targets" Type="System.Int32&amp;" RefType="out" />
      </Parameters>
      <Docs>
        <param name="targets">a <see cref="T:Gdk.Atom" /></param>
        <param name="n_targets">a <see cref="T:System.Int32" /></param>
        <summary>
	  Returns a list of targets that are present on the clipboard, or 
	  <see langword="null" /> if there aren't any targets available.
	</summary>
        <returns>a <see cref="T:System.Boolean" />,TRUE if any 
	  targets are present on the clipboard, otherwise FALSE.</returns>
        <remarks>
          <para>
	  This function waits for the data to be received using the main 
	  loop, so events, timeouts, etc, may be dispatched during the wait.
	  </para>
        </remarks>
        <since version="Gtk# 2.4" />
      </Docs>
    </Member>
    <Member MemberName="WaitForText">
      <MemberSignature Language="C#" Value="public string WaitForText ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance string WaitForText() cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>Requests the contents of the clipboard as text and converts the result to UTF-8 if necessary.</summary>
        <returns>an object of type <see cref="T:System.String" /></returns>
        <remarks>This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.</remarks>
      </Docs>
    </Member>
    <Member MemberName="WaitForUris">
      <MemberSignature Language="C#" Value="public string WaitForUris ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance string WaitForUris() cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>To be added.</summary>
        <returns>To be added.</returns>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="WaitIsImageAvailable">
      <MemberSignature Language="C#" Value="public bool WaitIsImageAvailable ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool WaitIsImageAvailable() cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>To be added</summary>
        <returns>a <see cref="T:System.Boolean" /></returns>
        <remarks>To be added</remarks>
        <since version="Gtk# 2.6" />
      </Docs>
    </Member>
    <Member MemberName="WaitIsRichTextAvailable">
      <MemberSignature Language="C#" Value="public bool WaitIsRichTextAvailable (Gtk.TextBuffer buffer);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool WaitIsRichTextAvailable(class Gtk.TextBuffer buffer) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="buffer" Type="Gtk.TextBuffer" />
      </Parameters>
      <Docs>
        <param name="buffer">a <see cref="T:Gtk.TextBuffer" />.</param>
        <summary>Tests if Rich Text is available for pasting.</summary>
        <returns>if <see langword="true" />, rich text is available.</returns>
        <remarks>This method is slightly faster that <see cref="M:Gtk.Clipboard.WaitForRichText" /> since it doesn't retrieve the actual text. Uses the main loop, so events and timeouts may be dispatched during the wait.</remarks>
        <since version="Gtk# 2.10" />
      </Docs>
    </Member>
    <Member MemberName="WaitIsTargetAvailable">
      <MemberSignature Language="C#" Value="public bool WaitIsTargetAvailable (Gdk.Atom target);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool WaitIsTargetAvailable(class Gdk.Atom target) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="target" Type="Gdk.Atom" />
      </Parameters>
      <Docs>
        <param name="target">a <see cref="T:Gdk.Atom" /></param>
        <summary>To be added</summary>
        <returns>a <see cref="T:System.Boolean" /></returns>
        <remarks>To be added</remarks>
        <since version="Gtk# 2.6" />
      </Docs>
    </Member>
    <Member MemberName="WaitIsTextAvailable">
      <MemberSignature Language="C#" Value="public bool WaitIsTextAvailable ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool WaitIsTextAvailable() cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>Test to see if there is text available to be pasted.</summary>
        <returns>an object of type <see cref="T:System.Boolean" /></returns>
        <remarks>
          <para>This is done by requesting the TARGETS atom and checking if it contains any of the names: STRING, TEXT, COMPOUND_TEXT, UTF8_STRING. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.</para>
          <para>This function is a little faster than calling <see cref="M:Gtk.ClipboardWaitForText()" /> since it does not need to retrieve the actual text.</para>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName="WaitIsUrisAvailable">
      <MemberSignature Language="C#" Value="public bool WaitIsUrisAvailable ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool WaitIsUrisAvailable() cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>To be added.</summary>
        <returns>To be added.</returns>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
  </Members>
</Type>