This file is indexed.

/usr/share/gtk-doc/html/libinstpatch/IpatchItem.html is in libinstpatch-doc 1.0.0-6.

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
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>IpatchItem</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="ch01.html" title="Base objects and functions">
<link rel="prev" href="ch01.html" title="Base objects and functions">
<link rel="next" href="IpatchContainer.html" title="IpatchContainer">
<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="ch01.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.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="IpatchContainer.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#IpatchItem.synopsis" class="shortcut">Top</a>
                 | 
                <a href="#IpatchItem.description" class="shortcut">Description</a>
                 | 
                <a href="#IpatchItem.object-hierarchy" class="shortcut">Object Hierarchy</a>
                 | 
                <a href="#IpatchItem.derived-interfaces" class="shortcut">Known Derived Interfaces</a>
                 | 
                <a href="#IpatchItem.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry" title="IpatchItem">
<a name="IpatchItem"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="IpatchItem.top_of_page"></a>IpatchItem</span></h2>
<p>IpatchItem — Abstract base item object</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1" title="Stability Level">
<a name="IpatchItem.stability-level"></a><h2>Stability Level</h2>
Stable, unless otherwise indicated
</div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="IpatchItem.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        (<a
href="../libinstpatch/IpatchItem.html#IpatchItemCopyLinkFunc"
>*IpatchItemCopyLinkFunc</a>)           (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *link,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);
                    <a
