/usr/share/gtk-doc/html/libbonobo/libbonobo-bonobo-property-bag.html is in libbonobo2-dev 2.32.1-3.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Libbonobo Reference Manual: BonoboPropertyBag</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Libbonobo Reference Manual">
<link rel="up" href="property-bags.html" title="Property Bags, Events, Listeners">
<link rel="prev" href="libbonobo-bonobo-listener.html" title="bonobo-listener">
<link rel="next" href="libbonobo-bonobo-arg.html" title="bonobo-arg">
<meta name="generator" content="GTK-Doc V1.20 (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="10"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#libbonobo-bonobo-property-bag.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
<a href="#libbonobo-bonobo-property-bag.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="property-bags.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="libbonobo-bonobo-listener.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="libbonobo-bonobo-arg.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="libbonobo-bonobo-property-bag"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libbonobo-bonobo-property-bag.top_of_page"></a>BonoboPropertyBag</span></h2>
<p>BonoboPropertyBag — Implements a generic property storage interface</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="libbonobo-bonobo-property-bag.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyGetFn" title="BonoboPropertyGetFn ()">*BonoboPropertyGetFn</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertySetFn" title="BonoboPropertySetFn ()">*BonoboPropertySetFn</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="returnvalue">BonoboPropertyBag</span></a> *
</td>
<td class="function_name">
<a class="link" href="libbonobo-bonobo-property-bag.html#bonobo-property-bag-new" title="bonobo_property_bag_new ()">bonobo_property_bag_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="returnvalue">BonoboPropertyBag</span></a> *
</td>
<td class="function_name">
<a class="link" href="libbonobo-bonobo-property-bag.html#bonobo-property-bag-new-closure" title="bonobo_property_bag_new_closure ()">bonobo_property_bag_new_closure</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="returnvalue">BonoboPropertyBag</span></a> *
</td>
<td class="function_name">
<a class="link" href="libbonobo-bonobo-property-bag.html#bonobo-property-bag-new-full" title="bonobo_property_bag_new_full ()">bonobo_property_bag_new_full</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="returnvalue">BonoboPropertyBag</span></a> *
</td>
<td class="function_name">
<a class="link" href="libbonobo-bonobo-property-bag.html#bonobo-property-bag-construct" title="bonobo_property_bag_construct ()">bonobo_property_bag_construct</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libbonobo-bonobo-property-bag.html#bonobo-property-bag-add" title="bonobo_property_bag_add ()">bonobo_property_bag_add</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libbonobo-bonobo-property-bag.html#bonobo-property-bag-add-full" title="bonobo_property_bag_add_full ()">bonobo_property_bag_add_full</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libbonobo-bonobo-property-bag.html#bonobo-property-bag-remove" title="bonobo_property_bag_remove ()">bonobo_property_bag_remove</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libbonobo-bonobo-property-bag.html#bonobo-property-bag-map-params" title="bonobo_property_bag_map_params ()">bonobo_property_bag_map_params</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="libbonobo-bonobo-property-bag.html#bonobo-property-bag-get-prop-list" title="bonobo_property_bag_get_prop_list ()">bonobo_property_bag_get_prop_list</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="libbonobo-bonobo-property-bag.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBagClass" title="BonoboPropertyBagClass">BonoboPropertyBagClass</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag">BonoboPropertyBag</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libbonobo-bonobo-property-bag.html#BONOBO-PROPERTY-READABLE:CAPS" title="BONOBO_PROPERTY_READABLE">BONOBO_PROPERTY_READABLE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libbonobo-bonobo-property-bag.html#BONOBO-PROPERTY-WRITEABLE:CAPS" title="BONOBO_PROPERTY_WRITEABLE">BONOBO_PROPERTY_WRITEABLE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libbonobo-bonobo-property-bag.html#BONOBO-PROPERTY-WRITABLE:CAPS" title="BONOBO_PROPERTY_WRITABLE">BONOBO_PROPERTY_WRITABLE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libbonobo-bonobo-property-bag.html#BONOBO-PROPERTY-NO-LISTENING:CAPS" title="BONOBO_PROPERTY_NO_LISTENING">BONOBO_PROPERTY_NO_LISTENING</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libbonobo-bonobo-property-bag.html#BONOBO-PROPERTY-NO-AUTONOTIFY:CAPS" title="BONOBO_PROPERTY_NO_AUTONOTIFY">BONOBO_PROPERTY_NO_AUTONOTIFY</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboProperty" title="struct BonoboProperty">BonoboProperty</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="libbonobo-bonobo-property-bag.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">
</pre>
</div>
<div class="refsect1">
<a name="libbonobo-bonobo-property-bag.description"></a><h2>Description</h2>
<p>
The PropertyBag is used for many things, particularly for
the customization of controls. The important thing to
remember about the BonoboPropertyBag implementation is that
no live data is stored in the bag. ie. the Model for the
properties is your code.
</p>
<p>
Consequently when someone requests a properties value,
or sets a property the callbacks you supply at bag
construction time are called, and the code therein must
supply the property. Similarly, when a property changes
value inside your object you need to notify the property
bag's listeners that it has changed with a call to
<code class="function">bonobo_event_source_notify_listeners_full</code>.
</p>
<p>
Here is a simple example use of the property bag:
</p>
<div class="example">
<a name="id-1.4.5.6.4.1"></a><p class="title"><b>Example 11. PropertyBag Callbacks</b></p>
<div class="example-contents"><pre class="programlisting">
enum {
PROP_RUNNING,
PROP_COLOUR
} MyArgs;
static void
get_prop (BonoboPropertyBag *bag,
BonoboArg *arg,
guint arg_id,
CORBA_Environment *ev,
gpointer user_data)
{
GtkObject *clock = user_data;
switch (arg_id) {
case PROP_RUNNING:
BONOBO_ARG_SET_BOOLEAN (arg, clock->is_running);
break;
case PROP_COLOUR:
BONOBO_ARG_SET_STRING (arg, clock->color);
break;
default:
bonobo_exception_set (ev, ex_Bonobo_PropertyBag_NotFound);
break;
}
}
static void
set_prop (BonoboPropertyBag *bag,
const BonoboArg *arg,
guint arg_id,
CORBA_Environment *ev,
gpointer user_data)
{
GtkClock *clock = user_data;
switch (arg_id) {
case PROP_RUNNING: {
guint i = BONOBO_ARG_GET_BOOLEAN (arg);
if (i)
gtk_clock_start (clock);
else
gtk_clock_stop (clock);
break;
}
case PROP_COLOUR:
gtk_clock_set_color (clock, BONOBO_ARG_GET_STRING (arg));
default:
bonobo_exception_set (ev, ex_Bonobo_PropertyBag_NotFound);
break;
}
}
</pre></div>
</div>
<p><br class="example-break">
</p>
<p>
Then to instantiate the property bag interface and associate it with
a control perhaps we do:
</p>
<div class="example">
<a name="id-1.4.5.6.5.1"></a><p class="title"><b>Example 12. Adding a PropertyBag to a control</b></p>
<div class="example-contents"><pre class="programlisting">
BonoboPropertyBag *pb;
pb = bonobo_property_bag_new (get_prop, set_prop, clock);
bonobo_control_set_properties (control, pb);
bonobo_property_bag_add (pb, "running", PROP_RUNNING,
BONOBO_ARG_BOOLEAN, NULL,
_("Whether or not the clock is running"),
0);
bonobo_property_bag_add (pb, "colour", PROP_COLOUR,
BONOBO_ARG_STRING, NULL,
_("The colour of the clock face"),
0);
bonobo_object_unref (BONOBO_OBJECT (pb));
</pre></div>
</div>
<p><br class="example-break">
And finally we need to notify listeners of changes in various properties
so we could perhaps do:
</p>
<div class="example">
<a name="id-1.4.5.6.5.2"></a><p class="title"><b>Example 13. Notifying proterty bag listeners</b></p>
<div class="example-contents"><pre class="programlisting">
static void
signal_handler (GtkClock *clock, BonoboPropertyBag *pb)
{
BonoboArg *arg = bonobo_arg_new (TC_string);
BONOBO_ARG_SET_STRING (arg, gtk_clock_get_color (clock));
bonobo_event_source_notify_listeners_full (pb->es,
"Bonobo/Property",
"change",
"colour",
arg, NULL);
bonobo_arg_release (arg);
}
...
gtk_signal_connect (GTK_OBJECT (clock), "color_changed",
GTK_SIGNAL_FUNC (signal_handler), pb);
</pre></div>
</div>
<p><br class="example-break">
See also <a class="link" href="libbonobo-bonobo-arg.html#BonoboArg" title="BonoboArg"><span class="type">BonoboArg</span></a>.
</p>
</div>
<div class="refsect1">
<a name="libbonobo-bonobo-property-bag.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="BonoboPropertyGetFn"></a><h3>BonoboPropertyGetFn ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*BonoboPropertyGetFn<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="type">BonoboPropertyBag</span></a> *bag</code></em>,
<em class="parameter"><code><a class="link" href="libbonobo-bonobo-arg.html#BonoboArg" title="BonoboArg"><span class="type">BonoboArg</span></a> *arg</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg_id</code></em>,
<em class="parameter"><code><span class="type">CORBA_Environment</span> *ev</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>
Property getter function.
</p>
<div class="refsect3">
<a name="id-1.4.5.7.2.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>bag</p></td>
<td class="parameter_description"><p>the property bag</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>arg</p></td>
<td class="parameter_description"><p>output parameter; the caller must place here the property value</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>arg_id</p></td>
<td class="parameter_description"><p>unique numeric identifier of the property within the property bag</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>ev</p></td>
<td class="parameter_description"><p>the relevant CORBA environment</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="BonoboPropertySetFn"></a><h3>BonoboPropertySetFn ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*BonoboPropertySetFn<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="type">BonoboPropertyBag</span></a> *bag</code></em>,
<em class="parameter"><code>const <a class="link" href="libbonobo-bonobo-arg.html#BonoboArg" title="BonoboArg"><span class="type">BonoboArg</span></a> *arg</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg_id</code></em>,
<em class="parameter"><code><span class="type">CORBA_Environment</span> *ev</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>
Property setter function.
</p>
<div class="refsect3">
<a name="id-1.4.5.7.3.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>bag</p></td>
<td class="parameter_description"><p>the property bag</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>arg</p></td>
<td class="parameter_description"><p>the new property value to be set</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>arg_id</p></td>
<td class="parameter_description"><p>unique numeric identifier of the property within the property bag</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>ev</p></td>
<td class="parameter_description"><p>the relevant CORBA environment</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-property-bag-new"></a><h3>bonobo_property_bag_new ()</h3>
<pre class="programlisting"><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="returnvalue">BonoboPropertyBag</span></a> *
bonobo_property_bag_new (<em class="parameter"><code><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyGetFn" title="BonoboPropertyGetFn ()"><span class="type">BonoboPropertyGetFn</span></a> get_prop_cb</code></em>,
<em class="parameter"><code><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertySetFn" title="BonoboPropertySetFn ()"><span class="type">BonoboPropertySetFn</span></a> set_prop_cb</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Creates a new property bag with the specified callbacks.</p>
<div class="refsect3">
<a name="id-1.4.5.7.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>get_prop_cb</p></td>
<td class="parameter_description"><p>the property get callback</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>set_prop_cb</p></td>
<td class="parameter_description"><p>the property set callback</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data for the callbacks</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.5.7.4.6"></a><h4>Returns</h4>
<p> A new <a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="type">BonoboPropertyBag</span></a> object.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-property-bag-new-closure"></a><h3>bonobo_property_bag_new_closure ()</h3>
<pre class="programlisting"><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="returnvalue">BonoboPropertyBag</span></a> *
bonobo_property_bag_new_closure (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *get_prop</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *set_prop</code></em>);</pre>
<p>Creates a new property bag with the specified callbacks.</p>
<div class="refsect3">
<a name="id-1.4.5.7.5.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>get_prop</p></td>
<td class="parameter_description"><p>the property get closure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>set_prop</p></td>
<td class="parameter_description"><p>the property set closure</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.5.7.5.6"></a><h4>Returns</h4>
<p> A new <a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="type">BonoboPropertyBag</span></a> object.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-property-bag-new-full"></a><h3>bonobo_property_bag_new_full ()</h3>
<pre class="programlisting"><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="returnvalue">BonoboPropertyBag</span></a> *
bonobo_property_bag_new_full (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *get_prop</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *set_prop</code></em>,
<em class="parameter"><code><a class="link" href="libbonobo-bonobo-event-source.html#BonoboEventSource"><span class="type">BonoboEventSource</span></a> *es</code></em>);</pre>
<p>Creates a new property bag with the specified callbacks.</p>
<div class="refsect3">
<a name="id-1.4.5.7.6.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>get_prop</p></td>
<td class="parameter_description"><p>the property get closure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>set_prop</p></td>
<td class="parameter_description"><p>the property set closure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>es</p></td>
<td class="parameter_description"><p>an event source to aggregate</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.5.7.6.6"></a><h4>Returns</h4>
<p> A new <a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="type">BonoboPropertyBag</span></a> object.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-property-bag-construct"></a><h3>bonobo_property_bag_construct ()</h3>
<pre class="programlisting"><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="returnvalue">BonoboPropertyBag</span></a> *
bonobo_property_bag_construct (<em class="parameter"><code><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="type">BonoboPropertyBag</span></a> *pb</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *get_prop</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *set_prop</code></em>,
<em class="parameter"><code><a class="link" href="libbonobo-bonobo-event-source.html#BonoboEventSource"><span class="type">BonoboEventSource</span></a> *es</code></em>);</pre>
<p>Constructor, only for use in wrappers and object derivation, please
refer to the <a class="link" href="libbonobo-bonobo-property-bag.html#bonobo-property-bag-new" title="bonobo_property_bag_new ()"><span class="type">bonobo_property_bag_new</span></a> for normal use.</p>
<p>This function returns <em class="parameter"><code>pb</code></em>
, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> in case of error. If it returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
the passed in <em class="parameter"><code>pb</code></em>
is unrefed.</p>
<div class="refsect3">
<a name="id-1.4.5.7.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>pb</p></td>
<td class="parameter_description"><p><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="type">BonoboPropertyBag</span></a> to construct</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>get_prop</p></td>
<td class="parameter_description"><p>the property get closure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>set_prop</p></td>
<td class="parameter_description"><p>the property set closure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>es</p></td>
<td class="parameter_description"><p>an event source to aggregate</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.5.7.7.7"></a><h4>Returns</h4>
<p> <a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="type">BonoboPropertyBag</span></a> pointer or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-property-bag-add"></a><h3>bonobo_property_bag_add ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
bonobo_property_bag_add (<em class="parameter"><code><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="type">BonoboPropertyBag</span></a> *pb</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
<em class="parameter"><code><span class="type">int</span> idx</code></em>,
<em class="parameter"><code><a class="link" href="libbonobo-bonobo-arg.html#BonoboArgType" title="BonoboArgType"><span class="type">BonoboArgType</span></a> type</code></em>,
<em class="parameter"><code><a class="link" href="libbonobo-bonobo-arg.html#BonoboArg" title="BonoboArg"><span class="type">BonoboArg</span></a> *default_value</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *doctitle</code></em>,
<em class="parameter"><code><span class="type">Bonobo_PropertyFlags</span> flags</code></em>);</pre>
<p>Adds a property to the property bag.</p>
<div class="refsect3">
<a name="id-1.4.5.7.8.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>pb</p></td>
<td class="parameter_description"><p>property bag to add to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>name of new property</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>idx</p></td>
<td class="parameter_description"><p>integer index for fast callback switch statement</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>the CORBA type eg. TC_long</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>default_value</p></td>
<td class="parameter_description"><p>the default value or NULL</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>doctitle</p></td>
<td class="parameter_description"><p>the translated documentation string</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>various flags</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-property-bag-add-full"></a><h3>bonobo_property_bag_add_full ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
bonobo_property_bag_add_full (<em class="parameter"><code><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="type">BonoboPropertyBag</span></a> *pb</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
<em class="parameter"><code><span class="type">int</span> idx</code></em>,
<em class="parameter"><code><a class="link" href="libbonobo-bonobo-arg.html#BonoboArgType" title="BonoboArgType"><span class="type">BonoboArgType</span></a> type</code></em>,
<em class="parameter"><code><a class="link" href="libbonobo-bonobo-arg.html#BonoboArg" title="BonoboArg"><span class="type">BonoboArg</span></a> *default_value</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *doctitle</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *docstring</code></em>,
<em class="parameter"><code><span class="type">Bonobo_PropertyFlags</span> flags</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *get_prop</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *set_prop</code></em>);</pre>
<p>This adds a property to <em class="parameter"><code>pb</code></em>
at the full tilt of complexity.</p>
<div class="refsect3">
<a name="id-1.4.5.7.9.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>pb</p></td>
<td class="parameter_description"><p>property bag to add to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>name of new property</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>idx</p></td>
<td class="parameter_description"><p>integer index for fast callback switch statement</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>the CORBA type eg. TC_long</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>default_value</p></td>
<td class="parameter_description"><p>the default value or NULL</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>doctitle</p></td>
<td class="parameter_description"><p>the translated documentation title</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>docstring</p></td>
<td class="parameter_description"><p>the translated documentation string</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>various flags</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>get_prop</p></td>
<td class="parameter_description"><p>a per property get callback</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>set_prop</p></td>
<td class="parameter_description"><p>a per property set callback</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-property-bag-remove"></a><h3>bonobo_property_bag_remove ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
bonobo_property_bag_remove (<em class="parameter"><code><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="type">BonoboPropertyBag</span></a> *pb</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
<p>removes the property with <em class="parameter"><code>name</code></em>
from <em class="parameter"><code>b</code></em>
.</p>
<div class="refsect3">
<a name="id-1.4.5.7.10.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>pb</p></td>
<td class="parameter_description"><p>the property bag</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>name of property to remove.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-property-bag-map-params"></a><h3>bonobo_property_bag_map_params ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
bonobo_property_bag_map_params (<em class="parameter"><code><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="type">BonoboPropertyBag</span></a> *pb</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *on_instance</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> **pspecs</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_params</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-property-bag-get-prop-list"></a><h3>bonobo_property_bag_get_prop_list ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
bonobo_property_bag_get_prop_list (<em class="parameter"><code><a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="type">BonoboPropertyBag</span></a> *pb</code></em>);</pre>
<div class="refsect3">
<a name="id-1.4.5.7.12.4"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>pb</p></td>
<td class="parameter_description"><p>A <a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="type">BonoboPropertyBag</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.5.7.12.5"></a><h4>Returns</h4>
<p>a <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="libbonobo-bonobo-property-bag.html#BonoboProperty" title="struct BonoboProperty"><span class="type">BonoboProperty</span></a> structures. This function is
private and should only be used internally, or in a PropertyBag
persistence implementation. You should not touch the
<a class="link" href="libbonobo-bonobo-property-bag.html#BonoboProperty" title="struct BonoboProperty"><span class="type">BonoboProperty</span></a> structure unless you know what you're doing.</p>
<p></p>
</div>
</div>
</div>
<div class="refsect1">
<a name="libbonobo-bonobo-property-bag.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="BonoboPropertyBagClass"></a><h3>BonoboPropertyBagClass</h3>
<pre class="programlisting">typedef struct {
BonoboObjectClass parent;
POA_Bonobo_PropertyBag__epv epv;
} BonoboPropertyBagClass;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="BonoboPropertyBag"></a><h3>struct BonoboPropertyBag</h3>
<pre class="programlisting">struct BonoboPropertyBag {
BonoboObject parent;
BonoboPropertyBagPrivate *priv;
BonoboEventSource *es;
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="BONOBO-PROPERTY-READABLE:CAPS"></a><h3>BONOBO_PROPERTY_READABLE</h3>
<pre class="programlisting">#define BONOBO_PROPERTY_READABLE Bonobo_PROPERTY_READABLE
</pre>
<p>
If this flag is set, the property allows consulting its value.
</p>
</div>
<hr>
<div class="refsect2">
<a name="BONOBO-PROPERTY-WRITEABLE:CAPS"></a><h3>BONOBO_PROPERTY_WRITEABLE</h3>
<pre class="programlisting">#define BONOBO_PROPERTY_WRITEABLE Bonobo_PROPERTY_WRITEABLE
</pre>
<p>
If this flag is set, the property supports modification of its value.
</p>
</div>
<hr>
<div class="refsect2">
<a name="BONOBO-PROPERTY-WRITABLE:CAPS"></a><h3>BONOBO_PROPERTY_WRITABLE</h3>
<pre class="programlisting">#define BONOBO_PROPERTY_WRITABLE Bonobo_PROPERTY_WRITEABLE
</pre>
<p>
Misspelling of <a class="link" href="libbonobo-bonobo-property-bag.html#BONOBO-PROPERTY-WRITEABLE:CAPS" title="BONOBO_PROPERTY_WRITEABLE"><span class="type">BONOBO_PROPERTY_WRITEABLE</span></a>.
</p>
</div>
<hr>
<div class="refsect2">
<a name="BONOBO-PROPERTY-NO-LISTENING:CAPS"></a><h3>BONOBO_PROPERTY_NO_LISTENING</h3>
<pre class="programlisting">#define BONOBO_PROPERTY_NO_LISTENING Bonobo_PROPERTY_NO_LISTENING
</pre>
<p>
If this flag set, when the property changes its value its
listeners will *not* be notified.
</p>
</div>
<hr>
<div class="refsect2">
<a name="BONOBO-PROPERTY-NO-AUTONOTIFY:CAPS"></a><h3>BONOBO_PROPERTY_NO_AUTONOTIFY</h3>
<pre class="programlisting">#define BONOBO_PROPERTY_NO_AUTONOTIFY Bonobo_PROPERTY_NO_AUTONOTIFY
</pre>
<p>
If this flag set, when the property changes its value its
listeners will *not* be notified.
</p>
</div>
<hr>
<div class="refsect2">
<a name="BonoboProperty"></a><h3>struct BonoboProperty</h3>
<pre class="programlisting">struct BonoboProperty {
char *name;
int idx;
BonoboArgType type;
BonoboArg *default_value;
char *doctitle;
char *docstring;
Bonobo_PropertyFlags flags;
BonoboPropertyPrivate *priv;
};
</pre>
<p>
Structure that holds information about a property in a <a class="link" href="libbonobo-bonobo-property-bag.html#BonoboPropertyBag" title="struct BonoboPropertyBag"><span class="type">BonoboPropertyBag</span></a>.
</p>
<div class="refsect3">
<a name="id-1.4.5.8.9.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><span class="type">char</span> *<em class="structfield"><code><a name="BonoboProperty.name"></a>name</code></em>;</p></td>
<td class="struct_member_description"><p>the canonic name of the property</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="BonoboProperty.idx"></a>idx</code></em>;</p></td>
<td class="struct_member_description"><p>unique numeric identifier of the property within the property bag</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="libbonobo-bonobo-arg.html#BonoboArgType" title="BonoboArgType"><span class="type">BonoboArgType</span></a> <em class="structfield"><code><a name="BonoboProperty.type"></a>type</code></em>;</p></td>
<td class="struct_member_description"><p>type of value contained by this property</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="libbonobo-bonobo-arg.html#BonoboArg" title="BonoboArg"><span class="type">BonoboArg</span></a> *<em class="structfield"><code><a name="BonoboProperty.default-value"></a>default_value</code></em>;</p></td>
<td class="struct_member_description"><p>the default value</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">char</span> *<em class="structfield"><code><a name="BonoboProperty.doctitle"></a>doctitle</code></em>;</p></td>
<td class="struct_member_description"><p>documentation string title</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">char</span> *<em class="structfield"><code><a name="BonoboProperty.docstring"></a>docstring</code></em>;</p></td>
<td class="struct_member_description"><p>documentation string</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">Bonobo_PropertyFlags</span> <em class="structfield"><code><a name="BonoboProperty.flags"></a>flags</code></em>;</p></td>
<td class="struct_member_description"><p>property flags (read/write, etc.)</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">BonoboPropertyPrivate</span> *<em class="structfield"><code><a name="BonoboProperty.priv"></a>priv</code></em>;</p></td>
<td class="struct_member_description"><p>implementation private data</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.20</div>
</body>
</html>
|