/usr/share/gtk-doc/html/libgda-4.0/GdaSet.html is in libgda-4.0-doc 4.2.8-2build1.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GdaSet</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GNOME Data Access 4 manual">
<link rel="up" href="connection.html" title="Connections & commands">
<link rel="prev" href="GdaHolder.html" title="GdaHolder">
<link rel="next" href="GdaConnectionEvent.html" title="GdaConnectionEvent">
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</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="GdaHolder.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="connection.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">GNOME Data Access 4 manual</th>
<td><a accesskey="n" href="GdaConnectionEvent.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GdaSet.synopsis" class="shortcut">Top</a>
|
<a href="#GdaSet.description" class="shortcut">Description</a>
|
<a href="#GdaSet.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#GdaSet.properties" class="shortcut">Properties</a>
|
<a href="#GdaSet.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="GdaSet"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GdaSet.top_of_page"></a>GdaSet</span></h2>
<p>GdaSet — Container for several values</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GdaSet.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"> <a class="link" href="GdaSet.html#GdaSet-struct" title="GdaSet">GdaSet</a>;
<a class="link" href="GdaSet.html" title="GdaSet"><span class="returnvalue">GdaSet</span></a> * <a class="link" href="GdaSet.html#gda-set-new" title="gda_set_new ()">gda_set_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *holders</code></em>);
<a class="link" href="GdaSet.html" title="GdaSet"><span class="returnvalue">GdaSet</span></a> * <a class="link" href="GdaSet.html#gda-set-new-read-only" title="gda_set_new_read_only ()">gda_set_new_read_only</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *holders</code></em>);
<a class="link" href="GdaSet.html" title="GdaSet"><span class="returnvalue">GdaSet</span></a> * <a class="link" href="GdaSet.html#gda-set-copy" title="gda_set_copy ()">gda_set_copy</a> (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>);
<a class="link" href="GdaSet.html" title="GdaSet"><span class="returnvalue">GdaSet</span></a> * <a class="link" href="GdaSet.html#gda-set-new-inline" title="gda_set_new_inline ()">gda_set_new_inline</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> nb</code></em>,
<em class="parameter"><code>...</code></em>);
<a class="link" href="GdaSet.html" title="GdaSet"><span class="returnvalue">GdaSet</span></a> * <a class="link" href="GdaSet.html#gda-set-new-from-spec-string" title="gda_set_new_from_spec_string ()">gda_set_new_from_spec_string</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml_spec</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<a class="link" href="GdaSet.html" title="GdaSet"><span class="returnvalue">GdaSet</span></a> * <a class="link" href="GdaSet.html#gda-set-new-from-spec-node" title="gda_set_new_from_spec_node ()">gda_set_new_from_spec_node</a> (<em class="parameter"><code><span class="type">xmlNodePtr</span> xml_spec</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GdaSet.html#gda-set-is-valid" title="gda_set_is_valid ()">gda_set_is_valid</a> (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
const <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a> * <a class="link" href="GdaSet.html#gda-set-get-holder-value" title="gda_set_get_holder_value ()">gda_set_get_holder_value</a> (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *holder_id</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GdaSet.html#gda-set-set-holder-value" title="gda_set_set_holder_value ()">gda_set_set_holder_value</a> (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *holder_id</code></em>,
<em class="parameter"><code>...</code></em>);
<a class="link" href="GdaHolder.html" title="GdaHolder"><span class="returnvalue">GdaHolder</span></a> * <a class="link" href="GdaSet.html#gda-set-get-holder" title="gda_set_get_holder ()">gda_set_get_holder</a> (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *holder_id</code></em>);
<a class="link" href="GdaHolder.html" title="GdaHolder"><span class="returnvalue">GdaHolder</span></a> * <a class="link" href="GdaSet.html#gda-set-get-nth-holder" title="gda_set_get_nth_holder ()">gda_set_get_nth_holder</a> (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> pos</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GdaSet.html#gda-set-add-holder" title="gda_set_add_holder ()">gda_set_add_holder</a> (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> *holder</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GdaSet.html#gda-set-remove-holder" title="gda_set_remove_holder ()">gda_set_remove_holder</a> (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> *holder</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GdaSet.html#gda-set-merge-with-set" title="gda_set_merge_with_set ()">gda_set_merge_with_set</a> (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set_to_merge</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GdaSet.html#gda-set-replace-source-model" title="gda_set_replace_source_model ()">gda_set_replace_source_model</a> (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a class="link" href="GdaSet.html#GdaSetSource" title="GdaSetSource"><span class="type">GdaSetSource</span></a> *source</code></em>,
<em class="parameter"><code><a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> *model</code></em>);
<a class="link" href="GdaSet.html#GdaSetNode" title="GdaSetNode">GdaSetNode</a>;
<a class="link" href="GdaSet.html#GdaSetNode" title="GdaSetNode"><span class="returnvalue">GdaSetNode</span></a> * <a class="link" href="GdaSet.html#gda-set-get-node" title="gda_set_get_node ()">gda_set_get_node</a> (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> *holder</code></em>);
<a class="link" href="GdaSet.html#GdaSetSource" title="GdaSetSource">GdaSetSource</a>;
<a class="link" href="GdaSet.html#GdaSetSource" title="GdaSetSource"><span class="returnvalue">GdaSetSource</span></a> * <a class="link" href="GdaSet.html#gda-set-get-source-for-model" title="gda_set_get_source_for_model ()">gda_set_get_source_for_model</a> (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> *model</code></em>);
<a class="link" href="GdaSet.html#GdaSetSource" title="GdaSetSource"><span class="returnvalue">GdaSetSource</span></a> * <a class="link" href="GdaSet.html#gda-set-get-source" title="gda_set_get_source ()">gda_set_get_source</a> (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> *holder</code></em>);
<a class="link" href="GdaSet.html#GdaSetGroup" title="GdaSetGroup">GdaSetGroup</a>;
<a class="link" href="GdaSet.html#GdaSetGroup" title="GdaSetGroup"><span class="returnvalue">GdaSetGroup</span></a> * <a class="link" href="GdaSet.html#gda-set-get-group" title="gda_set_get_group ()">gda_set_get_group</a> (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> *holder</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GdaSet.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>
+----GdaSet
+----<a class="link" href="GdaDataModelIter.html" title="GdaDataModelIter">GdaDataModelIter</a>
</pre>
</div>
<div class="refsect1">
<a name="GdaSet.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GdaSet.html#GdaSet--description" title='The "description" property'>description</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="GdaSet.html#GdaSet--holders" title='The "holders" property'>holders</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Write / Construct Only
"<a class="link" href="GdaSet.html#GdaSet--id" title='The "id" property'>id</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="GdaSet.html#GdaSet--name" title='The "name" property'>name</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GdaSet.signals"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="GdaSet.html#GdaSet-holder-attr-changed" title='The "holder-attr-changed" signal'>holder-attr-changed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
"<a class="link" href="GdaSet.html#GdaSet-holder-changed" title='The "holder-changed" signal'>holder-changed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
"<a class="link" href="GdaSet.html#GdaSet-holder-type-set" title='The "holder-type-set" signal'>holder-type-set</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
"<a class="link" href="GdaSet.html#GdaSet-public-data-changed" title='The "public-data-changed" signal'>public-data-changed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
"<a class="link" href="GdaSet.html#GdaSet-source-model-changed" title='The "source-model-changed" signal'>source-model-changed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
"<a class="link" href="GdaSet.html#GdaSet-validate-holder-change" title='The "validate-holder-change" signal'>validate-holder-change</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
"<a class="link" href="GdaSet.html#GdaSet-validate-set" title='The "validate-set" signal'>validate-set</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
</pre>
</div>
<div class="refsect1">
<a name="GdaSet.description"></a><h2>Description</h2>
<p>
The <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object is a container for several values (as <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> objects). The list of <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> objects is
publicly accessible (and should not be modified), using the "holders" attribute. Each <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object also
maintains some publicly accessible information about the <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> objects, through the <a class="link" href="GdaSet.html#GdaSetNode" title="GdaSetNode"><span class="type">GdaSetNode</span></a>, <a class="link" href="GdaSet.html#GdaSetSource" title="GdaSetSource"><span class="type">GdaSetSource</span></a> and
<a class="link" href="GdaSet.html#GdaSetGroup" title="GdaSetGroup"><span class="type">GdaSetGroup</span></a> structures (see <a class="link" href="GdaSet.html#gda-set-get-node" title="gda_set_get_node ()"><code class="function">gda_set_get_node()</code></a>, <a class="link" href="GdaSet.html#gda-set-get-source" title="gda_set_get_source ()"><code class="function">gda_set_get_source()</code></a> and <a class="link" href="GdaSet.html#gda-set-get-group" title="gda_set_get_group ()"><code class="function">gda_set_get_group()</code></a>).
</p>
<p>
It is possible to control the values a <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> can have in the <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> by connecting to the
"before-holder-change" signal.
</p>
</div>
<div class="refsect1">
<a name="GdaSet.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GdaSet-struct"></a><h3>GdaSet</h3>
<pre class="programlisting">typedef struct {
GSList *holders; /* list of GdaHolder objects */
GSList *nodes_list; /* list of GdaSetNode */
GSList *sources_list; /* list of GdaSetSource */
GSList *groups_list; /* list of GdaSetGroup */
} GdaSet;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gda-set-new"></a><h3>gda_set_new ()</h3>
<pre class="programlisting"><a class="link" href="GdaSet.html" title="GdaSet"><span class="returnvalue">GdaSet</span></a> * gda_set_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *holders</code></em>);</pre>
<p>
Creates a new <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object, and populates it with the list given as argument.
The list can then be freed as it is copied. All the value holders in <em class="parameter"><code>holders</code></em> are referenced counted
and modified, so they should not be used anymore afterwards.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>holders</code></em> :</span></p></td>
<td>a list of <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> objects. <span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> GdaHolder][transfer:none]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gda-set-new-read-only"></a><h3>gda_set_new_read_only ()</h3>
<pre class="programlisting"><a class="link" href="GdaSet.html" title="GdaSet"><span class="returnvalue">GdaSet</span></a> * gda_set_new_read_only (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *holders</code></em>);</pre>
<p>
Creates a new <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> like <a class="link" href="GdaSet.html#gda-set-new" title="gda_set_new ()"><code class="function">gda_set_new()</code></a>, but does not allow modifications to any of the <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a>
object in <em class="parameter"><code>holders</code></em>. This function is used for Libgda's database providers' implementation.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>holders</code></em> :</span></p></td>
<td>a list of <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> objects. <span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> GdaHolder][transfer:none]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gda-set-copy"></a><h3>gda_set_copy ()</h3>
<pre class="programlisting"><a class="link" href="GdaSet.html" title="GdaSet"><span class="returnvalue">GdaSet</span></a> * gda_set_copy (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>);</pre>
<p>
Creates a new <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object, copy of <em class="parameter"><code>set</code></em>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td>
<td>a <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gda-set-new-inline"></a><h3>gda_set_new_inline ()</h3>
<pre class="programlisting"><a class="link" href="GdaSet.html" title="GdaSet"><span class="returnvalue">GdaSet</span></a> * gda_set_new_inline (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> nb</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
<p>
Creates a new <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> containing holders defined by each triplet in ...
For each triplet (id, Glib type and value),
the value must be of the correct type (gchar * if type is G_STRING, ...)
</p>
<p>
Note that this function is a utility function and that only a limited set of types are supported. Trying
to use an unsupported type will result in a warning, and the returned value holder holding a safe default
value.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>nb</code></em> :</span></p></td>
<td>the number of value holders which will be contained in the new <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td>a serie of a (const gchar*) id, (GType) type, and value</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gda-set-new-from-spec-string"></a><h3>gda_set_new_from_spec_string ()</h3>
<pre class="programlisting"><a class="link" href="GdaSet.html" title="GdaSet"><span class="returnvalue">GdaSet</span></a> * gda_set_new_from_spec_string (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml_spec</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
Creates a new <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object from the <em class="parameter"><code>xml_spec</code></em>
specifications
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>xml_spec</code></em> :</span></p></td>
<td>a string</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>a place to store the error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new object, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurred. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gda-set-new-from-spec-node"></a><h3>gda_set_new_from_spec_node ()</h3>
<pre class="programlisting"><a class="link" href="GdaSet.html" title="GdaSet"><span class="returnvalue">GdaSet</span></a> * gda_set_new_from_spec_node (<em class="parameter"><code><span class="type">xmlNodePtr</span> xml_spec</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
Creates a new <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object from the <em class="parameter"><code>xml_spec</code></em>
specifications
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>xml_spec</code></em> :</span></p></td>
<td>a <span class="type">xmlNodePtr</span> for a <holders> tag</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>a place to store the error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new object, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurred. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gda-set-is-valid"></a><h3>gda_set_is_valid ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gda_set_is_valid (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
This method tells if all <em class="parameter"><code>set</code></em>'s <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> objects are valid, and if
they represent a valid combination of values, as defined by rules
external to Libgda: the "validate-set" signal is emitted and if none of the signal handlers return an
error, then the returned value is TRUE, otherwise the return value is FALSE as soon as a signal handler
returns an error.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td>
<td>a <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>a place to store validation errors, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if the set is valid</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gda-set-get-holder-value"></a><h3>gda_set_get_holder_value ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a> * gda_set_get_holder_value (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *holder_id</code></em>);</pre>
<p>
Get the value of the <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> which ID is <em class="parameter"><code>holder_id</code></em>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td>
<td>a <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>holder_id</code></em> :</span></p></td>
<td>the ID of the holder to set the value</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the requested GValue, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> (see <a class="link" href="GdaHolder.html#gda-holder-get-value" title="gda_holder_get_value ()"><code class="function">gda_holder_get_value()</code></a>). <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gda-set-set-holder-value"></a><h3>gda_set_set_holder_value ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gda_set_set_holder_value (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *holder_id</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
<p>
Set the value of the <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> which ID is <em class="parameter"><code>holder_id</code></em> to a specified value
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td>
<td>a <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>a place to store errors, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>holder_id</code></em> :</span></p></td>
<td>the ID of the holder to set the value</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td>value, of the correct type, depending on the requested holder's type (not NULL)</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if no error occurred and the value was set correctly</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gda-set-get-holder"></a><h3>gda_set_get_holder ()</h3>
<pre class="programlisting"><a class="link" href="GdaHolder.html" title="GdaHolder"><span class="returnvalue">GdaHolder</span></a> * gda_set_get_holder (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *holder_id</code></em>);</pre>
<p>
Finds a <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> using 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>set</code></em> :</span></p></td>
<td>a <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>holder_id</code></em> :</span></p></td>
<td>the ID of the requested value holder</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the requested <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gda-set-get-nth-holder"></a><h3>gda_set_get_nth_holder ()</h3>
<pre class="programlisting"><a class="link" href="GdaHolder.html" title="GdaHolder"><span class="returnvalue">GdaHolder</span></a> * gda_set_get_nth_holder (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> pos</code></em>);</pre>
<p>
Finds a <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> using its position
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td>
<td>a <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
<td>the position of the requested <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a>, starting at <code class="literal">0</code>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the requested <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gda-set-add-holder"></a><h3>gda_set_add_holder ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gda_set_add_holder (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> *holder</code></em>);</pre>
<p>
Adds <em class="parameter"><code>holder</code></em> to the list of holders managed within <em class="parameter"><code>set</code></em>.
</p>
<p>
NOTE: if <em class="parameter"><code>set</code></em> already has a <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> with the same ID as <em class="parameter"><code>holder</code></em>, then <em class="parameter"><code>holder</code></em>
will not be added to the set (even if <em class="parameter"><code>holder</code></em>'s type or value is not the same as the
one already in <em class="parameter"><code>set</code></em>).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td>
<td>a <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>holder</code></em> :</span></p></td>
<td>a <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if <em class="parameter"><code>holder</code></em> has been added to <em class="parameter"><code>set</code></em> (and FALSE if it has not been added because there is another <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a>
with the same ID)</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gda-set-remove-holder"></a><h3>gda_set_remove_holder ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gda_set_remove_holder (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> *holder</code></em>);</pre>
<p>
Removes a <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> from the list of holders managed by <em class="parameter"><code>set</code></em>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td>
<td>a <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>holder</code></em> :</span></p></td>
<td>the <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> to remove from <em class="parameter"><code>set</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gda-set-merge-with-set"></a><h3>gda_set_merge_with_set ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gda_set_merge_with_set (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set_to_merge</code></em>);</pre>
<p>
Add to <em class="parameter"><code>set</code></em> all the holders of <em class="parameter"><code>set_to_merge</code></em>.
Note1: only the <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> of <em class="parameter"><code>set_to_merge</code></em> for which no holder in <em class="parameter"><code>set</code></em> has the same ID are merged
Note2: all the <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> merged in <em class="parameter"><code>set</code></em> are still used by <em class="parameter"><code>set_to_merge</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td>
<td>a <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>set_to_merge</code></em> :</span></p></td>
<td>a <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gda-set-replace-source-model"></a><h3>gda_set_replace_source_model ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gda_set_replace_source_model (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a class="link" href="GdaSet.html#GdaSetSource" title="GdaSetSource"><span class="type">GdaSetSource</span></a> *source</code></em>,
<em class="parameter"><code><a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> *model</code></em>);</pre>
<p>
Replaces <em class="parameter"><code>source->data_model</code></em> with <em class="parameter"><code>model</code></em>, which must have the same
characteristics as <em class="parameter"><code>source->data_model</code></em> (same column types)
</p>
<p>
Also for each <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> for which <em class="parameter"><code>source->data_model</code></em> is a source model,
this method calls <a class="link" href="GdaHolder.html#gda-holder-set-source-model" title="gda_holder_set_source_model ()"><code class="function">gda_holder_set_source_model()</code></a> with <em class="parameter"><code>model</code></em> to replace
the source by the new model
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td>
<td>a <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>a pointer to a <a class="link" href="GdaSet.html#GdaSetSource" title="GdaSetSource"><span class="type">GdaSetSource</span></a> in <em class="parameter"><code>set</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
<td>a <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="GdaSetNode"></a><h3>GdaSetNode</h3>
<pre class="programlisting">typedef struct {
GdaHolder *holder; /* Can't be NULL */
GdaDataModel *source_model; /* may be NULL */
gint source_column; /* unused if @source_model is NULL */
} GdaSetNode;
</pre>
<p>
For each <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> object in the <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object, there is a
<a class="link" href="GdaSet.html#GdaSetNode" title="GdaSetNode"><span class="type">GdaSetNode</span></a> structure which sums up all the information for
each GdaHolder. Contains public fields, which must not be modified.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> *<em class="structfield"><code><a name="GdaSetNode.holder"></a>holder</code></em>;</span></p></td>
<td>a <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> in the <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> *<em class="structfield"><code><a name="GdaSetNode.source-model"></a>source_model</code></em>;</span></p></td>
<td>if <a class="link" href="GdaHolder.html#gda-holder-set-source-model" title="gda_holder_set_source_model ()"><code class="function">gda_holder_set_source_model()</code></a> has been used with <em class="parameter"><code>holder</code></em>, the <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> used, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdaSetNode.source-column"></a>source_column</code></em>;</span></p></td>
<td>if <a class="link" href="GdaHolder.html#gda-holder-set-source-model" title="gda_holder_set_source_model ()"><code class="function">gda_holder_set_source_model()</code></a> has been used with <em class="parameter"><code>holder</code></em>, the column used, or 0</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gda-set-get-node"></a><h3>gda_set_get_node ()</h3>
<pre class="programlisting"><a class="link" href="GdaSet.html#GdaSetNode" title="GdaSetNode"><span class="returnvalue">GdaSetNode</span></a> * gda_set_get_node (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> *holder</code></em>);</pre>
<p>
Finds a <a class="link" href="GdaSet.html#GdaSetNode" title="GdaSetNode"><span class="type">GdaSetNode</span></a> holding information for <em class="parameter"><code>holder</code></em>, don't modify the returned structure
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td>
<td>a <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>holder</code></em> :</span></p></td>
<td>a <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the requested <a class="link" href="GdaSet.html#GdaSetNode" title="GdaSetNode"><span class="type">GdaSetNode</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSetSource"></a><h3>GdaSetSource</h3>
<pre class="programlisting">typedef struct {
GdaDataModel *data_model; /* Can't be NULL */
GSList *nodes; /* list of #GdaSetNode for which source_model == @data_model */
} GdaSetSource;
</pre>
<p>
There is a <a class="link" href="GdaSet.html#GdaSetSource" title="GdaSetSource"><span class="type">GdaSetSource</span></a> structure for each <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> which
restricts at least one <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> in the <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> *<em class="structfield"><code><a name="GdaSetSource.data-model"></a>data_model</code></em>;</span></p></td>
<td>the <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *<em class="structfield"><code><a name="GdaSetSource.nodes"></a>nodes</code></em>;</span></p></td>
<td>the list of <a class="link" href="GdaSet.html#GdaSetNode" title="GdaSetNode"><span class="type">GdaSetNode</span></a> where the <em class="parameter"><code>source_model</code></em> attribute equals <em class="parameter"><code>data_model</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gda-set-get-source-for-model"></a><h3>gda_set_get_source_for_model ()</h3>
<pre class="programlisting"><a class="link" href="GdaSet.html#GdaSetSource" title="GdaSetSource"><span class="returnvalue">GdaSetSource</span></a> * gda_set_get_source_for_model (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> *model</code></em>);</pre>
<p>
Finds the <a class="link" href="GdaSet.html#GdaSetSource" title="GdaSetSource"><span class="type">GdaSetSource</span></a> structure used in <em class="parameter"><code>set</code></em> for which <em class="parameter"><code>model</code></em> is a
the data model (the returned structure should not be modified).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td>
<td>a <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
<td>a <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the requested <a class="link" href="GdaSet.html#GdaSetSource" title="GdaSetSource"><span class="type">GdaSetSource</span></a> pointer or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gda-set-get-source"></a><h3>gda_set_get_source ()</h3>
<pre class="programlisting"><a class="link" href="GdaSet.html#GdaSetSource" title="GdaSetSource"><span class="returnvalue">GdaSetSource</span></a> * gda_set_get_source (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> *holder</code></em>);</pre>
<p>
Finds a <a class="link" href="GdaSet.html#GdaSetSource" title="GdaSetSource"><span class="type">GdaSetSource</span></a> which contains the <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> restricting the possible values of
<em class="parameter"><code>holder</code></em>, don't modify the returned structure.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td>
<td>a <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>holder</code></em> :</span></p></td>
<td>a <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the requested <a class="link" href="GdaSet.html#GdaSetSource" title="GdaSetSource"><span class="type">GdaSetSource</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSetGroup"></a><h3>GdaSetGroup</h3>
<pre class="programlisting">typedef struct {
GSList *nodes; /* list of GdaSetNode, at least one entry */
GdaSetSource *nodes_source; /* if NULL, then @nodes contains exactly one entry */
} GdaSetGroup;
</pre>
<p>
There is one <a class="link" href="GdaSet.html#GdaSetGroup" title="GdaSetGroup"><span class="type">GdaSetGroup</span></a> structure
for each _independent_ <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> (those which have the same restricting data model
all appear in the same <a class="link" href="GdaSet.html#GdaSetGroup" title="GdaSetGroup"><span class="type">GdaSetGroup</span></a> structure).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *<em class="structfield"><code><a name="GdaSetGroup.nodes"></a>nodes</code></em>;</span></p></td>
<td>a list of <a class="link" href="GdaSet.html#GdaSetNode" title="GdaSetNode"><span class="type">GdaSetNode</span></a> structures, at least one entry</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="GdaSet.html#GdaSetSource" title="GdaSetSource"><span class="type">GdaSetSource</span></a> *<em class="structfield"><code><a name="GdaSetGroup.nodes-source"></a>nodes_source</code></em>;</span></p></td>
<td>a <a class="link" href="GdaSet.html#GdaSetSource" title="GdaSetSource"><span class="type">GdaSetSource</span></a> pointer where the <em class="parameter"><code>nodes</code></em> attribute lists the same <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> objects as <em class="parameter"><code>nodes</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gda-set-get-group"></a><h3>gda_set_get_group ()</h3>
<pre class="programlisting"><a class="link" href="GdaSet.html#GdaSetGroup" title="GdaSetGroup"><span class="returnvalue">GdaSetGroup</span></a> * gda_set_get_group (<em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set</code></em>,
<em class="parameter"><code><a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> *holder</code></em>);</pre>
<p>
Finds a <a class="link" href="GdaSet.html#GdaSetGroup" title="GdaSetGroup"><span class="type">GdaSetGroup</span></a> which lists a <a class="link" href="GdaSet.html#GdaSetNode" title="GdaSetNode"><span class="type">GdaSetNode</span></a> containing <em class="parameter"><code>holder</code></em>,
don't modify the returned structure.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td>
<td>a <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>holder</code></em> :</span></p></td>
<td>a <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the requested <a class="link" href="GdaSet.html#GdaSetGroup" title="GdaSetGroup"><span class="type">GdaSetGroup</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GdaSet.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GdaSet--description"></a><h3>The <code class="literal">"description"</code> property</h3>
<pre class="programlisting"> "description" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>Description.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GdaSet--holders"></a><h3>The <code class="literal">"holders"</code> property</h3>
<pre class="programlisting"> "holders" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Write / Construct Only</pre>
<p>GdaHolder objects the set should contain.</p>
</div>
<hr>
<div class="refsect2">
<a name="GdaSet--id"></a><h3>The <code class="literal">"id"</code> property</h3>
<pre class="programlisting"> "id" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>Id.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GdaSet--name"></a><h3>The <code class="literal">"name"</code> property</h3>
<pre class="programlisting"> "name" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>Name.</p>
<p>Default value: NULL</p>
</div>
</div>
<div class="refsect1">
<a name="GdaSet.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GdaSet-holder-attr-changed"></a><h3>The <code class="literal">"holder-attr-changed"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set,
<a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> *holder,
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *attr_name,
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *attr_value,
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
<p>
Gets emitted when an attribute for any of the <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> objects managed by <em class="parameter"><code>set</code></em> has changed
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td>
<td>the <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>holder</code></em> :</span></p></td>
<td>the GdaHolder for which an attribute changed</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>attr_name</code></em> :</span></p></td>
<td>attribute's name</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>attr_value</code></em> :</span></p></td>
<td>attribute's value</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSet-holder-changed"></a><h3>The <code class="literal">"holder-changed"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *gdaset,
<a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> *arg1,
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gdaset</code></em> :</span></p></td>
<td>the object which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSet-holder-type-set"></a><h3>The <code class="literal">"holder-type-set"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set,
<a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> *holder,
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
<p>
Gets emitted when <em class="parameter"><code>holder</code></em> in <em class="parameter"><code>set</code></em> has its type finally set, in case
it was <span class="type">GDA_TYPE_NULL</span>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td>
<td>the <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>holder</code></em> :</span></p></td>
<td>the <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> for which the <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> has been set</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="GdaSet-public-data-changed"></a><h3>The <code class="literal">"public-data-changed"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set,
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
<p>
Gets emitted when <em class="parameter"><code>set</code></em>'s public data (<a class="link" href="GdaSet.html#GdaSetNode" title="GdaSetNode"><span class="type">GdaSetNode</span></a>, <a class="link" href="GdaSet.html#GdaSetGroup" title="GdaSetGroup"><span class="type">GdaSetGroup</span></a> or <a class="link" href="GdaSet.html#GdaSetSource" title="GdaSetSource"><span class="type">GdaSetSource</span></a> values) have changed
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td>
<td>the <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSet-source-model-changed"></a><h3>The <code class="literal">"source-model-changed"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set,
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source,
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
<p>
Gets emitted when the data model in <em class="parameter"><code>source</code></em> has changed
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td>
<td>the <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>the <a class="link" href="GdaSet.html#GdaSetSource" title="GdaSetSource"><span class="type">GdaSetSource</span></a> for which the <em class="parameter"><code>data_model</code></em> attribute has changed</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="GdaSet-validate-holder-change"></a><h3>The <code class="literal">"validate-holder-change"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">GdaError</span>* user_function (<a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set,
<a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> *holder,
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *new_value,
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
Gets emitted when a <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a>'s in <em class="parameter"><code>set</code></em> is going to change its value. One can connect to
this signal to control which values <em class="parameter"><code>holder</code></em> can have (for example to implement some business rules)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td>
<td>the <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>holder</code></em> :</span></p></td>
<td>the <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> which is going to change</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>new_value</code></em> :</span></p></td>
<td>the proposed new value for <em class="parameter"><code>holder</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>NULL if <em class="parameter"><code>holder</code></em> is allowed to change its value to <em class="parameter"><code>new_value</code></em>, or a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>
otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSet-validate-set"></a><h3>The <code class="literal">"validate-set"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">GdaError</span>* user_function (<a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *set,
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
Gets emitted when <a class="link" href="GdaSet.html#gda-set-is-valid" title="gda_set_is_valid ()"><code class="function">gda_set_is_valid()</code></a> is called, use
this signal to control which combination of values <em class="parameter"><code>set</code></em>'s holder can have (for example to implement some business rules)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td>
<td>the <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>NULL if <em class="parameter"><code>set</code></em>'s contents has been validated, or a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>
otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.17</div>
</body>
</html>
|