href="../libinstpatch/IpatchItem.html#IpatchItem-struct"
>IpatchItem</a>;
enum                <a
href="../libinstpatch/IpatchItem.html#IpatchItemFlags"
>IpatchItemFlags</a>;
#define             <a
href="../libinstpatch/IpatchItem.html#IPATCH-ITEM-UNUSED-FLAG-SHIFT--CAPS"
>IPATCH_ITEM_UNUSED_FLAG_SHIFT</a>
#define             <a
href="../libinstpatch/IpatchItem.html#IPATCH-ITEM-WLOCK--CAPS"
>IPATCH_ITEM_WLOCK</a>                   (item)
#define             <a
href="../libinstpatch/IpatchItem.html#IPATCH-ITEM-WUNLOCK--CAPS"
>IPATCH_ITEM_WUNLOCK</a>                 (item)
#define             <a
href="../libinstpatch/IpatchItem.html#IPATCH-ITEM-RLOCK--CAPS"
>IPATCH_ITEM_RLOCK</a>                   (item)
#define             <a
href="../libinstpatch/IpatchItem.html#IPATCH-ITEM-RUNLOCK--CAPS"
>IPATCH_ITEM_RUNLOCK</a>                 (item)
#define             <a
href="../libinstpatch/IpatchItem.html#IPATCH-ITEM-PROP-NOTIFY-SET-EVENT--CAPS"
>IPATCH_ITEM_PROP_NOTIFY_SET_EVENT</a>   (info, index, data, destroy)
void                (<a
href="../libinstpatch/IpatchItem.html#IpatchItemPropCallback"
>*IpatchItemPropCallback</a>)           (IpatchItemPropNotify *notify);
void                (<a
href="../libinstpatch/IpatchItem.html#IpatchItemPropDisconnect"
>*IpatchItemPropDisconnect</a>)         (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a> *pspec,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);
#define             <a
href="../libinstpatch/IpatchItem.html#IPATCH-ITEM-COPY-LINK-FUNC--CAPS"
>IPATCH_ITEM_COPY_LINK_FUNC</a>          (item, link, func, userdata)
extern              GParamSpec *<a
href="../libinstpatch/IpatchItem.html#ipatch-item-pspec-title"
>ipatch_item_pspec_title</a>;
void                <a
href="../libinstpatch/IpatchItem.html#ipatch-item-set-parent"
>ipatch_item_set_parent</a>              (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *parent);
void                <a
href="../libinstpatch/IpatchItem.html#ipatch-item-unparent"
>ipatch_item_unparent</a>                (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        <a
href="../libinstpatch/IpatchItem.html#ipatch-item-get-parent"
>ipatch_item_get_parent</a>              (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        <a
href="../libinstpatch/IpatchItem.html#ipatch-item-peek-parent"
>ipatch_item_peek_parent</a>             (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        <a
href="../libinstpatch/IpatchItem.html#ipatch-item-get-base"
>ipatch_item_get_base</a>                (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        <a
href="../libinstpatch/IpatchItem.html#ipatch-item-peek-base"
>ipatch_item_peek_base</a>               (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        <a
href="../libinstpatch/IpatchItem.html#ipatch-item-get-ancestor-by-type"
>ipatch_item_get_ancestor_by_type</a>    (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
>GType</a> ancestor_type);
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        <a
href="../libinstpatch/IpatchItem.html#ipatch-item-peek-ancestor-by-type"
>ipatch_item_peek_ancestor_by_type</a>   (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
>GType</a> ancestor_type);
void                <a
href="../libinstpatch/IpatchItem.html#ipatch-item-remove"
>ipatch_item_remove</a>                  (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);
void                <a
href="../libinstpatch/IpatchItem.html#ipatch-item-changed"
>ipatch_item_changed</a>                 (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);
void                <a
href="../libinstpatch/IpatchItem.html#ipatch-item-get-property-fast"
>ipatch_item_get_property_fast</a>       (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a> *pspec,
                                                         <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
>GValue</a> *value);
void                <a
href="../libinstpatch/IpatchItem.html#ipatch-item-copy"
>ipatch_item_copy</a>                    (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *dest,
                                                         <a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *src);
void                <a
href="../libinstpatch/IpatchItem.html#ipatch-item-copy-link-func"
>ipatch_item_copy_link_func</a>          (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *dest,
                                                         <a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *src,
                                                         <a
href="../libinstpatch/IpatchItem.html#IpatchItemCopyLinkFunc"
>IpatchItemCopyLinkFunc</a> link_func,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);
void                <a
href="../libinstpatch/IpatchItem.html#ipatch-item-copy-replace"
>ipatch_item_copy_replace</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-Hash-Tables.html#GHashTable"
>GHashTable</a> *repl_hash);
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        <a
href="../libinstpatch/IpatchItem.html#ipatch-item-duplicate"
>ipatch_item_duplicate</a>               (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        <a
href="../libinstpatch/IpatchItem.html#ipatch-item-duplicate-link-func"
>ipatch_item_duplicate_link_func</a>     (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="../libinstpatch/IpatchItem.html#IpatchItemCopyLinkFunc"
>IpatchItemCopyLinkFunc</a> link_func,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        <a
href="../libinstpatch/IpatchItem.html#ipatch-item-duplicate-replace"
>ipatch_item_duplicate_replace</a>       (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"
>GHashTable</a> *repl_hash);
<a
href="../libinstpatch/IpatchList.html"
>IpatchList</a> *        <a
href="../libinstpatch/IpatchItem.html#ipatch-item-duplicate-deep"
>ipatch_item_duplicate_deep</a>          (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        <a
href="../libinstpatch/IpatchItem.html#ipatch-item-copy-link-func-deep"
>ipatch_item_copy_link_func_deep</a>     (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *link,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        <a
href="../libinstpatch/IpatchItem.html#ipatch-item-copy-link-func-hash"
>ipatch_item_copy_link_func_hash</a>     (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *link,
                                                         <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/IpatchItem.html#ipatch-item-type-can-conflict"
>ipatch_item_type_can_conflict</a>       (<a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
>GType</a> item_type);
<a
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a> **       <a
href="../libinstpatch/IpatchItem.html#ipatch-item-type-get-unique-specs"
>ipatch_item_type_get_unique_specs</a>   (<a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
>GType</a> item_type,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
>guint32</a> *groups);
<a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#GValueArray"
>GValueArray</a> *       <a
href="../libinstpatch/IpatchItem.html#ipatch-item-get-unique-props"
>ipatch_item_get_unique_props</a>        (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a>               <a
href="../libinstpatch/IpatchItem.html#ipatch-item-test-conflict"
>ipatch_item_test_conflict</a>           (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item1,
                                                         <a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item2);
void                <a
href="../libinstpatch/IpatchItem.html#ipatch-item-set-atomic"
>ipatch_item_set_atomic</a>              (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> item,
                                                         const char *first_property_name,
                                                         ...);
void                <a
href="../libinstpatch/IpatchItem.html#ipatch-item-get-atomic"
>ipatch_item_get_atomic</a>              (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> item,
                                                         const char *first_property_name,
                                                         ...);
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        <a
href="../libinstpatch/IpatchItem.html#ipatch-item-first"
>ipatch_item_first</a>                   (<a
href="../libinstpatch/libinstpatch-IpatchIter.html#IpatchIter"
>IpatchIter</a> *iter);
<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        <a
href="../libinstpatch/IpatchItem.html#ipatch-item-next"
>ipatch_item_next</a>                    (<a
href="../libinstpatch/libinstpatch-IpatchIter.html#IpatchIter"
>IpatchIter</a> *iter);
void                <a
href="../libinstpatch/IpatchItem.html#ipatch-item-prop-notify"
>ipatch_item_prop_notify</a>             (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a> *pspec,
                                                         const <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
>GValue</a> *new_value,
                                                         const <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
>GValue</a> *old_value);
void                <a
href="../libinstpatch/IpatchItem.html#ipatch-item-prop-notify-by-name"
>ipatch_item_prop_notify_by_name</a>     (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         const char *prop_name,
                                                         const <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
>GValue</a> *new_value,
                                                         const <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
>GValue</a> *old_value);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a>               <a
href="../libinstpatch/IpatchItem.html#ipatch-item-prop-connect"
>ipatch_item_prop_connect</a>            (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a> *pspec,
                                                         <a
href="../libinstpatch/IpatchItem.html#IpatchItemPropCallback"
>IpatchItemPropCallback</a> callback,
                                                         <a
href="../libinstpatch/IpatchItem.html#IpatchItemPropDisconnect"
>IpatchItemPropDisconnect</a> disconnect,
                                                         <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#guint"
>guint</a>               <a
href="../libinstpatch/IpatchItem.html#ipatch-item-prop-connect-by-name"
>ipatch_item_prop_connect_by_name</a>    (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         const char *prop_name,
                                                         <a
href="../libinstpatch/IpatchItem.html#IpatchItemPropCallback"
>IpatchItemPropCallback</a> callback,
                                                         <a
href="../libinstpatch/IpatchItem.html#IpatchItemPropDisconnect"
>IpatchItemPropDisconnect</a> disconnect,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);
void                <a
href="../libinstpatch/IpatchItem.html#ipatch-item-prop-disconnect"
>ipatch_item_prop_disconnect</a>         (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a> handler_id);
void                <a
href="../libinstpatch/IpatchItem.html#ipatch-item-prop-disconnect-matched"
>ipatch_item_prop_disconnect_matched</a> (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a> *pspec,
                                                         <a
href="../libinstpatch/IpatchItem.html#IpatchItemPropCallback"
>IpatchItemPropCallback</a> callback,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);
void                <a
href="../libinstpatch/IpatchItem.html#ipatch-item-prop-disconnect-by-name"
>ipatch_item_prop_disconnect_by_name</a> (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         const char *prop_name,
                                                         <a
href="../libinstpatch/IpatchItem.html#IpatchItemPropCallback"
>IpatchItemPropCallback</a> callback,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="IpatchItem.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>
   +----IpatchItem
         +----<a
href="../libinstpatch/IpatchContainer.html"
>IpatchContainer</a>
         +----<a
href="../libinstpatch/IpatchFile.html"
>IpatchFile</a>
         +----<a
href="../libinstpatch/IpatchDLS2Sample.html"
>IpatchDLS2Sample</a>
         +----<a
href="../libinstpatch/IpatchVirtualContainer.html"
>IpatchVirtualContainer</a>
         +----<a
href="../libinstpatch/IpatchDLS2Region.html"
>IpatchDLS2Region</a>
         +----<a
href="../libinstpatch/IpatchSampleData.html"
>IpatchSampleData</a>
         +----<a
href="../libinstpatch/IpatchGigDimension.html"
>IpatchGigDimension</a>
         +----<a
href="../libinstpatch/IpatchGigSubRegion.html"
>IpatchGigSubRegion</a>
         +----<a
href="../libinstpatch/IpatchSampleStore.html"
>IpatchSampleStore</a>
         +----<a
href="../libinstpatch/IpatchSF2Sample.html"
>IpatchSF2Sample</a>
         +----<a
href="../libinstpatch/IpatchSF2Zone.html"
>IpatchSF2Zone</a>
         +----<a
href="../libinstpatch/IpatchVBankRegion.html"
>IpatchVBankRegion</a>
</pre>
</div>
<div class="refsect1" title="Known Derived Interfaces">
<a name="IpatchItem.derived-interfaces"></a><h2>Known Derived Interfaces</h2>
<p>
IpatchItem is required by
 <a
href="../libinstpatch/libinstpatch-IpatchSF2ModItem.html#IpatchSF2ModItemIface"
>IpatchSF2ModItemIface</a>,  <a
href="../libinstpatch/IpatchSample.html"
>IpatchSample</a> and  <a
href="../libinstpatch/libinstpatch-IpatchSF2GenItem.html#IpatchSF2GenItemIface"
>IpatchSF2GenItemIface</a>.</p>
</div>
<div class="refsect1" title="Properties">
<a name="IpatchItem.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a
href="../libinstpatch/IpatchItem.html#IpatchItem--base"
>base</a>"                     <a
href="../libinstpatch/IpatchBase.html"
>IpatchBase</a>*           : Read
  "<a
href="../libinstpatch/IpatchItem.html#IpatchItem--flags"
>flags</a>"                    <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
  "<a
href="../libinstpatch/IpatchItem.html#IpatchItem--parent"
>parent</a>"                   <a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a>*           : Read / Write
  "<a
href="../libinstpatch/IpatchItem.html#IpatchItem--title"
>title</a>"                    <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read
</pre>
</div>
<div class="refsect1" title="Description">
<a name="IpatchItem.description"></a><h2>Description</h2>
<p>
The abstract base item type from which all instrument objects are derived
and many other object types as well.</p>
</div>
<div class="refsect1" title="Details">
<a name="IpatchItem.details"></a><h2>Details</h2>
<div class="refsect2" title="IpatchItemCopyLinkFunc ()">
<a name="IpatchItemCopyLinkFunc"></a><h3>IpatchItemCopyLinkFunc ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        (*IpatchItemCopyLinkFunc)           (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *link,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);</pre>
<p>
A callback function called during item copy/duplicate operations for
any item link reference which needs to be resolved.  An example usage
is for deep duplicating an object (all references can also be duplicated).
Item copy methods should call this for any linked item references which are
not part of the new object.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item which is being linked (contains a reference to <em class="parameter"><code>link</code></em>).
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>link</code></em> :</span></p></td>
<td> The item being referenced (can be NULL).
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td> User data supplied to copy/duplicate function.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Pointer to item to use for link property (can be the <em class="parameter"><code>link</code></em> item
if the duplicated/copied item is local to the same file).
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="IpatchItem">
<a name="IpatchItem-struct"></a><h3>IpatchItem</h3>
<pre class="programlisting">typedef struct _IpatchItem IpatchItem;</pre>
</div>
<hr>
<div class="refsect2" title="enum IpatchItemFlags">
<a name="IpatchItemFlags"></a><h3>enum IpatchItemFlags</h3>
<pre class="programlisting">typedef enum
{
  IPATCH_ITEM_HOOKS_ACTIVE = 1 &lt;&lt; 0,  /* hook callbacks active? */
  IPATCH_ITEM_FREE_MUTEX   = 1 &lt;&lt; 1   /* TRUE if item should free its mutex */
} IpatchItemFlags;
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_ITEM_UNUSED_FLAG_SHIFT">
<a name="IPATCH-ITEM-UNUSED-FLAG-SHIFT--CAPS"></a><h3>IPATCH_ITEM_UNUSED_FLAG_SHIFT</h3>
<pre class="programlisting">#define IPATCH_ITEM_UNUSED_FLAG_SHIFT 4
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_ITEM_WLOCK()">
<a name="IPATCH-ITEM-WLOCK--CAPS"></a><h3>IPATCH_ITEM_WLOCK()</h3>
<pre class="programlisting">#define             IPATCH_ITEM_WLOCK(item)</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_ITEM_WUNLOCK()">
<a name="IPATCH-ITEM-WUNLOCK--CAPS"></a><h3>IPATCH_ITEM_WUNLOCK()</h3>
<pre class="programlisting">#define             IPATCH_ITEM_WUNLOCK(item)</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_ITEM_RLOCK()">
<a name="IPATCH-ITEM-RLOCK--CAPS"></a><h3>IPATCH_ITEM_RLOCK()</h3>
<pre class="programlisting">#define IPATCH_ITEM_RLOCK(item)		IPATCH_ITEM_WLOCK(item)
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_ITEM_RUNLOCK()">
<a name="IPATCH-ITEM-RUNLOCK--CAPS"></a><h3>IPATCH_ITEM_RUNLOCK()</h3>
<pre class="programlisting">#define IPATCH_ITEM_RUNLOCK(item)	IPATCH_ITEM_WUNLOCK(item)
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_ITEM_PROP_NOTIFY_SET_EVENT()">
<a name="IPATCH-ITEM-PROP-NOTIFY-SET-EVENT--CAPS"></a><h3>IPATCH_ITEM_PROP_NOTIFY_SET_EVENT()</h3>
<pre class="programlisting">#define             IPATCH_ITEM_PROP_NOTIFY_SET_EVENT(info, index, data, destroy)</pre>
<p>
A macro for assigning per event pointers to <span class="type">IpatchItemPropNotify</span>.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
<td> IpatchItemPropNotify pointer
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>index</code></em> :</span></p></td>
<td> Pointer index (0-3)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td> Data to assign to pointer field
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
<td> Callback function to cleanup <em class="parameter"><code>data</code></em> when done (or <code class="literal">NULL</code>)
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="IpatchItemPropCallback ()">
<a name="IpatchItemPropCallback"></a><h3>IpatchItemPropCallback ()</h3>
<pre class="programlisting">void                (*IpatchItemPropCallback)           (IpatchItemPropNotify *notify);</pre>
<p>
IpatchItem property change callback function prototype.</p>
</div>
<hr>
<div class="refsect2" title="IpatchItemPropDisconnect ()">
<a name="IpatchItemPropDisconnect"></a><h3>IpatchItemPropDisconnect ()</h3>
<pre class="programlisting">void                (*IpatchItemPropDisconnect)         (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a> *pspec,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);</pre>
<p>
Function prototype which gets called when a property notify callback gets
disconnected.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item of prop change match criteria
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
<td> Parameter spec of prop change match criteria
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td> User defined pointer from when callback was added
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="IPATCH_ITEM_COPY_LINK_FUNC()">
<a name="IPATCH-ITEM-COPY-LINK-FUNC--CAPS"></a><h3>IPATCH_ITEM_COPY_LINK_FUNC()</h3>
<pre class="programlisting">#define             IPATCH_ITEM_COPY_LINK_FUNC(item, link, func, userdata)</pre>
</div>
<hr>
<div class="refsect2" title="ipatch_item_pspec_title">
<a name="ipatch-item-pspec-title"></a><h3>ipatch_item_pspec_title</h3>
<pre class="programlisting">extern GParamSpec *ipatch_item_pspec_title;
</pre>
</div>
<hr>
<div class="refsect2" title="ipatch_item_set_parent ()">
<a name="ipatch-item-set-parent"></a><h3>ipatch_item_set_parent ()</h3>
<pre class="programlisting">void                ipatch_item_set_parent              (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *parent);</pre>
<p>
Usually only used by <a
href="../libinstpatch/IpatchItem.html"
><span class="type">IpatchItem</span></a> type implementations. Sets the
parent of a patch item. Also recursively sets base parent and
<span class="type">IPATCH_ITEM_HOOKS_ACTIVE</span> flag if set in <em class="parameter"><code>parent</code></em>. Also assigns the item's
thread mutex to that of the parent if its class has mutex_slave set.
The <em class="parameter"><code>parent</code></em> container is responsible for adding a reference to <em class="parameter"><code>item</code></em> - this
function does not do so.
</p>
<p>
NOTE: If the <em class="parameter"><code>item</code></em> has mutex_slave set in its class then the item will use
<em class="parameter"><code>parent</code></em> object's mutex.  During the call to this function <em class="parameter"><code>item</code></em> should not
be accessed by any other threads, otherwise problems may occur when the
mutex is changed.  Normally this shouldn't be much of an issue, since new
item's are often only accessed by 1 thread until being parented.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item to set parent of (should not have a parent).
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td> New parent of item.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_unparent ()">
<a name="ipatch-item-unparent"></a><h3>ipatch_item_unparent ()</h3>
<pre class="programlisting">void                ipatch_item_unparent                (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);</pre>
<p>
Usually only used by <a
href="../libinstpatch/IpatchItem.html"
><span class="type">IpatchItem</span></a> type implementations. Unparent an
item. Also recursively unsets base parent and
<span class="type">IPATCH_ITEM_HOOKS_ACTIVE</span> flag. Parent container object is
responsible for removing reference of <em class="parameter"><code>item</code></em> - this function does
not do so.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item to unparent
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_get_parent ()">
<a name="ipatch-item-get-parent"></a><h3>ipatch_item_get_parent ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        ipatch_item_get_parent              (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);</pre>
<p>
Gets the parent of <em class="parameter"><code>item</code></em> after incrementing its reference count. The
caller is responsible for decrementing the reference count with
g_object_unref when finished with it. This function is useful because
all code paths must contain references to the items that they are working
with in a multi-thread environment (there is no guarantee an item won't
be destroyed unless a refcount is held).</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item to get parent of
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The parent of <em class="parameter"><code>item</code></em> or <code class="literal">NULL</code> if not parented or a root item. If
not <code class="literal">NULL</code> then the reference count of parent has been incremented and the
caller is responsible for removing it when finished with parent.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_peek_parent ()">
<a name="ipatch-item-peek-parent"></a><h3>ipatch_item_peek_parent ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        ipatch_item_peek_parent             (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);</pre>
<p>
This function is the same as <a
href="../libinstpatch/IpatchItem.html#ipatch-item-get-parent"
><code class="function">ipatch_item_get_parent()</code></a> (gets an
item's parent) but does not increment the parent's ref
count. Therefore this function should only be used when the caller
already holds a reference or when only the value of the pointer
will be used (not the contents), to avoid multi-thread problems.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item to get the parent of
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The parent of <em class="parameter"><code>item</code></em> or <code class="literal">NULL</code> if not parented or a root item.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_get_base ()">
<a name="ipatch-item-get-base"></a><h3>ipatch_item_get_base ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        ipatch_item_get_base                (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);</pre>
<p>
Gets the base parent of <em class="parameter"><code>item</code></em> (toplevel patch file object) after
incrementing its reference count. The caller is responsible for
decrementing the reference count with g_object_unref when finished
with it. If <em class="parameter"><code>item</code></em> is itself a <a
href="../libinstpatch/IpatchBase.html"
><span class="type">IpatchBase</span></a> object then it is returned.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item to get base parent of
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The base parent of <em class="parameter"><code>item</code></em> or <code class="literal">NULL</code> if no <a
href="../libinstpatch/IpatchBase.html"
><span class="type">IpatchBase</span></a> type
in parent ancestry. If not <code class="literal">NULL</code> then the reference count of
parent has been incremented and the caller is responsible for
removing it when finished with the base parent.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_peek_base ()">
<a name="ipatch-item-peek-base"></a><h3>ipatch_item_peek_base ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        ipatch_item_peek_base               (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);</pre>
<p>
This function is the same as <a
href="../libinstpatch/IpatchItem.html#ipatch-item-get-base"
><code class="function">ipatch_item_get_base()</code></a> (gets an
item's toplevel base parent) but does not increment the parent's ref
count. Therefore this function should only be used when the caller
already holds a reference or when only the value of the pointer
will be used (not the contents), to avoid multi-thread problems.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item to get the base parent of
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The base parent of <em class="parameter"><code>item</code></em> or <code class="literal">NULL</code> if no <a
href="../libinstpatch/IpatchBase.html"
><span class="type">IpatchBase</span></a> type
in parent ancestry.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_get_ancestor_by_type ()">
<a name="ipatch-item-get-ancestor-by-type"></a><h3>ipatch_item_get_ancestor_by_type ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        ipatch_item_get_ancestor_by_type    (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
>GType</a> ancestor_type);</pre>
<p>
Searches for the first parent item that is derived from
<em class="parameter"><code>ancestor_type</code></em> in the <em class="parameter"><code>item</code></em> object's ancestry. <em class="parameter"><code>ancestor_type</code></em> must
be an <a
href="../libinstpatch/IpatchItem.html"
><span class="type">IpatchItem</span></a> derived type (as well as the ancestry of
<em class="parameter"><code>item</code></em>). Of note is that <em class="parameter"><code>item</code></em> can also match. The returned item's
reference count has been incremented and it is the responsiblity of
the caller to remove it with <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"
><code class="function">g_object_unref()</code></a> when finished with
it.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item to search for parent of a given type
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ancestor_type</code></em> :</span></p></td>
<td> Type of parent in the <em class="parameter"><code>item</code></em> object's ancestry
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The matched item (can be the <em class="parameter"><code>item</code></em> itself) or <code class="literal">NULL</code> if no
item matches <em class="parameter"><code>ancestor_type</code></em> in the ancestry. Remember to unref the
matched item when done with it.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_peek_ancestor_by_type ()">
<a name="ipatch-item-peek-ancestor-by-type"></a><h3>ipatch_item_peek_ancestor_by_type ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        ipatch_item_peek_ancestor_by_type   (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
>GType</a> ancestor_type);</pre>
<p>
Just like <a
href="../libinstpatch/IpatchItem.html#ipatch-item-get-ancestor-by-type"
><code class="function">ipatch_item_get_ancestor_by_type()</code></a> but doesn't ref returned item.
This should only be used when caller already owns a reference or only the
pointer value is of importance, since otherwise there is a potential
multi-thread race condition.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item to search for parent of a given type
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ancestor_type</code></em> :</span></p></td>
<td> Type of parent in the <em class="parameter"><code>item</code></em> object's ancestry
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The matched item (can be the <em class="parameter"><code>item</code></em> itself) or <code class="literal">NULL</code> if no
item matches <em class="parameter"><code>ancestor_type</code></em> in the ancestry. Remember that the returned
item is not referenced.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_remove ()">
<a name="ipatch-item-remove"></a><h3>ipatch_item_remove ()</h3>
<pre class="programlisting">void                ipatch_item_remove                  (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);</pre>
<p>
This function removes an item from its parent container and removes other
references from within the same patch (e.g., a <a
href="../libinstpatch/IpatchSF2Sample.html"
><span class="type">IpatchSF2Sample</span></a>
will be removed from its parent <a
href="../libinstpatch/IpatchSF2.html"
><span class="type">IpatchSF2</span></a> and all <a
href="../libinstpatch/IpatchSF2IZone.html"
><span class="type">IpatchSF2IZone</span></a> objects
referencing the sample will also be removed).</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item to remove
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_changed ()">
<a name="ipatch-item-changed"></a><h3>ipatch_item_changed ()</h3>
<pre class="programlisting">void                ipatch_item_changed                 (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);</pre>
<p>
This function should be called when an item's saveable state (what ends
up in a patch file) has changed. Causes the <em class="parameter"><code>item</code></em> object's base parent
to have its changed flag set, indicating that the file has changes that
have not been saved.  Note that this function is automatically called when
an <a
href="../libinstpatch/IpatchItem.html#ipatch-item-prop-notify"
><code class="function">ipatch_item_prop_notify()</code></a> occurs for a property without the
<span class="type">IPATCH_PARAM_NO_SAVE_CHANGE</span> flag in its <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
><span class="type">GParamSpec</span></a> and therefore this
function should not be called additionally.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item that has changed
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_get_property_fast ()">
<a name="ipatch-item-get-property-fast"></a><h3>ipatch_item_get_property_fast ()</h3>
<pre class="programlisting">void                ipatch_item_get_property_fast       (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a> *pspec,
                                                         <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
>GValue</a> *value);</pre>
<p>
Usually only used by <a
href="../libinstpatch/IpatchItem.html"
><span class="type">IpatchItem</span></a> implementations.  A faster way to retrieve
an object property.  Often used for fetching current value for property
notifies.  Notice that this function currently doesn't work with interface
or class overridden properties.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item to get property value from
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
<td> Parameter spec of property to get
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td> Uninitialized caller supplied value to store the current value in.
  Remember to call g_value_unset when done with it.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_copy ()">
<a name="ipatch-item-copy"></a><h3>ipatch_item_copy ()</h3>
<pre class="programlisting">void                ipatch_item_copy                    (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *dest,
                                                         <a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *src);</pre>
<p>
Copy an item using the item class' "copy" method.  Object links are
copied as is, meaning the resulting object is a local object to the same
<a
href="../libinstpatch/IpatchBase.html"
><span class="type">IpatchBase</span></a>.</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> New destination item to copy to (should be same type or derived
  from <em class="parameter"><code>src</code></em> type)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td> Item to copy from
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_copy_link_func ()">
<a name="ipatch-item-copy-link-func"></a><h3>ipatch_item_copy_link_func ()</h3>
<pre class="programlisting">void                ipatch_item_copy_link_func          (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *dest,
                                                         <a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *src,
                                                         <a
href="../libinstpatch/IpatchItem.html#IpatchItemCopyLinkFunc"
>IpatchItemCopyLinkFunc</a> link_func,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);</pre>
<p>
Copy an item using the item class' "copy" method.  Like <a
href="../libinstpatch/IpatchItem.html#ipatch-item-copy"
><code class="function">ipatch_item_copy()</code></a>
but takes a <em class="parameter"><code>link_func</code></em> which can be used for handling replication of
externally linked objects (recursively deep duplicate for example, although
there is <a
href="../libinstpatch/IpatchItem.html#ipatch-item-duplicate-deep"
><code class="function">ipatch_item_duplicate_deep()</code></a> specifically for that).</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> New destination item to copy to (should be same type or derived
  from <em class="parameter"><code>src</code></em> type)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td> Item to copy from
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>link_func</code></em> :</span></p></td>
<td> Function to call for each object link pointer in <em class="parameter"><code>src</code></em>.  This
  function can alter the copied link if desired.
</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>link_func</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_copy_replace ()">
<a name="ipatch-item-copy-replace"></a><h3>ipatch_item_copy_replace ()</h3>
<pre class="programlisting">void                ipatch_item_copy_replace            (<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-Hash-Tables.html#GHashTable"
>GHashTable</a> *repl_hash);</pre>
<p>
Like <a
href="../libinstpatch/IpatchItem.html#ipatch-item-copy"
><code class="function">ipatch_item_copy()</code></a> but takes a link replacement hash, which can be
used for substituting different objects for object links.  See
<a
href="../libinstpatch/IpatchItem.html#ipatch-item-copy-link-func"
><code class="function">ipatch_item_copy_link_func()</code></a> if even more flexibility is desired.</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> New destination item to copy to (should be same type or derived
  from <em class="parameter"><code>src</code></em> type)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td> Item to copy from
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>repl_hash</code></em> :</span></p></td>
<td> Hash of link pointer substitutions.  The original link pointer
  is the hash key, and the hash value is the replacement pointer.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_duplicate ()">
<a name="ipatch-item-duplicate"></a><h3>ipatch_item_duplicate ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        ipatch_item_duplicate               (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);</pre>
<p>
A convenience function to duplicate an item. Like <a
href="../libinstpatch/IpatchItem.html#ipatch-item-copy"
><code class="function">ipatch_item_copy()</code></a> but
creates a new duplicate item, rather than using an existing item.  Note
that externally linked objects are not duplicated for non <a
href="../libinstpatch/IpatchBase.html"
><span class="type">IpatchBase</span></a>
derived types, making the item local to the same <a
href="../libinstpatch/IpatchBase.html"
><span class="type">IpatchBase</span></a> object.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item to duplicate
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> New duplicate item. Caller owns the reference to the new item.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_duplicate_link_func ()">
<a name="ipatch-item-duplicate-link-func"></a><h3>ipatch_item_duplicate_link_func ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        ipatch_item_duplicate_link_func     (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="../libinstpatch/IpatchItem.html#IpatchItemCopyLinkFunc"
>IpatchItemCopyLinkFunc</a> link_func,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);</pre>
<p>
Like <a
href="../libinstpatch/IpatchItem.html#ipatch-item-copy-link-func"
><code class="function">ipatch_item_copy_link_func()</code></a> but duplicates the item instead of
copying to an existing item.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item to duplicate
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>link_func</code></em> :</span></p></td>
<td> Function to call for each object link pointer in <em class="parameter"><code>item</code></em>.  This
  function can alter the copied link if desired.
</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>link_func</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> New duplicate item. Caller owns the reference to the new item.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_duplicate_replace ()">
<a name="ipatch-item-duplicate-replace"></a><h3>ipatch_item_duplicate_replace ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        ipatch_item_duplicate_replace       (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"
>GHashTable</a> *repl_hash);</pre>
<p>
Like <a
href="../libinstpatch/IpatchItem.html#ipatch-item-copy-replace"
><code class="function">ipatch_item_copy_replace()</code></a> but duplicates the item instead of
copying it to an already created item.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item to duplicate
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>repl_hash</code></em> :</span></p></td>
<td> Hash of link pointer substitutions.  The original link pointer
  is the hash key, and the hash value is the replacement pointer.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> New duplicate item. Caller owns the reference to the new item.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_duplicate_deep ()">
<a name="ipatch-item-duplicate-deep"></a><h3>ipatch_item_duplicate_deep ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchList.html"
>IpatchList</a> *        ipatch_item_duplicate_deep          (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);</pre>
<p>
Recursively duplicate an item (i.e., its dependencies also).</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item to deep duplicate
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> List of duplicated <em class="parameter"><code>item</code></em> and dependencies (duplicated <em class="parameter"><code>item</code></em> is the
first in the list).  List object is owned by the caller and should be
unreferenced when finished using it.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_copy_link_func_deep ()">
<a name="ipatch-item-copy-link-func-deep"></a><h3>ipatch_item_copy_link_func_deep ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        ipatch_item_copy_link_func_deep     (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *link,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);</pre>
</div>
<hr>
<div class="refsect2" title="ipatch_item_copy_link_func_hash ()">
<a name="ipatch-item-copy-link-func-hash"></a><h3>ipatch_item_copy_link_func_hash ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        ipatch_item_copy_link_func_hash     (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *link,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);</pre>
<p>
A predefined <a
href="../libinstpatch/IpatchItem.html#IpatchItemCopyLinkFunc"
><span class="type">IpatchItemCopyLinkFunc</span></a> which takes a hash for the <em class="parameter"><code>user_data</code></em>
component, which is used for replacing link pointers.  <em class="parameter"><code>link</code></em> is used as the
hash key, the hash value is used in its place if present otherwise <em class="parameter"><code>link</code></em> is
used unchanged.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item which is being linked (contains a reference to <em class="parameter"><code>link</code></em>).
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>link</code></em> :</span></p></td>
<td> The item being referenced.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td> User data supplied to copy/duplicate function.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Value in hash (<em class="parameter"><code>user_data</code></em>) if <em class="parameter"><code>link</code></em> is present in hash, or <em class="parameter"><code>link</code></em>
itself if not.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_type_can_conflict ()">
<a name="ipatch-item-type-can-conflict"></a><h3>ipatch_item_type_can_conflict ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a>            ipatch_item_type_can_conflict       (<a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
>GType</a> item_type);</pre>
<p>
Test if a given <a
href="../libinstpatch/IpatchItem.html"
><span class="type">IpatchItem</span></a> derived type can conflict with another item
(only applies to items of the same type in the same <a
href="../libinstpatch/IpatchBase.html"
><span class="type">IpatchBase</span></a> object).</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item_type</code></em> :</span></p></td>
<td> Type to test
</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 <em class="parameter"><code>item_type</code></em> can conflict (has properties which should be
unique among its siblings), <code class="literal">FALSE</code> otherwise.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_type_get_unique_specs ()">
<a name="ipatch-item-type-get-unique-specs"></a><h3>ipatch_item_type_get_unique_specs ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a> **       ipatch_item_type_get_unique_specs   (<a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
>GType</a> item_type,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
>guint32</a> *groups);</pre>
<p>
Get the list of unique parameter specs which can conflict for a given
item type.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item_type</code></em> :</span></p></td>
<td> Type to get unique parameter specs for
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>groups</code></em> :</span></p></td>
<td> Location to store an integer describing groups.  Each bit
  corresponds to a GParamSpec in the returned array.  GParamSpecs of the
  same group will have the same bit value (0 or 1) and be consecutive.
  Unique properties in the same group must all match (logic AND) for a
  conflict to occur.  Pass <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">NULL</code> terminated list of parameter specs or <code class="literal">NULL</code> if <em class="parameter"><code>item_type</code></em>
can never conflict.  The returned array is internal and should not be
modified or freed.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_get_unique_props ()">
<a name="ipatch-item-get-unique-props"></a><h3>ipatch_item_get_unique_props ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#GValueArray"
>GValueArray</a> *       ipatch_item_get_unique_props        (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item);</pre>
<p>
Get the values of the unique properties for <em class="parameter"><code>item</code></em>.  This is useful when
doing conflict detection processing and more flexibility is desired than
with <a
href="../libinstpatch/IpatchItem.html#ipatch-item-test-conflict"
><code class="function">ipatch_item_test_conflict()</code></a>.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item to get unique properties of
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> GValueArray of the unique property values of <em class="parameter"><code>item</code></em> in the same
order as the parameter specs returned by <a
href="../libinstpatch/IpatchItem.html#ipatch-item-type-get-unique-specs"
><code class="function">ipatch_item_type_get_unique_specs()</code></a>.
<code class="literal">NULL</code> is returned if <em class="parameter"><code>item</code></em> doesn't have any unique properties.
Use <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#g-value-array-free"
><code class="function">g_value_array_free()</code></a> to free the array when finished using it.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_test_conflict ()">
<a name="ipatch-item-test-conflict"></a><h3>ipatch_item_test_conflict ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a>               ipatch_item_test_conflict           (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item1,
                                                         <a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item2);</pre>
<p>
Test if two items would conflict if they were siblings (doesn't actually
test if they are siblings).</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item1</code></em> :</span></p></td>
<td> First item to test
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>item2</code></em> :</span></p></td>
<td> Second item to test
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Flags of unique properties which conflict.  The bit index
corresponds to the parameter index in the array returned by
<a
href="../libinstpatch/IpatchItem.html#ipatch-item-type-get-unique-specs"
><code class="function">ipatch_item_type_get_unique_specs()</code></a>.  0 is returned if the items do not
conflict.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_set_atomic ()">
<a name="ipatch-item-set-atomic"></a><h3>ipatch_item_set_atomic ()</h3>
<pre class="programlisting">void                ipatch_item_set_atomic              (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> item,
                                                         const char *first_property_name,
                                                         ...);</pre>
<p>
Sets properties on a patch item atomically (i.e. item is
multi-thread locked while all properties are set). This avoids
critical parameter sync problems when multiple threads are
accessing the same item. See <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-set"
><code class="function">g_object_set()</code></a> for more information on
setting properties.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> IpatchItem derived object to set properties of
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td>
<td> Name of first property
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td> Variable list of arguments that should start with the value to
set <em class="parameter"><code>first_property_name</code></em> to, followed by property name/value pairs. List is
terminated with a <code class="literal">NULL</code> property name.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_get_atomic ()">
<a name="ipatch-item-get-atomic"></a><h3>ipatch_item_get_atomic ()</h3>
<pre class="programlisting">void                ipatch_item_get_atomic              (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> item,
                                                         const char *first_property_name,
                                                         ...);</pre>
<p>
Gets properties from a patch item atomically (i.e. item is
multi-thread locked while all properties are retrieved). This
avoids critical parameter sync problems when multiple threads are
accessing the same item. See <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-get"
><code class="function">g_object_get()</code></a> for more information on
getting properties.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> IpatchItem derived object to get properties from
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td>
<td> Name of first property
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td> Variable list of arguments that should start with a
pointer to store the value from <em class="parameter"><code>first_property_name</code></em>, followed by
property name/value pointer pairs. List is terminated with a <code class="literal">NULL</code>
property name.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_first ()">
<a name="ipatch-item-first"></a><h3>ipatch_item_first ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        ipatch_item_first                   (<a
href="../libinstpatch/libinstpatch-IpatchIter.html#IpatchIter"
>IpatchIter</a> *iter);</pre>
<p>
Gets the first item in a patch item iterator. A convenience wrapper for
<a
href="../libinstpatch/libinstpatch-IpatchIter.html#ipatch-iter-first"
><code class="function">ipatch_iter_first()</code></a>.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td> Patch item iterator containing <a
href="../libinstpatch/IpatchItem.html"
><span class="type">IpatchItem</span></a> items
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The first item in <em class="parameter"><code>iter</code></em> or <code class="literal">NULL</code> if empty.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_next ()">
<a name="ipatch-item-next"></a><h3>ipatch_item_next ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *        ipatch_item_next                    (<a
href="../libinstpatch/libinstpatch-IpatchIter.html#IpatchIter"
>IpatchIter</a> *iter);</pre>
<p>
Gets the next item in a patch item iterator. A convenience wrapper for
<a
href="../libinstpatch/libinstpatch-IpatchIter.html#ipatch-iter-next"
><code class="function">ipatch_iter_next()</code></a>.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td> Patch item iterator containing <a
href="../libinstpatch/IpatchItem.html"
><span class="type">IpatchItem</span></a> items
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The next item in <em class="parameter"><code>iter</code></em> or <code class="literal">NULL</code> if no more items.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_prop_notify ()">
<a name="ipatch-item-prop-notify"></a><h3>ipatch_item_prop_notify ()</h3>
<pre class="programlisting">void                ipatch_item_prop_notify             (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a> *pspec,
                                                         const <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
>GValue</a> *new_value,
                                                         const <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
>GValue</a> *old_value);</pre>
<p>
Usually only used by <a
href="../libinstpatch/IpatchItem.html"
><span class="type">IpatchItem</span></a> object implementations, rather
than explicitly called by the user.  It should be called AFTER item
property changes that occur outside of the <a
href="../libinstpatch/IpatchItem.html"
><span class="type">IpatchItem</span></a>
<em class="structfield"><code>item_set_property</code></em> method.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item whose property changed
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
<td> Parameter specification for <em class="parameter"><code>item</code></em> of parameter that changed
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>new_value</code></em> :</span></p></td>
<td> The new value that was assigned
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>old_value</code></em> :</span></p></td>
<td> Old value that property had (can be <code class="literal">NULL</code> for read only props)
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_prop_notify_by_name ()">
<a name="ipatch-item-prop-notify-by-name"></a><h3>ipatch_item_prop_notify_by_name ()</h3>
<pre class="programlisting">void                ipatch_item_prop_notify_by_name     (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         const char *prop_name,
                                                         const <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
>GValue</a> *new_value,
                                                         const <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
>GValue</a> *old_value);</pre>
<p>
Usually only used by <a
href="../libinstpatch/IpatchItem.html"
><span class="type">IpatchItem</span></a> object implementations, rather
than explicitly called by the user. Like <a
href="../libinstpatch/IpatchItem.html#ipatch-item-prop-notify"
><code class="function">ipatch_item_prop_notify()</code></a>
except takes a property name instead of a parameter spec, for
added convenience.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> Item whose property changed
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>prop_name</code></em> :</span></p></td>
<td> Name of property that changed
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>new_value</code></em> :</span></p></td>
<td> The new value that was assigned
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>old_value</code></em> :</span></p></td>
<td> Old value that property had (can be <code class="literal">NULL</code> for read only
  properties)
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_prop_connect ()">
<a name="ipatch-item-prop-connect"></a><h3>ipatch_item_prop_connect ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a>               ipatch_item_prop_connect            (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a> *pspec,
                                                         <a
href="../libinstpatch/IpatchItem.html#IpatchItemPropCallback"
>IpatchItemPropCallback</a> callback,
                                                         <a
href="../libinstpatch/IpatchItem.html#IpatchItemPropDisconnect"
>IpatchItemPropDisconnect</a> disconnect,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);</pre>
<p>
Connect a callback for a specific <a
href="../libinstpatch/IpatchItem.html"
><span class="type">IpatchItem</span></a> and property. If a property
change occurs for the given <em class="parameter"><code>item</code></em> and <em class="parameter"><code>pspec</code></em> then the callback is
invoked.  The parameters <em class="parameter"><code>item</code></em> and/or <em class="parameter"><code>pspec</code></em> may be <code class="literal">NULL</code> for wild card
matching (if both are <code class="literal">NULL</code> then callback will be called for all <a
href="../libinstpatch/IpatchItem.html"
><span class="type">IpatchItem</span></a>
property changes).</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> IpatchItem to match (or <code class="literal">NULL</code> for wildcard)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
<td> Property parameter specification to match (or <code class="literal">NULL</code> for wildcard)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td> Callback function
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>disconnect</code></em> :</span></p></td>
<td> Callback disconnect function (called when the callback is
  disconnected) can be NULL.
</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>callback</code></em> and <em class="parameter"><code>disconnect</code></em> function.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Unique handler ID which can be used to remove the handler or 0 on
  error (only when function params are incorrect).
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_prop_connect_by_name ()">
<a name="ipatch-item-prop-connect-by-name"></a><h3>ipatch_item_prop_connect_by_name ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a>               ipatch_item_prop_connect_by_name    (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         const char *prop_name,
                                                         <a
href="../libinstpatch/IpatchItem.html#IpatchItemPropCallback"
>IpatchItemPropCallback</a> callback,
                                                         <a
href="../libinstpatch/IpatchItem.html#IpatchItemPropDisconnect"
>IpatchItemPropDisconnect</a> disconnect,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);</pre>
<p>
Like <code class="function">ipatch_item_prop_add_callback()</code> but takes the name of a property\
instead of the parameter spec, for added convenience.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> IpatchItem to match (or <code class="literal">NULL</code> for wildcard)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>prop_name</code></em> :</span></p></td>
<td> Name of property of <em class="parameter"><code>item</code></em> to match
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td> Callback function
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>disconnect</code></em> :</span></p></td>
<td> Callback disconnect function (called when the callback is
  disconnect) can be NULL.
</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>callback</code></em> and <em class="parameter"><code>disconnect</code></em> function.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Unique handler ID which can be used to remove the handler or 0 on
  error (only when function params are incorrect).
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_prop_disconnect ()">
<a name="ipatch-item-prop-disconnect"></a><h3>ipatch_item_prop_disconnect ()</h3>
<pre class="programlisting">void                ipatch_item_prop_disconnect         (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a> handler_id);</pre>
<p>
Disconnects an <a
href="../libinstpatch/IpatchItem.html"
><span class="type">IpatchItem</span></a> property change callback handler by its ID.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>handler_id</code></em> :</span></p></td>
<td> Handler ID as returned from <a
href="../libinstpatch/IpatchItem.html#ipatch-item-prop-connect"
><code class="function">ipatch_item_prop_connect()</code></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_prop_disconnect_matched ()">
<a name="ipatch-item-prop-disconnect-matched"></a><h3>ipatch_item_prop_disconnect_matched ()</h3>
<pre class="programlisting">void                ipatch_item_prop_disconnect_matched (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a> *pspec,
                                                         <a
href="../libinstpatch/IpatchItem.html#IpatchItemPropCallback"
>IpatchItemPropCallback</a> callback,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);</pre>
<p>
Disconnects first <a
href="../libinstpatch/IpatchItem.html"
><span class="type">IpatchItem</span></a> property change callback matching all the
function parameters.
Note: Only the pointer values of <em class="parameter"><code>item</code></em> and <em class="parameter"><code>pspec</code></em> are used so they don't
actually need to be valid anymore.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> <a
href="../libinstpatch/IpatchItem.html"
><span class="type">IpatchItem</span></a> of handler to match (does not need to be valid)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
<td> GParamSpec of handler to match (does not need to be valid)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td> Callback function to match
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td> User data to match
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_item_prop_disconnect_by_name ()">
<a name="ipatch-item-prop-disconnect-by-name"></a><h3>ipatch_item_prop_disconnect_by_name ()</h3>
<pre class="programlisting">void                ipatch_item_prop_disconnect_by_name (<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a> *item,
                                                         const char *prop_name,
                                                         <a
href="../libinstpatch/IpatchItem.html#IpatchItemPropCallback"
>IpatchItemPropCallback</a> callback,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data);</pre>
<p>
Like <a
href="../libinstpatch/IpatchItem.html#ipatch-item-prop-disconnect-matched"
><code class="function">ipatch_item_prop_disconnect_matched()</code></a> but takes a name of the
property to match instead of a parameter spec, for added convenience.
Note: <em class="parameter"><code>item</code></em> must still be valid (to look up the property), contrary to
<a
href="../libinstpatch/IpatchItem.html#ipatch-item-prop-disconnect-matched"
><code class="function">ipatch_item_prop_disconnect_matched()</code></a>.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td> <a
href="../libinstpatch/IpatchItem.html"
><span class="type">IpatchItem</span></a> of handler to match (NOTE: Must be a valid object!)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>prop_name</code></em> :</span></p></td>
<td> Name of property of <em class="parameter"><code>item</code></em> to match
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td> Callback function to match
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td> User data to match
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="IpatchItem.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "base" property'>
<a name="IpatchItem--base"></a><h3>The <code class="literal">"base"</code> property</h3>
<pre class="programlisting">  "base"                     <a
href="../libinstpatch/IpatchBase.html"
>IpatchBase</a>*           : Read</pre>
<p>Base.</p>
</div>
<hr>
<div class="refsect2" title='The "flags" property'>
<a name="IpatchItem--flags"></a><h3>The <code class="literal">"flags"</code> property</h3>
<pre class="programlisting">  "flags"                    <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>Flags.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" title='The "parent" property'>
<a name="IpatchItem--parent"></a><h3>The <code class="literal">"parent"</code> property</h3>
<pre class="programlisting">  "parent"                   <a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a>*           : Read / Write</pre>
<p>Parent.</p>
</div>
<hr>
<div class="refsect2" title='The "title" property'>
<a name="IpatchItem--title"></a><h3>The <code class="literal">"title"</code> property</h3>
<pre class="programlisting">  "title"                    <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read</pre>
<p>Title.</p>
<p>Default value: NULL</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.11</div>
</body>
</html>