File: classGtk_1_1SelectionData.html

package info (click to toggle)
gtkmm2.4 1%3A2.20.3-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 73,860 kB
  • ctags: 20,553
  • sloc: xml: 79,575; sh: 10,120; cpp: 8,347; makefile: 290
file content (924 lines) | stat: -rw-r--r-- 58,294 bytes parent folder | download
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
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gtkmm: Gtk::SelectionData Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::SelectionData Class Reference</h1><!-- doxytag: class="Gtk::SelectionData" -->
<p><a href="classGtk_1_1SelectionData-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a960d5979b57c7a2a9d025b4c3bdce3d4">SelectionData</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a737d81c0ec50c493a362851153fb37d0">SelectionData</a> (GtkSelectionData* gobject, bool make_a_copy=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a38e56cf805c11aa747c010f4f3aaf3df">SelectionData</a> (const <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp; other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a3f4a823c42ea8380d0b70c209b62e979">operator=</a> (const <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp; other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a6fc29f571a31fa02a34bfba074745637">~SelectionData</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a4b164ee2221952c3117064436954c618">swap</a> (<a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp; other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkSelectionData*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a64da01e677cb9937a08d5eee606374f1">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. <a href="#a64da01e677cb9937a08d5eee606374f1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkSelectionData*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a61975208c3a824d985a876d76b82791d">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. <a href="#a61975208c3a824d985a876d76b82791d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkSelectionData*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a553aea8a0ef83b67096e7ed26ea5d785">gobj_copy</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. <a href="#a553aea8a0ef83b67096e7ed26ea5d785"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#aa5d6c006f1e575808bb64c3a1724eb87">set</a> (int format, const guint8* data, int length)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a3f34e9f6ec1986cd4c299c89585d7926">set</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; type, int format, const guint8* data, int length)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign a memory block of raw data. <a href="#a3f34e9f6ec1986cd4c299c89585d7926"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a1464571fb61f96ac66f15731e8214091">set</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; type, const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; data)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign a string of raw data. <a href="#a1464571fb61f96ac66f15731e8214091"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a85a4ed9fd2da8ff6174842d3c53167e3">set_text</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; data)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign UTF-8 encoded text. <a href="#a85a4ed9fd2da8ff6174842d3c53167e3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#ad6fe5dc64610a8ef8b76582e09facaea">get_text</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the contents of the selection data as a UTF-8 string. <a href="#ad6fe5dc64610a8ef8b76582e09facaea"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#abbcfbbbbd1bbc7d581711f32b97b938a">set_pixbuf</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp; pixbuf)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the contents of the selection from a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> The pixbuf is converted to the form determined by <em>selection_data-&gt;target</em>. <a href="#abbcfbbbbd1bbc7d581711f32b97b938a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a9c39b784e5977aac600b369c0062bb2f">get_pixbuf</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the contents of the selection data as a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. <a href="#a9c39b784e5977aac600b369c0062bb2f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a32adbe8fe464cc6572c2337951fae84e">get_pixbuf</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the contents of the selection data as a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. <a href="#a32adbe8fe464cc6572c2337951fae84e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#aa93d21e8a0ae71cde7f6a92e48bc0a1e">set_uris</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a>&amp; uris)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the contents of the selection from a list of URIs. <a href="#aa93d21e8a0ae71cde7f6a92e48bc0a1e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a49dc9543e60c67f9a1bc836df1c08cc5">get_uris</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the contents of the selection data as a container of URIs. <a href="#a49dc9543e60c67f9a1bc836df1c08cc5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const guchar*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a0dd1ae04cb843a1c9648ea62c81a8841">get_data</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the raw data of the selection. <a href="#a0dd1ae04cb843a1c9648ea62c81a8841"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a5c8913e1086614c80f4e84325c649d42">get_length</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the length of the raw data of the selection. <a href="#a5c8913e1086614c80f4e84325c649d42"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a652b34830f8c54515f3a70f458e6c152">get_data_as_string</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdkAtom&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#ad3cb66db1f8f10015ad4fd01be163e93">get_selection</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the selection Gdk::Atom of the selection data. <a href="#ad3cb66db1f8f10015ad4fd01be163e93"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a34ee1b33006bf4f2be11c8fdb65df33e">get_target</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the target of the selection. <a href="#a34ee1b33006bf4f2be11c8fdb65df33e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Gdk::ArrayHandle_AtomString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#aaa7563f7e66911e324546f10405044da">get_targets</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">See also <a class="el" href="classGtk_1_1Clipboard.html#ae3be3a0d85849117a284f8a1cbfdb98e" title="Requests the contents of the clipboard as list of supported targets.">Gtk::Clipboard::request_targets()</a>. <a href="#aaa7563f7e66911e324546f10405044da"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a20257cb7db350176a9b66d6ce2dedcd4">get_data_type</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the type of the data as set by <a class="el" href="classGtk_1_1SelectionData.html#aa5d6c006f1e575808bb64c3a1724eb87">SelectionData::set()</a>. <a href="#a20257cb7db350176a9b66d6ce2dedcd4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a0dd95ca2a722651db2ad3e7d1e30f260">get_format</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the format of the selection. <a href="#a0dd95ca2a722651db2ad3e7d1e30f260"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Display.html">Gdk::Display</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#abe771f4375acf6e152fbe4666534534b">get_display</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the display of the selection. <a href="#abe771f4375acf6e152fbe4666534534b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1Display.html">Gdk::Display</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#aca4a73f550bd8172b42e76031bc8b985">get_display</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the display of the selection. <a href="#aca4a73f550bd8172b42e76031bc8b985"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a9fbf51e548ecb51d983531ecccf49fb9">targets_include_uri</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object holding a list of targets, determines if any of the targets in <em>targets</em> can be used to provide a list or URIs. <a href="#a9fbf51e548ecb51d983531ecccf49fb9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a589b34bbc75182de5195dd5a22708892">targets_include_text</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object holding a list of targets, determines if any of the targets in <em>targets</em> can be used to provide text. <a href="#a589b34bbc75182de5195dd5a22708892"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a23502b282ec4546943b6fb4c2d0d8e3d">targets_include_rich_text</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TextBuffer.html">TextBuffer</a> &gt;&amp; buffer) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object holding a list of targets, determines if any of the targets in <em>targets</em> can be used to provide rich text. <a href="#a23502b282ec4546943b6fb4c2d0d8e3d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a97521408bbef83c56ed4b8c3faa53bd8">targets_include_image</a> (bool writable=true) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object holding a list of targets, determines if any of the targets in <em>targets</em> can be used to provide a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. <a href="#a97521408bbef83c56ed4b8c3faa53bd8"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkSelectionData*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#aeccc1384f7e8decb49a0188c76c99658">gobject_</a></td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SelectionData.html#a6e49ccb1719123dd777a6b9b35004dfe">wrap</a> (GtkSelectionData* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a6e49ccb1719123dd777a6b9b35004dfe"></a><br/></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a960d5979b57c7a2a9d025b4c3bdce3d4"></a><!-- doxytag: member="Gtk::SelectionData::SelectionData" ref="a960d5979b57c7a2a9d025b4c3bdce3d4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::SelectionData::SelectionData </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a737d81c0ec50c493a362851153fb37d0"></a><!-- doxytag: member="Gtk::SelectionData::SelectionData" ref="a737d81c0ec50c493a362851153fb37d0" args="(GtkSelectionData *gobject, bool make_a_copy=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::SelectionData::SelectionData </td>
          <td>(</td>
          <td class="paramtype">GtkSelectionData *&#160;</td>
          <td class="paramname"> <em>gobject</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>make_a_copy</em> = <code>true</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a38e56cf805c11aa747c010f4f3aaf3df"></a><!-- doxytag: member="Gtk::SelectionData::SelectionData" ref="a38e56cf805c11aa747c010f4f3aaf3df" args="(const SelectionData &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::SelectionData::SelectionData </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp;&#160;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6fc29f571a31fa02a34bfba074745637"></a><!-- doxytag: member="Gtk::SelectionData::~SelectionData" ref="a6fc29f571a31fa02a34bfba074745637" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::SelectionData::~SelectionData </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a0dd1ae04cb843a1c9648ea62c81a8841"></a><!-- doxytag: member="Gtk::SelectionData::get_data" ref="a0dd1ae04cb843a1c9648ea62c81a8841" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const guchar* Gtk::SelectionData::get_data </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the raw data of the selection. </p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000128">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The raw data of the selection. </dd></dl>

</div>
</div>
<a class="anchor" id="a652b34830f8c54515f3a70f458e6c152"></a><!-- doxytag: member="Gtk::SelectionData::get_data_as_string" ref="a652b34830f8c54515f3a70f458e6c152" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> Gtk::SelectionData::get_data_as_string </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a20257cb7db350176a9b66d6ce2dedcd4"></a><!-- doxytag: member="Gtk::SelectionData::get_data_type" ref="a20257cb7db350176a9b66d6ce2dedcd4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> Gtk::SelectionData::get_data_type </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the type of the data as set by <a class="el" href="classGtk_1_1SelectionData.html#aa5d6c006f1e575808bb64c3a1724eb87">SelectionData::set()</a>. </p>

</div>
</div>
<a class="anchor" id="aca4a73f550bd8172b42e76031bc8b985"></a><!-- doxytag: member="Gtk::SelectionData::get_display" ref="aca4a73f550bd8172b42e76031bc8b985" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Display.html">Gdk::Display</a>&gt; Gtk::SelectionData::get_display </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the display of the selection. </p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000133">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The display of the selection. </dd></dl>

</div>
</div>
<a class="anchor" id="abe771f4375acf6e152fbe4666534534b"></a><!-- doxytag: member="Gtk::SelectionData::get_display" ref="abe771f4375acf6e152fbe4666534534b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Display.html">Gdk::Display</a>&gt; Gtk::SelectionData::get_display </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the display of the selection. </p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000132">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The display of the selection. </dd></dl>

</div>
</div>
<a class="anchor" id="a0dd95ca2a722651db2ad3e7d1e30f260"></a><!-- doxytag: member="Gtk::SelectionData::get_format" ref="a0dd95ca2a722651db2ad3e7d1e30f260" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gtk::SelectionData::get_format </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the format of the selection. </p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000131">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The format of the selection. </dd></dl>

</div>
</div>
<a class="anchor" id="a5c8913e1086614c80f4e84325c649d42"></a><!-- doxytag: member="Gtk::SelectionData::get_length" ref="a5c8913e1086614c80f4e84325c649d42" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gtk::SelectionData::get_length </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the length of the raw data of the selection. </p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000129">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The length of the data of the selection. </dd></dl>

</div>
</div>
<a class="anchor" id="a32adbe8fe464cc6572c2337951fae84e"></a><!-- doxytag: member="Gtk::SelectionData::get_pixbuf" ref="a32adbe8fe464cc6572c2337951fae84e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>&gt; Gtk::SelectionData::get_pixbuf </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the contents of the selection data as a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. </p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000143">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>If the selection data contained a recognized image type and it could be converted to a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>, a newly allocated pixbuf is returned, otherwise <code>0</code>. If the result is non-<code>0</code> it must be freed with Glib::object_unref(). </dd></dl>

</div>
</div>
<a class="anchor" id="a9c39b784e5977aac600b369c0062bb2f"></a><!-- doxytag: member="Gtk::SelectionData::get_pixbuf" ref="a9c39b784e5977aac600b369c0062bb2f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>&gt; Gtk::SelectionData::get_pixbuf </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the contents of the selection data as a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. </p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000142">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>If the selection data contained a recognized image type and it could be converted to a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>, a newly allocated pixbuf is returned, otherwise <code>0</code>. If the result is non-<code>0</code> it must be freed with Glib::object_unref(). </dd></dl>

</div>
</div>
<a class="anchor" id="ad3cb66db1f8f10015ad4fd01be163e93"></a><!-- doxytag: member="Gtk::SelectionData::get_selection" ref="ad3cb66db1f8f10015ad4fd01be163e93" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdkAtom Gtk::SelectionData::get_selection </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the selection Gdk::Atom of the selection data. </p>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000090">Since gtkmm 2.16:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The selection Gdk::Atom of the selection data. </dd></dl>

</div>
</div>
<a class="anchor" id="a34ee1b33006bf4f2be11c8fdb65df33e"></a><!-- doxytag: member="Gtk::SelectionData::get_target" ref="a34ee1b33006bf4f2be11c8fdb65df33e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> Gtk::SelectionData::get_target </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the target of the selection. </p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000130">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="aaa7563f7e66911e324546f10405044da"></a><!-- doxytag: member="Gtk::SelectionData::get_targets" ref="aaa7563f7e66911e324546f10405044da" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Gdk::ArrayHandle_AtomString</a> Gtk::SelectionData::get_targets </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>See also <a class="el" href="classGtk_1_1Clipboard.html#ae3be3a0d85849117a284f8a1cbfdb98e" title="Requests the contents of the clipboard as list of supported targets.">Gtk::Clipboard::request_targets()</a>. </p>

</div>
</div>
<a class="anchor" id="ad6fe5dc64610a8ef8b76582e09facaea"></a><!-- doxytag: member="Gtk::SelectionData::get_text" ref="ad6fe5dc64610a8ef8b76582e09facaea" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::SelectionData::get_text </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the contents of the selection data as a UTF-8 string. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>If the selection data contained a recognized text type and it could be converted to UTF-8, a string containing the converted text, otherwise an empty string. </dd></dl>

</div>
</div>
<a class="anchor" id="a49dc9543e60c67f9a1bc836df1c08cc5"></a><!-- doxytag: member="Gtk::SelectionData::get_uris" ref="a49dc9543e60c67f9a1bc836df1c08cc5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a> Gtk::SelectionData::get_uris </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the contents of the selection data as a container of URIs. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>If the selection data contains a list of URIs, a container containing the URIs, otherwise an empty container.</dd></dl>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000145">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a61975208c3a824d985a876d76b82791d"></a><!-- doxytag: member="Gtk::SelectionData::gobj" ref="a61975208c3a824d985a876d76b82791d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkSelectionData* Gtk::SelectionData::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. </p>

</div>
</div>
<a class="anchor" id="a64da01e677cb9937a08d5eee606374f1"></a><!-- doxytag: member="Gtk::SelectionData::gobj" ref="a64da01e677cb9937a08d5eee606374f1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkSelectionData* Gtk::SelectionData::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. </p>

</div>
</div>
<a class="anchor" id="a553aea8a0ef83b67096e7ed26ea5d785"></a><!-- doxytag: member="Gtk::SelectionData::gobj_copy" ref="a553aea8a0ef83b67096e7ed26ea5d785" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkSelectionData* Gtk::SelectionData::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. </p>

</div>
</div>
<a class="anchor" id="a3f4a823c42ea8380d0b70c209b62e979"></a><!-- doxytag: member="Gtk::SelectionData::operator=" ref="a3f4a823c42ea8380d0b70c209b62e979" args="(const SelectionData &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp; Gtk::SelectionData::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp;&#160;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1464571fb61f96ac66f15731e8214091"></a><!-- doxytag: member="Gtk::SelectionData::set" ref="a1464571fb61f96ac66f15731e8214091" args="(const std::string &amp;type, const std::string &amp;data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::SelectionData::set </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>data</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assign a string of raw data. </p>
<p>Store new data into the <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object. Should _only_ by called from a selection handler callback. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>type</em>&#160;</td><td>The type of the selection. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>data</em>&#160;</td><td>A string that contains the data (does not have to be text). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3f34e9f6ec1986cd4c299c89585d7926"></a><!-- doxytag: member="Gtk::SelectionData::set" ref="a3f34e9f6ec1986cd4c299c89585d7926" args="(const std::string &amp;type, int format, const guint8 *data, int length)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::SelectionData::set </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const guint8 *&#160;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>length</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assign a memory block of raw data. </p>
<p>Store new data into the <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object. Should _only_ by called from a selection handler callback. A 0-byte terminates the stored data. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>type</em>&#160;</td><td>The type of the selection. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>format</em>&#160;</td><td>The data format, i.e. the number of bits in a unit. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>data</em>&#160;</td><td>Pointer to the data (will be copied). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>length</em>&#160;</td><td>The length of the data block in bytes. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa5d6c006f1e575808bb64c3a1724eb87"></a><!-- doxytag: member="Gtk::SelectionData::set" ref="aa5d6c006f1e575808bb64c3a1724eb87" args="(int format, const guint8 *data, int length)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::SelectionData::set </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const guint8 *&#160;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>length</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abbcfbbbbd1bbc7d581711f32b97b938a"></a><!-- doxytag: member="Gtk::SelectionData::set_pixbuf" ref="abbcfbbbbd1bbc7d581711f32b97b938a" args="(const Glib::RefPtr&lt; Gdk::Pixbuf &gt; &amp;pixbuf)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::SelectionData::set_pixbuf </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>pixbuf</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the contents of the selection from a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> The pixbuf is converted to the form determined by <em>selection_data-&gt;target</em>. </p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000141">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pixbuf</em>&#160;</td><td>A <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the selection was successfully set, otherwise <code>false</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a85a4ed9fd2da8ff6174842d3c53167e3"></a><!-- doxytag: member="Gtk::SelectionData::set_text" ref="a85a4ed9fd2da8ff6174842d3c53167e3" args="(const Glib::ustring &amp;data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::SelectionData::set_text </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>data</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assign UTF-8 encoded text. </p>
<p>Sets the contents of the selection from a UTF-8 encoded string. The string is converted to the form determined by <a class="el" href="classGtk_1_1SelectionData.html#a34ee1b33006bf4f2be11c8fdb65df33e" title="Retrieves the target of the selection.">get_target()</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>data</em>&#160;</td><td>A UTF-8 encoded string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the selection was successfully set, otherwise <code>false</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="aa93d21e8a0ae71cde7f6a92e48bc0a1e"></a><!-- doxytag: member="Gtk::SelectionData::set_uris" ref="aa93d21e8a0ae71cde7f6a92e48bc0a1e" args="(const Glib::StringArrayHandle &amp;uris)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::SelectionData::set_uris </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::StringArrayHandle</a> &amp;&#160;</td>
          <td class="paramname"> <em>uris</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the contents of the selection from a list of URIs. </p>
<p>The string is converted to the form determined by <em>selection_data-&gt;target</em>.</p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000144">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>uris</em>&#160;</td><td>A <code>0</code>-terminated array of strings holding URIs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the selection was successfully set, otherwise <code>false</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a4b164ee2221952c3117064436954c618"></a><!-- doxytag: member="Gtk::SelectionData::swap" ref="a4b164ee2221952c3117064436954c618" args="(SelectionData &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::SelectionData::swap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1SelectionData.html">SelectionData</a>&amp;&#160;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a97521408bbef83c56ed4b8c3faa53bd8"></a><!-- doxytag: member="Gtk::SelectionData::targets_include_image" ref="a97521408bbef83c56ed4b8c3faa53bd8" args="(bool writable=true) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::SelectionData::targets_include_image </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>writable</em> = <code>true</code></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Given a <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object holding a list of targets, determines if any of the targets in <em>targets</em> can be used to provide a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. </p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000146">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>writable</em>&#160;</td><td>Whether to accept only targets for which GTK+ knows how to convert a pixbuf into the format. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>selection_data</em> holds a list of targets, and a suitable target for images is included, otherwise <code>false</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a23502b282ec4546943b6fb4c2d0d8e3d"></a><!-- doxytag: member="Gtk::SelectionData::targets_include_rich_text" ref="a23502b282ec4546943b6fb4c2d0d8e3d" args="(const Glib::RefPtr&lt; TextBuffer &gt; &amp;buffer) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::SelectionData::targets_include_rich_text </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TextBuffer.html">TextBuffer</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>buffer</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Given a <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object holding a list of targets, determines if any of the targets in <em>targets</em> can be used to provide rich text. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000296">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buffer</em>&#160;</td><td>A <a class="el" href="classGtk_1_1TextBuffer.html" title="Multi-line attributed text that can be displayed by one or more Gtk::TextView widgets...">Gtk::TextBuffer</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>selection_data</em> holds a list of targets, and a suitable target for rich text is included, otherwise <code>false</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a589b34bbc75182de5195dd5a22708892"></a><!-- doxytag: member="Gtk::SelectionData::targets_include_text" ref="a589b34bbc75182de5195dd5a22708892" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::SelectionData::targets_include_text </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Given a <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object holding a list of targets, determines if any of the targets in <em>targets</em> can be used to provide text. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>selection_data</em> holds a list of targets, and a suitable target for text is included, otherwise <code>false</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a9fbf51e548ecb51d983531ecccf49fb9"></a><!-- doxytag: member="Gtk::SelectionData::targets_include_uri" ref="a9fbf51e548ecb51d983531ecccf49fb9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::SelectionData::targets_include_uri </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Given a <a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> object holding a list of targets, determines if any of the targets in <em>targets</em> can be used to provide a list or URIs. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000295">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>selection_data</em> holds a list of targets, and a suitable target for URI lists is included, otherwise <code>false</code>. </dd></dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a6e49ccb1719123dd777a6b9b35004dfe"></a><!-- doxytag: member="Gtk::SelectionData::wrap" ref="a6e49ccb1719123dd777a6b9b35004dfe" args="(GtkSelectionData *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1SelectionData.html">Gtk::SelectionData</a> wrap </td>
          <td>(</td>
          <td class="paramtype">GtkSelectionData *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="aeccc1384f7e8decb49a0188c76c99658"></a><!-- doxytag: member="Gtk::SelectionData::gobject_" ref="aeccc1384f7e8decb49a0188c76c99658" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkSelectionData* <a class="el" href="classGtk_1_1SelectionData.html#aeccc1384f7e8decb49a0188c76c99658">Gtk::SelectionData::gobject_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/selectiondata.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:22:01 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>