/usr/share/gtk-doc/html/libinstpatch/IpatchPaste.html is in libinstpatch-doc 1.0.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>IpatchPaste</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<link rel="home" href="index.html" title="libinstpatch Reference Manual">
<link rel="up" href="ch02.html" title="Utility objects and functions">
<link rel="prev" href="libinstpatch-IpatchTypeProp.html" title="IpatchTypeProp">
<link rel="next" href="libinstpatch-IpatchUnit.html" title="IpatchUnit">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="Base objects and functions">
<link rel="chapter" href="ch02.html" title="Utility objects and functions">
<link rel="chapter" href="ch03.html" title="Sample data objects and functions">
<link rel="chapter" href="ch04.html" title="DLS patches">
<link rel="chapter" href="ch05.html" title="SoundFont patches">
<link rel="chapter" href="ch06.html" title="GigaSampler patches">
<link rel="chapter" href="ch07.html" title="Virtual banks">
<link rel="chapter" href="object-tree.html" title="Object Hierarchy">
<link rel="index" href="api-index-full.html" title="API Index">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libinstpatch-IpatchTypeProp.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libinstpatch Reference Manual</th>
<td><a accesskey="n" href="libinstpatch-IpatchUnit.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#IpatchPaste.synopsis" class="shortcut">Top</a>
|
<a href="#IpatchPaste.description" class="shortcut">Description</a>
|
<a href="#IpatchPaste.object-hierarchy" class="shortcut">Object Hierarchy</a>
</td></tr>
</table>
<div class="refentry" title="IpatchPaste">
<a name="IpatchPaste"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="IpatchPaste.top_of_page"></a>IpatchPaste</span></h2>
<p>IpatchPaste — Object paste instance</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1" title="Stability Level">
<a name="IpatchPaste.stability-level"></a><h2>Stability Level</h2>
Stable, unless otherwise indicated
</div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="IpatchPaste.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a
href="../libinstpatch/IpatchPaste.html#IpatchPaste-struct"
>IpatchPaste</a>;
enum <a
href="../libinstpatch/IpatchPaste.html#IpatchPasteChoice"
>IpatchPasteChoice</a>;
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> (<a
href="../libinstpatch/IpatchPaste.html#IpatchPasteTestFunc"
>*IpatchPasteTestFunc</a>) (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *dest,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *src);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> (<a
href="../libinstpatch/IpatchPaste.html#IpatchPasteExecFunc"
>*IpatchPasteExecFunc</a>) (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *dest,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *src,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **err);
enum <a
href="../libinstpatch/IpatchPaste.html#IpatchPastePriority"
>IpatchPastePriority</a>;
#define <a
href="../libinstpatch/IpatchPaste.html#IPATCH-PASTE-FLAGS-PRIORITY-MASK--CAPS"
>IPATCH_PASTE_FLAGS_PRIORITY_MASK</a>
void <a
href="../libinstpatch/IpatchPaste.html#ipatch-register-paste-handler"
>ipatch_register_paste_handler</a> (<a
href="../libinstpatch/IpatchPaste.html#IpatchPasteTestFunc"
>IpatchPasteTestFunc</a> test_func,
<a
href="../libinstpatch/IpatchPaste.html#IpatchPasteExecFunc"
>IpatchPasteExecFunc</a> exec_func,
int flags);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a
href="../libinstpatch/IpatchPaste.html#ipatch-is-paste-possible"
>ipatch_is_paste_possible</a> (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *dest,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *src);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a
href="../libinstpatch/IpatchPaste.html#ipatch-simple-paste"
>ipatch_simple_paste</a> (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *dest,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *src,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **err);
<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> * <a
href="../libinstpatch/IpatchPaste.html#ipatch-paste-new"
>ipatch_paste_new</a> (void);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a
href="../libinstpatch/IpatchPaste.html#ipatch-paste-objects"
>ipatch_paste_objects</a> (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *dest,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *src,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **err);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a
href="../libinstpatch/IpatchPaste.html#ipatch-paste-resolve"
>ipatch_paste_resolve</a> (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
IpatchPasteResolveFunc resolve_func,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a
href="../libinstpatch/IpatchPaste.html#ipatch-paste-finish"
>ipatch_paste_finish</a> (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **err);
<a
href="../libinstpatch/IpatchList.html"
>IpatchList</a> * <a
href="../libinstpatch/IpatchPaste.html#ipatch-paste-get-add-list"
>ipatch_paste_get_add_list</a> (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste);
void <a
href="../libinstpatch/IpatchPaste.html#ipatch-paste-object-add"
>ipatch_paste_object_add</a> (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *additem,
<a
href="../libinstpatch/IpatchContainer.html"
>IpatchContainer</a> *parent,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *orig);
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> * <a
href="../libinstpatch/IpatchPaste.html#ipatch-paste-object-add-duplicate"
>ipatch_paste_object_add_duplicate</a> (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
<a
href="../libinstpatch/IpatchContainer.html"
>IpatchContainer</a> *parent);
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> * <a
href="../libinstpatch/IpatchPaste.html#ipatch-paste-object-add-duplicate-deep"
>ipatch_paste_object_add_duplicate_deep</a>
(<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
<a
href="../libinstpatch/IpatchContainer.html"
>IpatchContainer</a> *parent);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a
href="../libinstpatch/IpatchPaste.html#ipatch-paste-object-add-convert"
>ipatch_paste_object_add_convert</a> (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
<a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
>GType</a> conv_type,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
<a
href="../libinstpatch/IpatchContainer.html"
>IpatchContainer</a> *parent,
<a
href="../libinstpatch/IpatchList.html"
>IpatchList</a> **item_list,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **err);
void <a
href="../libinstpatch/IpatchPaste.html#ipatch-paste-object-link"
>ipatch_paste_object_link</a> (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *from,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *to);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a
href="../libinstpatch/IpatchPaste.html#ipatch-paste-default-test-func"
>ipatch_paste_default_test_func</a> (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *dest,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *src);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a
href="../libinstpatch/IpatchPaste.html#ipatch-paste-default-exec-func"
>ipatch_paste_default_exec_func</a> (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *dest,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *src,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **err);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="IpatchPaste.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----IpatchPaste
</pre>
</div>
<div class="refsect1" title="Description">
<a name="IpatchPaste.description"></a><h2>Description</h2>
<p>
This object provides a system and instance for doing cut/paste operations
on instrument items.</p>
</div>
<div class="refsect1" title="Details">
<a name="IpatchPaste.details"></a><h2>Details</h2>
<div class="refsect2" title="IpatchPaste">
<a name="IpatchPaste-struct"></a><h3>IpatchPaste</h3>
<pre class="programlisting">typedef struct _IpatchPaste IpatchPaste;</pre>
</div>
<hr>
<div class="refsect2" title="enum IpatchPasteChoice">
<a name="IpatchPasteChoice"></a><h3>enum IpatchPasteChoice</h3>
<pre class="programlisting">typedef enum
{
IPATCH_PASTE_CHOICE_IGNORE, /* item will be pasted (conflict remains) */
IPATCH_PASTE_CHOICE_REPLACE, /* replace item */
IPATCH_PASTE_CHOICE_KEEP, /* keep existing item (reverse replace) */
IPATCH_PASTE_CHOICE_CANCEL /* cancel the current operation */
} IpatchPasteChoice;
</pre>
</div>
<hr>
<div class="refsect2" title="IpatchPasteTestFunc ()">
<a name="IpatchPasteTestFunc"></a><h3>IpatchPasteTestFunc ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> (*IpatchPasteTestFunc) (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *dest,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *src);</pre>
<p>
Test if a paste handler can handle the paste operation.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
<td> Destination item of paste operation
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td> Source item of paste operation
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> if paste supported by this handler, <code class="literal">FALSE</code> otherwise
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="IpatchPasteExecFunc ()">
<a name="IpatchPasteExecFunc"></a><h3>IpatchPasteExecFunc ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> (*IpatchPasteExecFunc) (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *dest,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *src,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **err);</pre>
<p>
Perform the construction phase of the paste operation. This includes every
action up to the point of actually adding/linking objects. All object
addition and linking operations are stored in <em class="parameter"><code>paste</code></em> instance to be executed
after resolving conflicts, etc.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>paste</code></em> :</span></p></td>
<td> Paste object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
<td> Destination item of paste operation
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td> Source item of paste operation
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>err</code></em> :</span></p></td>
<td> Location to store error information
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> on error (in which case <em class="parameter"><code>err</code></em> may be set).
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum IpatchPastePriority">
<a name="IpatchPastePriority"></a><h3>enum IpatchPastePriority</h3>
<pre class="programlisting">typedef enum
{
/* 0 value is an alias for IPATCH_PASTE_PRIORITY_DEFAULT */
IPATCH_PASTE_PRIORITY_LOWEST = 1,
IPATCH_PASTE_PRIORITY_LOW = 25,
IPATCH_PASTE_PRIORITY_DEFAULT = 50,
IPATCH_PASTE_PRIORITY_HIGH = 75,
IPATCH_PASTE_PRIORITY_HIGHEST = 100
} IpatchPastePriority;
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_PASTE_FLAGS_PRIORITY_MASK">
<a name="IPATCH-PASTE-FLAGS-PRIORITY-MASK--CAPS"></a><h3>IPATCH_PASTE_FLAGS_PRIORITY_MASK</h3>
<pre class="programlisting">#define IPATCH_PASTE_FLAGS_PRIORITY_MASK 0x7F
</pre>
</div>
<hr>
<div class="refsect2" title="ipatch_register_paste_handler ()">
<a name="ipatch-register-paste-handler"></a><h3>ipatch_register_paste_handler ()</h3>
<pre class="programlisting">void ipatch_register_paste_handler (<a
href="../libinstpatch/IpatchPaste.html#IpatchPasteTestFunc"
>IpatchPasteTestFunc</a> test_func,
<a
href="../libinstpatch/IpatchPaste.html#IpatchPasteExecFunc"
>IpatchPasteExecFunc</a> exec_func,
int flags);</pre>
<p>
Registers a handler function to paste objects for
which <em class="parameter"><code>test_func</code></em> returns <code class="literal">TRUE</code>.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>test_func</code></em> :</span></p></td>
<td> Callback function to test if a paste operation is handled
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>exec_func</code></em> :</span></p></td>
<td> Paste execution function
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
<td> Currently just a value from <a
href="../libinstpatch/IpatchPaste.html#IpatchPastePriority"
><span class="type">IpatchPastePriority</span></a> or 0 for default
priority.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_is_paste_possible ()">
<a name="ipatch-is-paste-possible"></a><h3>ipatch_is_paste_possible ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> ipatch_is_paste_possible (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *dest,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *src);</pre>
<p>
Check if the given items can be pasted from <em class="parameter"><code>src</code></em> to <em class="parameter"><code>dest</code></em>.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
<td> Destination item
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td> Source item
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> if paste is possible, <code class="literal">FALSE</code> otherwise
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_simple_paste ()">
<a name="ipatch-simple-paste"></a><h3>ipatch_simple_paste ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> ipatch_simple_paste (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *dest,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *src,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **err);</pre>
<p>
Simple paste of a single <em class="parameter"><code>src</code></em> item to <em class="parameter"><code>dest</code></em> item. Any conflicts are
ignored which means that conflicts will remain and should be resolved.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
<td> Destination item to paste to
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td> Source item
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>err</code></em> :</span></p></td>
<td> Location to store error info or <code class="literal">NULL</code>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> otherwise in which case <em class="parameter"><code>err</code></em> should be set.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_paste_new ()">
<a name="ipatch-paste-new"></a><h3>ipatch_paste_new ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> * ipatch_paste_new (void);</pre>
</div>
<hr>
<div class="refsect2" title="ipatch_paste_objects ()">
<a name="ipatch-paste-objects"></a><h3>ipatch_paste_objects ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> ipatch_paste_objects (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *dest,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *src,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **err);</pre>
<p>
Setup a paste operation. Multiple item pastes can occur for the same
<em class="parameter"><code>paste</code></em> instance. Existing duplicated items are used if present (example:
if multiple instruments are pasted between different IpatchBase objects
and they link to the same sample, they will both use the same sample in
the final paste operation).</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>paste</code></em> :</span></p></td>
<td> Paste object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
<td> Destination item of paste
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td> Source item of paste
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>err</code></em> :</span></p></td>
<td> Location to store error info or <code class="literal">NULL</code>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> otherwise (in which case <em class="parameter"><code>err</code></em> may be set)
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_paste_resolve ()">
<a name="ipatch-paste-resolve"></a><h3>ipatch_paste_resolve ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> ipatch_paste_resolve (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
IpatchPasteResolveFunc resolve_func,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);</pre>
<p>
This function is used to make choices as to how conflicts are resolved.
Conflicting objects are those with identical unique property values. For
each conflicting object that would result from a paste, the <em class="parameter"><code>resolve_func</code></em> is
called allowing a choice to be made as to how it is handled. The default
choice is to ignore the duplicate, resulting in conflicting objects.
This function can be executed multiple times, the choices are only executed
once <a
href="../libinstpatch/IpatchPaste.html#ipatch-paste-finish"
><code class="function">ipatch_paste_finish()</code></a> is called.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>paste</code></em> :</span></p></td>
<td> Paste object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>resolve_func</code></em> :</span></p></td>
<td> Resolve callback function which is invoked for each conflict.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td> User defined data to pass to <em class="parameter"><code>resolve_func</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> if operation was canceled (<em class="parameter"><code>resolve_func</code></em>
returned <span class="type">IPATCH_PASTE_CHOICE_CANCEL</span>).
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_paste_finish ()">
<a name="ipatch-paste-finish"></a><h3>ipatch_paste_finish ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> ipatch_paste_finish (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **err);</pre>
<p>
Complete the paste operation(s) (add/link objects). Conflicts are handled
for the choices made with <a
href="../libinstpatch/IpatchPaste.html#ipatch-paste-resolve"
><code class="function">ipatch_paste_resolve()</code></a> (defaults to ignore which
will result in conflicts).</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>paste</code></em> :</span></p></td>
<td> Paste object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>err</code></em> :</span></p></td>
<td> Location to store error info or <code class="literal">NULL</code>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> otherwise (in which case <em class="parameter"><code>err</code></em> may be set).
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_paste_get_add_list ()">
<a name="ipatch-paste-get-add-list"></a><h3>ipatch_paste_get_add_list ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchList.html"
>IpatchList</a> * ipatch_paste_get_add_list (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste);</pre>
<p>
Get list of objects to add with paste operation. This can be called
after <a
href="../libinstpatch/IpatchPaste.html#ipatch-paste-objects"
><code class="function">ipatch_paste_objects()</code></a> or after <a
href="../libinstpatch/IpatchPaste.html#ipatch-paste-finish"
><code class="function">ipatch_paste_finish()</code></a>. In the first
case the objects have not yet been added, in the second case the paste
operation has been completed. The list of objects returned are only those
which are not conflicting or a choice of <span class="type">IPATCH_PASTE_CHOICE_IGNORE</span> or
<span class="type">IPATCH_PASTE_CHOICE_REPLACE</span> was selected.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>paste</code></em> :</span></p></td>
<td> Paste object
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> List of objects being added with paste operation or <code class="literal">NULL</code> if none.
Returned list has a refcount of 1 which the caller owns, unref when done.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_paste_object_add ()">
<a name="ipatch-paste-object-add"></a><h3>ipatch_paste_object_add ()</h3>
<pre class="programlisting">void ipatch_paste_object_add (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *additem,
<a
href="../libinstpatch/IpatchContainer.html"
>IpatchContainer</a> *parent,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *orig);</pre>
<p>
Used by <a
href="../libinstpatch/IpatchPaste.html#IpatchPasteExecFunc"
><span class="type">IpatchPasteExecFunc</span></a> handlers. Adds an object addition operation
to a paste instance.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>paste</code></em> :</span></p></td>
<td> Paste object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>additem</code></em> :</span></p></td>
<td> New item to add.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td> Container to parent <em class="parameter"><code>additem</code></em> to.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>orig</code></em> :</span></p></td>
<td> Original item associated with <em class="parameter"><code>additem</code></em> (if duplicated for example).
If supplied then an association between the <em class="parameter"><code>orig</code></em> object and the <em class="parameter"><code>additem</code></em>
will be made, and any references to <em class="parameter"><code>orig</code></em> of subsequent deep duplications
will use the new <em class="parameter"><code>additem</code></em> instead.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_paste_object_add_duplicate ()">
<a name="ipatch-paste-object-add-duplicate"></a><h3>ipatch_paste_object_add_duplicate ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> * ipatch_paste_object_add_duplicate (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
<a
href="../libinstpatch/IpatchContainer.html"
>IpatchContainer</a> *parent);</pre>
<p>
Used by <a
href="../libinstpatch/IpatchPaste.html#IpatchPasteExecFunc"
><span class="type">IpatchPasteExecFunc</span></a> handlers. Duplicates an item and adds an
addition operation to a paste instance. Useful for duplicating an object
within the same IpatchBase parent. For this reason the duplicated item is
automatically forced to be unique and no association is added for <em class="parameter"><code>item</code></em> to
the new duplicate.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>paste</code></em> :</span></p></td>
<td> Paste object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item to duplicate and add
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td> Container to parent duplicated item to.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The new duplicate of <em class="parameter"><code>item</code></em> (no reference added for caller).
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_paste_object_add_duplicate_deep ()">
<a name="ipatch-paste-object-add-duplicate-deep"></a><h3>ipatch_paste_object_add_duplicate_deep ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> * ipatch_paste_object_add_duplicate_deep
(<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
<a
href="../libinstpatch/IpatchContainer.html"
>IpatchContainer</a> *parent);</pre>
<p>
Used by <a
href="../libinstpatch/IpatchPaste.html#IpatchPasteExecFunc"
><span class="type">IpatchPasteExecFunc</span></a> handlers. Deep duplicates <em class="parameter"><code>item</code></em> and registers
it as an add to <em class="parameter"><code>parent</code></em> in the <em class="parameter"><code>paste</code></em> operation, also registers all new
duplicated dependencies of <em class="parameter"><code>item</code></em>. Any existing matching duplicate items in
the <em class="parameter"><code>paste</code></em> instance are used rather than duplicating them again.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>paste</code></em> :</span></p></td>
<td> Paste object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item to deep duplicate and add.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td> Container to parent <em class="parameter"><code>item</code></em> to.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The new duplicate of <em class="parameter"><code>item</code></em> (no reference added for caller).
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_paste_object_add_convert ()">
<a name="ipatch-paste-object-add-convert"></a><h3>ipatch_paste_object_add_convert ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> ipatch_paste_object_add_convert (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
<a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
>GType</a> conv_type,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
<a
href="../libinstpatch/IpatchContainer.html"
>IpatchContainer</a> *parent,
<a
href="../libinstpatch/IpatchList.html"
>IpatchList</a> **item_list,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **err);</pre>
<p>
Used by <a
href="../libinstpatch/IpatchPaste.html#IpatchPasteExecFunc"
><span class="type">IpatchPasteExecFunc</span></a> handlers. Converts <em class="parameter"><code>item</code></em> using an
<a
href="../libinstpatch/IpatchConverter.html"
><span class="type">IpatchConverter</span></a> of type <em class="parameter"><code>conv_type</code></em> and registers
it as an add to <em class="parameter"><code>parent</code></em> in the <em class="parameter"><code>paste</code></em> operation, also registers all new
dependencies of <em class="parameter"><code>item</code></em>. Any existing matching converted item dependencies in
the <em class="parameter"><code>paste</code></em> instance are used rather than duplicating them again.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>paste</code></em> :</span></p></td>
<td> Paste object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>conv_type</code></em> :</span></p></td>
<td> IpatchConverter derived type to use for conversion.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item to convert and add.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td> Container to parent converted item to.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>item_list</code></em> :</span></p></td>
<td> Location to store pointer to the list of added items or <code class="literal">NULL</code>
to ignore. Caller owns a reference to the list.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>err</code></em> :</span></p></td>
<td> Location to store error info or <code class="literal">NULL</code> to ignore.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> otherwise (in which case <em class="parameter"><code>err</code></em> may be set).
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_paste_object_link ()">
<a name="ipatch-paste-object-link"></a><h3>ipatch_paste_object_link ()</h3>
<pre class="programlisting">void ipatch_paste_object_link (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *from,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *to);</pre>
<p>
Used by <a
href="../libinstpatch/IpatchPaste.html#IpatchPasteExecFunc"
><span class="type">IpatchPasteExecFunc</span></a> handlers. Registers a link operation.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>paste</code></em> :</span></p></td>
<td> Paste object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>from</code></em> :</span></p></td>
<td> Item to link from
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>to</code></em> :</span></p></td>
<td> Item to link to
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_paste_default_test_func ()">
<a name="ipatch-paste-default-test-func"></a><h3>ipatch_paste_default_test_func ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> ipatch_paste_default_test_func (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *dest,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *src);</pre>
<p>
Default <a
href="../libinstpatch/IpatchPaste.html#IpatchPasteTestFunc"
><span class="type">IpatchPasteTestFunc</span></a>. Useful for alternative paste implementations
which would like to chain to the default function (to override only specific
object types for example).</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
<td> Destination item of paste operation
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td> Source item of paste operation
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> if paste supported by this handler, <code class="literal">FALSE</code> otherwise
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_paste_default_exec_func ()">
<a name="ipatch-paste-default-exec-func"></a><h3>ipatch_paste_default_exec_func ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> ipatch_paste_default_exec_func (<a
href="../libinstpatch/IpatchPaste.html"
>IpatchPaste</a> *paste,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *dest,
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *src,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **err);</pre>
<p>
Default <a
href="../libinstpatch/IpatchPaste.html#IpatchPasteExecFunc"
><span class="type">IpatchPasteExecFunc</span></a>. Useful for alternative paste implementations
which would like to chain to the default function (to override only specific
object types for example).</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>paste</code></em> :</span></p></td>
<td> Paste object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td> Source object of paste
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
<td> Destination object of paste
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>err</code></em> :</span></p></td>
<td> Location to store error info or <code class="literal">NULL</code>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> otherwise (in which case <em class="parameter"><code>err</code></em> may be set).
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.11</div>
</body>
</html>
|