/usr/share/gtk-doc/html/libbonoboui/libbonoboui-bonobo-ui-node.html is in libbonoboui2-dev 2.24.5-3ubuntu1.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>bonobo-ui-node</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="LibBonoboUI API Reference Manual">
<link rel="up" href="bonobo-ui.html" title="Bonobo UI">
<link rel="prev" href="libbonoboui-bonobo-ui-util.html" title="bonobo-ui-util">
<link rel="next" href="libbonoboui-bonobo-ui-engine.html" title="BonoboUIEngine">
<meta name="generator" content="GTK-Doc V1.15.1 (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="libbonoboui-bonobo-ui-util.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="bonobo-ui.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">LibBonoboUI API Reference Manual</th>
<td><a accesskey="n" href="libbonoboui-bonobo-ui-engine.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libbonoboui-bonobo-ui-node.synopsis" class="shortcut">Top</a>
|
<a href="#libbonoboui-bonobo-ui-node.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libbonoboui-bonobo-ui-node"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libbonoboui-bonobo-ui-node.top_of_page"></a>bonobo-ui-node</span></h2>
<p>bonobo-ui-node — Simplified XML Node manipulation API</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libbonoboui-bonobo-ui-node.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"> <a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode">BonoboUINode</a>;
<a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="returnvalue">BonoboUINode</span></a> * <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-new" title="bonobo_ui_node_new ()">bonobo_ui_node_new</a> (<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);
<a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="returnvalue">BonoboUINode</span></a> * <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-new-child" title="bonobo_ui_node_new_child ()">bonobo_ui_node_new_child</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *parent</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);
<a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="returnvalue">BonoboUINode</span></a> * <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-copy" title="bonobo_ui_node_copy ()">bonobo_ui_node_copy</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> recursive</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-free" title="bonobo_ui_node_free ()">bonobo_ui_node_free</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-set-data" title="bonobo_ui_node_set_data ()">bonobo_ui_node_set_data</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-get-data" title="bonobo_ui_node_get_data ()">bonobo_ui_node_get_data</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-set-attr" title="bonobo_ui_node_set_attr ()">bonobo_ui_node_set_attr</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *value</code></em>);
<span class="returnvalue">char</span> * <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-get-attr" title="bonobo_ui_node_get_attr ()">bonobo_ui_node_get_attr</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</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="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-has-attr" title="bonobo_ui_node_has_attr ()">bonobo_ui_node_has_attr</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-remove-attr" title="bonobo_ui_node_remove_attr ()">bonobo_ui_node_remove_attr</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-add-child" title="bonobo_ui_node_add_child ()">bonobo_ui_node_add_child</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *parent</code></em>,
<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *child</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-insert-before" title="bonobo_ui_node_insert_before ()">bonobo_ui_node_insert_before</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *after</code></em>,
<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *new_before</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-unlink" title="bonobo_ui_node_unlink ()">bonobo_ui_node_unlink</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-replace" title="bonobo_ui_node_replace ()">bonobo_ui_node_replace</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *old_node</code></em>,
<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *new_node</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-set-content" title="bonobo_ui_node_set_content ()">bonobo_ui_node_set_content</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *content</code></em>);
<span class="returnvalue">char</span> * <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-get-content" title="bonobo_ui_node_get_content ()">bonobo_ui_node_get_content</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);
<a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="returnvalue">BonoboUINode</span></a> * <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-next" title="bonobo_ui_node_next ()">bonobo_ui_node_next</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);
<a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="returnvalue">BonoboUINode</span></a> * <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-prev" title="bonobo_ui_node_prev ()">bonobo_ui_node_prev</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);
<a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="returnvalue">BonoboUINode</span></a> * <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-children" title="bonobo_ui_node_children ()">bonobo_ui_node_children</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);
<a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="returnvalue">BonoboUINode</span></a> * <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-parent" title="bonobo_ui_node_parent ()">bonobo_ui_node_parent</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);
const <span class="returnvalue">char</span> * <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-get-name" title="bonobo_ui_node_get_name ()">bonobo_ui_node_get_name</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</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="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-has-name" title="bonobo_ui_node_has_name ()">bonobo_ui_node_has_name</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</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="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-transparent" title="bonobo_ui_node_transparent ()">bonobo_ui_node_transparent</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-copy-attrs" title="bonobo_ui_node_copy_attrs ()">bonobo_ui_node_copy_attrs</a> (<em class="parameter"><code>const <a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *src</code></em>,
<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *dest</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-free-string" title="bonobo_ui_node_free_string ()">bonobo_ui_node_free_string</a> (<em class="parameter"><code><span class="type">char</span> *str</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-strip" title="bonobo_ui_node_strip ()">bonobo_ui_node_strip</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> **node</code></em>);
<span class="returnvalue">char</span> * <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-to-string" title="bonobo_ui_node_to_string ()">bonobo_ui_node_to_string</a> (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> recurse</code></em>);
<a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="returnvalue">BonoboUINode</span></a>* <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-from-string" title="bonobo_ui_node_from_string ()">bonobo_ui_node_from_string</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);
<a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="returnvalue">BonoboUINode</span></a>* <a class="link" href="libbonoboui-bonobo-ui-node.html#bonobo-ui-node-from-file" title="bonobo_ui_node_from_file ()">bonobo_ui_node_from_file</a> (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libbonoboui-bonobo-ui-node.description"></a><h2>Description</h2>
<p>
The BonoboUINode API is designed to make XML node manipulation
simple, and to hide the underlying implementation of the XML tree.
This is to allow the use of some more efficient internal representation
than libxml's at some later date.
</p>
</div>
<div class="refsect1">
<a name="libbonoboui-bonobo-ui-node.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="BonoboUINode"></a><h3>BonoboUINode</h3>
<pre class="programlisting">typedef struct _BonoboUINode BonoboUINode;</pre>
<p>
The BonoboUINode structure is fully opaque to stop any code
depending on libxml inadvertantly.
</p>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-new"></a><h3>bonobo_ui_node_new ()</h3>
<pre class="programlisting"><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="returnvalue">BonoboUINode</span></a> * bonobo_ui_node_new (<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
<p>
Creates a new node with name <em class="parameter"><code>name</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>name</code></em> :</span></p></td>
<td>The name for the node
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new node pointer
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-new-child"></a><h3>bonobo_ui_node_new_child ()</h3>
<pre class="programlisting"><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="returnvalue">BonoboUINode</span></a> * bonobo_ui_node_new_child (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *parent</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
<p>
Create a new node as a child of <em class="parameter"><code>parent</code></em> with name <em class="parameter"><code>name</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>parent</code></em> :</span></p></td>
<td>the parent
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>the name of the new child
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> pointer to the new child
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-copy"></a><h3>bonobo_ui_node_copy ()</h3>
<pre class="programlisting"><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="returnvalue">BonoboUINode</span></a> * bonobo_ui_node_copy (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> recursive</code></em>);</pre>
<p>
Copy an XML node, if <em class="parameter"><code>recursive</code></em> do a deep copy, otherwise just dup the node itself.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>recursive</code></em> :</span></p></td>
<td>whether to dup children too.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a copy of the noce
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-free"></a><h3>bonobo_ui_node_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> bonobo_ui_node_free (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);</pre>
<p>
Frees the memory associated with the <em class="parameter"><code>node</code></em> and unlink it from the tree
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>a node.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-set-data"></a><h3>bonobo_ui_node_set_data ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> bonobo_ui_node_set_data (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
<p>
Associates some user data with the node pointer
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>user data
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-get-data"></a><h3>bonobo_ui_node_get_data ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> bonobo_ui_node_get_data (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);</pre>
<p>
Gets user data associated with <em class="parameter"><code>node</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>node</code></em> :</span></p></td>
<td>the node
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the user data, see bonobo_ui_node_set_data
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-set-attr"></a><h3>bonobo_ui_node_set_attr ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> bonobo_ui_node_set_attr (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *value</code></em>);</pre>
<p>
Set the attribute of <em class="parameter"><code>name</code></em> on <em class="parameter"><code>node</code></em> to <em class="parameter"><code>value</code></em> overriding any
previous values of that attr.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>The node
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>the name of the attr
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td>the value for the attr
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-get-attr"></a><h3>bonobo_ui_node_get_attr ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> * bonobo_ui_node_get_attr (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
<p>
Fetch the value of an attr of name <em class="parameter"><code>name</code></em> from <em class="parameter"><code>node</code></em>
see also: bonobo_ui_node_free_string
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>the name of the attr to get
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the attr text.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-has-attr"></a><h3>bonobo_ui_node_has_attr ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> bonobo_ui_node_has_attr (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
<p>
Determines whether the <em class="parameter"><code>node</code></em> has an attribute of name <em class="parameter"><code>name</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>node</code></em> :</span></p></td>
<td>the node
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>the name of the attr to detect
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE if the attr exists
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-remove-attr"></a><h3>bonobo_ui_node_remove_attr ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> bonobo_ui_node_remove_attr (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
<p>
remove any attribute with name <em class="parameter"><code>name</code></em> from <em class="parameter"><code>node</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>node</code></em> :</span></p></td>
<td>the node
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>name of the attribute
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-add-child"></a><h3>bonobo_ui_node_add_child ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> bonobo_ui_node_add_child (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *parent</code></em>,
<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *child</code></em>);</pre>
<p>
Add a <em class="parameter"><code>child</code></em> node to the <em class="parameter"><code>parent</code></em> node ( after the other children )
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td>the parent
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>the new child
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-insert-before"></a><h3>bonobo_ui_node_insert_before ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> bonobo_ui_node_insert_before (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *after</code></em>,
<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *new_before</code></em>);</pre>
<p>
Insert a <em class="parameter"><code>sibling</code></em> before <em class="parameter"><code>prev_sibling</code></em> in a node list
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>after</code></em> :</span></p></td>
<td>the placeholder for insertion
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>new_before</code></em> :</span></p></td>
<td>the node to insert
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-unlink"></a><h3>bonobo_ui_node_unlink ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> bonobo_ui_node_unlink (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);</pre>
<p>
Unlink <em class="parameter"><code>node</code></em> from its tree, ie. disassociate it with its parent
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-replace"></a><h3>bonobo_ui_node_replace ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> bonobo_ui_node_replace (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *old_node</code></em>,
<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *new_node</code></em>);</pre>
<p>
Replace <em class="parameter"><code>old_node</code></em> with <em class="parameter"><code>new_node</code></em> in the tree. <em class="parameter"><code>old_node</code></em> is
left unlinked and floating with its children.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>old_node</code></em> :</span></p></td>
<td>node to be replaced
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>new_node</code></em> :</span></p></td>
<td>node to replace with
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-set-content"></a><h3>bonobo_ui_node_set_content ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> bonobo_ui_node_set_content (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *content</code></em>);</pre>
<p>
Set the textual content of <em class="parameter"><code>node</code></em> to <em class="parameter"><code>content</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>node</code></em> :</span></p></td>
<td>the node
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>content</code></em> :</span></p></td>
<td>the new content
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-get-content"></a><h3>bonobo_ui_node_get_content ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> * bonobo_ui_node_get_content (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);</pre>
<p>
see also: bonobo_ui_node_free_string
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the content of <em class="parameter"><code>node</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-next"></a><h3>bonobo_ui_node_next ()</h3>
<pre class="programlisting"><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="returnvalue">BonoboUINode</span></a> * bonobo_ui_node_next (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the node after <em class="parameter"><code>node</code></em> in the list
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-prev"></a><h3>bonobo_ui_node_prev ()</h3>
<pre class="programlisting"><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="returnvalue">BonoboUINode</span></a> * bonobo_ui_node_prev (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the node after <em class="parameter"><code>node</code></em> in the list
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-children"></a><h3>bonobo_ui_node_children ()</h3>
<pre class="programlisting"><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="returnvalue">BonoboUINode</span></a> * bonobo_ui_node_children (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the first child of <em class="parameter"><code>node</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-parent"></a><h3>bonobo_ui_node_parent ()</h3>
<pre class="programlisting"><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="returnvalue">BonoboUINode</span></a> * bonobo_ui_node_parent (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the parent node of <em class="parameter"><code>node</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-get-name"></a><h3>bonobo_ui_node_get_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> * bonobo_ui_node_get_name (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the name of <em class="parameter"><code>node</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-has-name"></a><h3>bonobo_ui_node_has_name ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> bonobo_ui_node_has_name (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>a name the node might have
</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>node</code></em> has name == <em class="parameter"><code>name</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-transparent"></a><h3>bonobo_ui_node_transparent ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> bonobo_ui_node_transparent (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);</pre>
<p>
Determines whether <em class="parameter"><code>node</code></em> is transparent. A node is
transparent if it has no content and either no attributes
or a single 'name' attribute.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE if transparent
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-copy-attrs"></a><h3>bonobo_ui_node_copy_attrs ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> bonobo_ui_node_copy_attrs (<em class="parameter"><code>const <a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *src</code></em>,
<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *dest</code></em>);</pre>
<p>
This function copies all the attributes from <em class="parameter"><code>src</code></em> to <em class="parameter"><code>dest</code></em>
effectively cloning the <em class="parameter"><code>src</code></em> node as <em class="parameter"><code>dest</code></em>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td>the attr source node
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
<td>where to dump the attrs.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-free-string"></a><h3>bonobo_ui_node_free_string ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> bonobo_ui_node_free_string (<em class="parameter"><code><span class="type">char</span> *str</code></em>);</pre>
<p>
Frees a string returned by any of the get routines.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
<td>the string to free.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-strip"></a><h3>bonobo_ui_node_strip ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> bonobo_ui_node_strip (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> **node</code></em>);</pre>
<p>
A compat function for legacy reasons.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>a pointer to the node's pointer
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-to-string"></a><h3>bonobo_ui_node_to_string ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> * bonobo_ui_node_to_string (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> recurse</code></em>);</pre>
<p>
Convert the node to its XML string representation.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node tree
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>recurse</code></em> :</span></p></td>
<td>whether to dump its children as well
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the string representation or NULL on error
Use g_free to free.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-from-string"></a><h3>bonobo_ui_node_from_string ()</h3>
<pre class="programlisting"><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="returnvalue">BonoboUINode</span></a>* bonobo_ui_node_from_string (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);</pre>
<p>
Parses a string into an XML tree
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the xml tree.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-node-from-file"></a><h3>bonobo_ui_node_from_file ()</h3>
<pre class="programlisting"><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="returnvalue">BonoboUINode</span></a>* bonobo_ui_node_from_file (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>);</pre>
<p>
Loads and parses the filename into an XML tree
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the xml tree.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="libbonoboui-bonobo-ui-node.see-also"></a><h2>See Also</h2>
<p>
<a class="link" href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent"><span class="type">BonoboUIComponent</span></a>, <span class="type">bonobo-ui-util</span>
</p>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.15.1</div>
</body>
</html>
|