1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkList</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GTK+ Reference Manual">
<link rel="up" href="DeprecatedObjects.html" title="Deprecated">
<link rel="prev" href="GtkItemFactory.html" title="GtkItemFactory">
<link rel="next" href="GtkListItem.html" title="GtkListItem">
<meta name="generator" content="GTK-Doc V1.14 (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="GtkItemFactory.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="DeprecatedObjects.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">GTK+ Reference Manual</th>
<td><a accesskey="n" href="GtkListItem.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GtkList.synopsis" class="shortcut">Top</a>
|
<a href="#GtkList.description" class="shortcut">Description</a>
|
<a href="#GtkList.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#GtkList.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
<a href="#GtkList.properties" class="shortcut">Properties</a>
|
<a href="#GtkList.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry" title="GtkList">
<a name="GtkList"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkList.top_of_page"></a>GtkList</span></h2>
<p>GtkList — Widget for packing a list of selectable items</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="GtkList.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <gtk/gtk.h>
<a class="link" href="GtkList.html#GtkList-struct" title="GtkList">GtkList</a>;
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>* <a class="link" href="GtkList.html#gtk-list-new" title="gtk_list_new ()">gtk_list_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-insert-items" title="gtk_list_insert_items ()">gtk_list_insert_items</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *items</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-append-items" title="gtk_list_append_items ()">gtk_list_append_items</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *items</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-prepend-items" title="gtk_list_prepend_items ()">gtk_list_prepend_items</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *items</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-remove-items" title="gtk_list_remove_items ()">gtk_list_remove_items</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *items</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-remove-items-no-unref" title="gtk_list_remove_items_no_unref ()">gtk_list_remove_items_no_unref</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *items</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-clear-items" title="gtk_list_clear_items ()">gtk_list_clear_items</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> start</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> end</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-select-item" title="gtk_list_select_item ()">gtk_list_select_item</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> item</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-unselect-item" title="gtk_list_unselect_item ()">gtk_list_unselect_item</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> item</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-select-child" title="gtk_list_select_child ()">gtk_list_select_child</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-unselect-child" title="gtk_list_unselect_child ()">gtk_list_unselect_child</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkList.html#gtk-list-child-position" title="gtk_list_child_position ()">gtk_list_child_position</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-set-selection-mode" title="gtk_list_set_selection_mode ()">gtk_list_set_selection_mode</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a class="link" href="gtk-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="type">GtkSelectionMode</span></a> mode</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-extend-selection" title="gtk_list_extend_selection ()">gtk_list_extend_selection</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a class="link" href="gtk-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a> scroll_type</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> position</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> auto_start_selection</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-start-selection" title="gtk_list_start_selection ()">gtk_list_start_selection</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-end-selection" title="gtk_list_end_selection ()">gtk_list_end_selection</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-select-all" title="gtk_list_select_all ()">gtk_list_select_all</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-unselect-all" title="gtk_list_unselect_all ()">gtk_list_unselect_all</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-scroll-horizontal" title="gtk_list_scroll_horizontal ()">gtk_list_scroll_horizontal</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a class="link" href="gtk-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a> scroll_type</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> position</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-scroll-vertical" title="gtk_list_scroll_vertical ()">gtk_list_scroll_vertical</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a class="link" href="gtk-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a> scroll_type</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> position</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-toggle-add-mode" title="gtk_list_toggle_add_mode ()">gtk_list_toggle_add_mode</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-toggle-focus-row" title="gtk_list_toggle_focus_row ()">gtk_list_toggle_focus_row</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-toggle-row" title="gtk_list_toggle_row ()">gtk_list_toggle_row</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *item</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-undo-selection" title="gtk_list_undo_selection ()">gtk_list_undo_selection</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GtkList.html#gtk-list-end-drag-selection" title="gtk_list_end_drag_selection ()">gtk_list_end_drag_selection</a> (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="GtkList.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
+----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
+----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
+----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
+----GtkList
</pre>
</div>
<div class="refsect1" title="Implemented Interfaces">
<a name="GtkList.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GtkList implements
AtkImplementorIface and <a class="link" href="gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a>.</p>
</div>
<div class="refsect1" title="Properties">
<a name="GtkList.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GtkList.html#GtkList--selection-mode" title='The "selection-mode" property'>selection-mode</a>" <a class="link" href="gtk-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="type">GtkSelectionMode</span></a> : Read / Write
</pre>
</div>
<div class="refsect1" title="Signals">
<a name="GtkList.signals"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="GtkList.html#GtkList-select-child" title='The "select-child" signal'>select-child</a>" : Run First
"<a class="link" href="GtkList.html#GtkList-selection-changed" title='The "selection-changed" signal'>selection-changed</a>" : Run First
"<a class="link" href="GtkList.html#GtkList-unselect-child" title='The "unselect-child" signal'>unselect-child</a>" : Run First
</pre>
</div>
<div class="refsect1" title="Description">
<a name="GtkList.description"></a><h2>Description</h2>
<p>
The <a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> widget is a container whose children are displayed
vertically in order, and can be selected.
The list has many selection modes, which are programmer selective and
depend on how many elements are able to be selected at the same time.
</p>
<p>
GtkList has been deprecated since GTK+ 2.0 and should not be used
in newly written code. Use <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> instead.
</p>
</div>
<div class="refsect1" title="Details">
<a name="GtkList.details"></a><h2>Details</h2>
<div class="refsect2" title="GtkList">
<a name="GtkList-struct"></a><h3>GtkList</h3>
<pre class="programlisting">typedef struct _GtkList GtkList;</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GtkList</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="gtk_list_new ()">
<a name="gtk-list-new"></a><h3>gtk_list_new ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>* gtk_list_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_new</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates a new <a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the newly-created <a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_insert_items ()">
<a name="gtk-list-insert-items"></a><h3>gtk_list_insert_items ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_insert_items (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *items</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_insert_items</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Inserts <em class="parameter"><code>items</code></em> into the <em class="parameter"><code>list</code></em> at the position <em class="parameter"><code>position</code></em>. The <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> items
must not be freed after.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>items</code></em> :</span></p></td>
<td>the items.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
<td>the position to insert <em class="parameter"><code>items</code></em>, starting at 0.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_append_items ()">
<a name="gtk-list-append-items"></a><h3>gtk_list_append_items ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_append_items (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *items</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_append_items</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Adds <em class="parameter"><code>items</code></em> to the end of the <em class="parameter"><code>list</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>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>items</code></em> :</span></p></td>
<td>the items.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_prepend_items ()">
<a name="gtk-list-prepend-items"></a><h3>gtk_list_prepend_items ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_prepend_items (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *items</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_prepend_items</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Inserts <em class="parameter"><code>items</code></em> at the beginning of the <em class="parameter"><code>list</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>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>items</code></em> :</span></p></td>
<td>the items.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_remove_items ()">
<a name="gtk-list-remove-items"></a><h3>gtk_list_remove_items ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_remove_items (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *items</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_remove_items</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Removes the <em class="parameter"><code>items</code></em> from the <em class="parameter"><code>list</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>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>items</code></em> :</span></p></td>
<td>the items to remove.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_remove_items_no_unref ()">
<a name="gtk-list-remove-items-no-unref"></a><h3>gtk_list_remove_items_no_unref ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_remove_items_no_unref (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *items</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_remove_items_no_unref</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Removes the <em class="parameter"><code>items</code></em> from the <em class="parameter"><code>list</code></em>, without unreferencing them. It
may be useful if you want to move the items from one list to another.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>items</code></em> :</span></p></td>
<td>the items.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_clear_items ()">
<a name="gtk-list-clear-items"></a><h3>gtk_list_clear_items ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_clear_items (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> start</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> end</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_clear_items</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Removes the items between index <em class="parameter"><code>start</code></em> (included) and <em class="parameter"><code>end</code></em> (excluded)
from the <em class="parameter"><code>list</code></em>. If <em class="parameter"><code>end</code></em> is negative, or greater than the number of
children of <em class="parameter"><code>list</code></em>, it's assumed to be exactly the number of
elements. If <em class="parameter"><code>start</code></em> is greater than or equal to <em class="parameter"><code>end</code></em>, nothing is
done.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
<td>the index of the first item to remove.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
<td>the index of the lest item to remove plus one.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_select_item ()">
<a name="gtk-list-select-item"></a><h3>gtk_list_select_item ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_select_item (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> item</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_select_item</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Selects the child number <em class="parameter"><code>item</code></em> of the <em class="parameter"><code>list</code></em>. Nothing happens if <em class="parameter"><code>item</code></em>
is out of bounds. The signal GtkList::select-child will be emitted.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>the index of the child to select.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_unselect_item ()">
<a name="gtk-list-unselect-item"></a><h3>gtk_list_unselect_item ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_unselect_item (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> item</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_unselect_item</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Unselects the child number <em class="parameter"><code>item</code></em> of the <em class="parameter"><code>list</code></em>. Nothing happens if
<em class="parameter"><code>item</code></em> is out of bounds. The signal GtkList::unselect-child will be
emitted.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>the index of the child to unselect.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_select_child ()">
<a name="gtk-list-select-child"></a><h3>gtk_list_select_child ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_select_child (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_select_child</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Selects the given <em class="parameter"><code>child</code></em>. The signal GtkList::select-child will be
emitted.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>the child to select.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_unselect_child ()">
<a name="gtk-list-unselect-child"></a><h3>gtk_list_unselect_child ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_unselect_child (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_unselect_child</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Unselects the given <em class="parameter"><code>child</code></em>. The signal GtkList::unselect-child will be
emitted.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>the child to unselect.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_child_position ()">
<a name="gtk-list-child-position"></a><h3>gtk_list_child_position ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_list_child_position (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_child_position</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Searches the children of <em class="parameter"><code>list</code></em> for the index of <em class="parameter"><code>child</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>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>the child to look for.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the index of the child, -1 if not found.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_set_selection_mode ()">
<a name="gtk-list-set-selection-mode"></a><h3>gtk_list_set_selection_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_set_selection_mode (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a class="link" href="gtk-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="type">GtkSelectionMode</span></a> mode</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_set_selection_mode</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Set the list selection mode. The selection mode can be any value in
<a class="link" href="gtk-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="type">GtkSelectionMode</span></a>:
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><a class="link" href="gtk-Standard-Enumerations.html#GTK-SELECTION-SINGLE:CAPS"><span class="type">GTK_SELECTION_SINGLE</span></a></span></p></td>
<td><p>
Zero or one element may be selected.
</p></td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="gtk-Standard-Enumerations.html#GTK-SELECTION-BROWSE:CAPS"><span class="type">GTK_SELECTION_BROWSE</span></a></span></p></td>
<td><p>
Exactly one element is always selected (this can be false after you have
changed the selection mode).
</p></td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="gtk-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a></span></p></td>
<td><p>
Any number of elements may be selected. Clicks toggle the state of an
item.
</p></td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="gtk-Standard-Enumerations.html#GTK-SELECTION-EXTENDED:CAPS"><span class="type">GTK_SELECTION_EXTENDED</span></a></span></p></td>
<td><p>
Any number of elements may be selected. Click-drag selects a range of
elements; the Ctrl key may be used to enlarge the selection, and
Shift key to select between the focus and the child pointed to.
</p></td>
</tr>
</tbody>
</table></div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
<td>the new selection mode.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_extend_selection ()">
<a name="gtk-list-extend-selection"></a><h3>gtk_list_extend_selection ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_extend_selection (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a class="link" href="gtk-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a> scroll_type</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> position</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> auto_start_selection</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_extend_selection</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Extends the selection by moving the anchor according to <em class="parameter"><code>scroll_type</code></em>. Only
in <a class="link" href="gtk-Standard-Enumerations.html#GTK-SELECTION-EXTENDED:CAPS"><span class="type">GTK_SELECTION_EXTENDED</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>scroll_type</code></em> :</span></p></td>
<td>the direction and length.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
<td>the position if <em class="parameter"><code>scroll_type</code></em> is <span class="type">GTK_SCROLL_JUMP</span>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>auto_start_selection</code></em> :</span></p></td>
<td>if <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, <a class="link" href="GtkList.html#gtk-list-start-selection" title="gtk_list_start_selection ()"><code class="function">gtk_list_start_selection()</code></a> is automatically
carried out before extending the selection.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_start_selection ()">
<a name="gtk-list-start-selection"></a><h3>gtk_list_start_selection ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_start_selection (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_start_selection</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Starts a selection (or part of selection) at the focused child. Only in
<a class="link" href="gtk-Standard-Enumerations.html#GTK-SELECTION-EXTENDED:CAPS"><span class="type">GTK_SELECTION_EXTENDED</span></a> mode.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_end_selection ()">
<a name="gtk-list-end-selection"></a><h3>gtk_list_end_selection ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_end_selection (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_end_selection</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Ends the selection. Used with <a class="link" href="GtkList.html#gtk-list-extend-selection" title="gtk_list_extend_selection ()"><code class="function">gtk_list_extend_selection()</code></a> and
<a class="link" href="GtkList.html#gtk-list-start-selection" title="gtk_list_start_selection ()"><code class="function">gtk_list_start_selection()</code></a>. Only in <a class="link" href="gtk-Standard-Enumerations.html#GTK-SELECTION-EXTENDED:CAPS"><span class="type">GTK_SELECTION_EXTENDED</span></a> mode.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_select_all ()">
<a name="gtk-list-select-all"></a><h3>gtk_list_select_all ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_select_all (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_select_all</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Selects all children of <em class="parameter"><code>list</code></em>. A signal will be emitted for each
newly selected child.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_unselect_all ()">
<a name="gtk-list-unselect-all"></a><h3>gtk_list_unselect_all ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_unselect_all (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_unselect_all</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Unselects all children of <em class="parameter"><code>list</code></em>. A signal will be emitted for each
newly unselected child.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_scroll_horizontal ()">
<a name="gtk-list-scroll-horizontal"></a><h3>gtk_list_scroll_horizontal ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_scroll_horizontal (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a class="link" href="gtk-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a> scroll_type</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> position</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_scroll_horizontal</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Scrolls <em class="parameter"><code>list</code></em> horizontaly. This supposes that the list is packed into a
scrolled window or something similar, and adjustments are well
set. Step and page increment are those from the horizontal adjustment
of <em class="parameter"><code>list</code></em>. Backward means to the left, and forward to the
right. Out of bounds values are truncated.
<em class="parameter"><code>scroll_type</code></em> may be any valid <a class="link" href="gtk-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a>. If <em class="parameter"><code>scroll_type</code></em> is
<span class="type">GTK_SCROLL_NONE</span>, nothing is done. If it's <span class="type">GTK_SCROLL_JUMP</span>, the list
scrolls to the ratio <em class="parameter"><code>position</code></em>: 0 is full left, 1 is full right.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>scroll_type</code></em> :</span></p></td>
<td>the scrolling type.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
<td>the position if <em class="parameter"><code>scroll_type</code></em> is <span class="type">GTK_SCROLL_JUMP</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_scroll_vertical ()">
<a name="gtk-list-scroll-vertical"></a><h3>gtk_list_scroll_vertical ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_scroll_vertical (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a class="link" href="gtk-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a> scroll_type</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> position</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_scroll_vertical</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Scrolls <em class="parameter"><code>list</code></em> vertically. This supposes that the list is packed into a
scrolled window or something similar, and adjustments are well
set. Step and page increment are those from the vertical adjustment
of <em class="parameter"><code>list</code></em>. Backward means up, and forward down. Out of bounds values are
truncated.
<em class="parameter"><code>scroll_type</code></em> may be any valid <a class="link" href="gtk-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a>. If <em class="parameter"><code>scroll_type</code></em> is
<span class="type">GTK_SCROLL_NONE</span>, nothing is done. If it's <span class="type">GTK_SCROLL_JUMP</span>, the list
scrolls to the ratio <em class="parameter"><code>position</code></em>: 0 is top, 1 is bottom.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>scroll_type</code></em> :</span></p></td>
<td>the scrolling type.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
<td>the position if <em class="parameter"><code>scroll_type</code></em> is <span class="type">GTK_SCROLL_JUMP</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_toggle_add_mode ()">
<a name="gtk-list-toggle-add-mode"></a><h3>gtk_list_toggle_add_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_toggle_add_mode (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_toggle_add_mode</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Toggles between adding to the selection and beginning a new selection. Only
in <a class="link" href="gtk-Standard-Enumerations.html#GTK-SELECTION-EXTENDED:CAPS"><span class="type">GTK_SELECTION_EXTENDED</span></a>. Useful with <a class="link" href="GtkList.html#gtk-list-extend-selection" title="gtk_list_extend_selection ()"><code class="function">gtk_list_extend_selection()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_toggle_focus_row ()">
<a name="gtk-list-toggle-focus-row"></a><h3>gtk_list_toggle_focus_row ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_toggle_focus_row (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_toggle_focus_row</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Toggles the focus row. If the focus row is selected, it's
unselected. If the focus row is unselected, it's selected. If the
selection mode of <em class="parameter"><code>list</code></em> is <a class="link" href="gtk-Standard-Enumerations.html#GTK-SELECTION-BROWSE:CAPS"><span class="type">GTK_SELECTION_BROWSE</span></a>, this has no effect,
as the selection is always at the focus row.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_toggle_row ()">
<a name="gtk-list-toggle-row"></a><h3>gtk_list_toggle_row ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_toggle_row (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>,
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *item</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_toggle_row</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Toggles the child <em class="parameter"><code>item</code></em> of list. If the selection mode of <em class="parameter"><code>list</code></em> is
<a class="link" href="gtk-Standard-Enumerations.html#GTK-SELECTION-BROWSE:CAPS"><span class="type">GTK_SELECTION_BROWSE</span></a>, the item is selected, and the others are
unselected.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>the child to toggle.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_undo_selection ()">
<a name="gtk-list-undo-selection"></a><h3>gtk_list_undo_selection ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_undo_selection (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_undo_selection</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Restores the selection in the last state, only if selection mode is
<a class="link" href="gtk-Standard-Enumerations.html#GTK-SELECTION-EXTENDED:CAPS"><span class="type">GTK_SELECTION_EXTENDED</span></a>. If this function is called twice, the selection is
cleared. This function sometimes gives stranges "last states".
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_list_end_drag_selection ()">
<a name="gtk-list-end-drag-selection"></a><h3>gtk_list_end_drag_selection ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gtk_list_end_drag_selection (<em class="parameter"><code><a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_list_end_drag_selection</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Stops the drag selection mode and ungrabs the pointer. This has no
effect if a drag selection is not active.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the list widget.
</td>
</tr></tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="GtkList.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "selection-mode" property'>
<a name="GtkList--selection-mode"></a><h3>The <code class="literal">"selection-mode"</code> property</h3>
<pre class="programlisting"> "selection-mode" <a class="link" href="gtk-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="type">GtkSelectionMode</span></a> : Read / Write</pre>
<p></p>
<p>Default value: GTK_SELECTION_NONE</p>
</div>
</div>
<div class="refsect1" title="Signal Details">
<a name="GtkList.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2" title='The "select-child" signal'>
<a name="GtkList-select-child"></a><h3>The <code class="literal">"select-child"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list,
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run First</pre>
<p>
The child <em class="parameter"><code>widget</code></em> has just been selected.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td>the newly selected child.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title='The "selection-changed" signal'>
<a name="GtkList-selection-changed"></a><h3>The <code class="literal">"selection-changed"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run First</pre>
<p>
The selection of the widget has just changed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title='The "unselect-child" signal'>
<a name="GtkList-unselect-child"></a><h3>The <code class="literal">"unselect-child"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> *list,
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run First</pre>
<p>
The child <em class="parameter"><code>widget</code></em> has just been unselected.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td>the newly unselected child.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="See Also">
<a name="GtkList.see-also"></a><h2>See Also</h2>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a></span></p></td>
<td><p>For functions that apply to every <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
(like <a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a>).</p></td>
</tr>
<tr>
<td><p><span class="term"><span class="type">GtkListitem</span></span></p></td>
<td><p>Children of a <a class="link" href="GtkList.html" title="GtkList"><span class="type">GtkList</span></a> widget must be of this
type.</p></td>
</tr>
</tbody>
</table></div>
<p>
</p>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.14</div>
</body>
</html>
|