1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Standard Enumerations</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="gtkbase.html" title="Part II. GTK+ Core Reference">
<link rel="prev" href="gtk-Bindings.html" title="Bindings">
<link rel="next" href="gtk-Graphics-Contexts.html" title="Graphics Contexts">
<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="gtk-Bindings.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="gtkbase.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="gtk-Graphics-Contexts.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#gtk-Standard-Enumerations.synopsis" class="shortcut">Top</a>
|
<a href="#gtk-Standard-Enumerations.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" title="Standard Enumerations">
<a name="gtk-Standard-Enumerations"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gtk-Standard-Enumerations.top_of_page"></a>Standard Enumerations</span></h2>
<p>Standard Enumerations — Public enumerated types used throughout GTK+</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="gtk-Standard-Enumerations.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <gtk/gtk.h>
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkAccelFlags" title="enum GtkAccelFlags">GtkAccelFlags</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkAnchorType" title="enum GtkAnchorType">GtkAnchorType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkArrowPlacement" title="enum GtkArrowPlacement">GtkArrowPlacement</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkArrowType" title="enum GtkArrowType">GtkArrowType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkAttachOptions" title="enum GtkAttachOptions">GtkAttachOptions</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkButtonBoxStyle" title="enum GtkButtonBoxStyle">GtkButtonBoxStyle</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkCornerType" title="enum GtkCornerType">GtkCornerType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkCurveType" title="enum GtkCurveType">GtkCurveType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkDeleteType" title="enum GtkDeleteType">GtkDeleteType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkDirectionType" title="enum GtkDirectionType">GtkDirectionType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkExpanderStyle" title="enum GtkExpanderStyle">GtkExpanderStyle</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkIMPreeditStyle" title="enum GtkIMPreeditStyle">GtkIMPreeditStyle</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkIMStatusStyle" title="enum GtkIMStatusStyle">GtkIMStatusStyle</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkJustification" title="enum GtkJustification">GtkJustification</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkMatchType" title="enum GtkMatchType">GtkMatchType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkMetricType" title="enum GtkMetricType">GtkMetricType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkMovementStep" title="enum GtkMovementStep">GtkMovementStep</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation">GtkOrientation</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkPackType" title="enum GtkPackType">GtkPackType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkPathPriorityType" title="enum GtkPathPriorityType">GtkPathPriorityType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkPathType" title="enum GtkPathType">GtkPathType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkPolicyType" title="enum GtkPolicyType">GtkPolicyType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkPositionType" title="enum GtkPositionType">GtkPositionType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkPreviewType" title="enum GtkPreviewType">GtkPreviewType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle">GtkReliefStyle</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkResizeMode" title="enum GtkResizeMode">GtkResizeMode</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkScrollStep" title="enum GtkScrollStep">GtkScrollStep</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType">GtkScrollType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode">GtkSelectionMode</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType">GtkShadowType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkSideType" title="enum GtkSideType">GtkSideType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkStateType" title="enum GtkStateType">GtkStateType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkSubmenuDirection" title="enum GtkSubmenuDirection">GtkSubmenuDirection</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkSubmenuPlacement" title="enum GtkSubmenuPlacement">GtkSubmenuPlacement</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkToolbarStyle" title="enum GtkToolbarStyle">GtkToolbarStyle</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkUpdateType" title="enum GtkUpdateType">GtkUpdateType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkVisibility" title="enum GtkVisibility">GtkVisibility</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkWindowPosition" title="enum GtkWindowPosition">GtkWindowPosition</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkWindowType" title="enum GtkWindowType">GtkWindowType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkSortType" title="enum GtkSortType">GtkSortType</a>;
enum <a class="link" href="gtk-Standard-Enumerations.html#GtkDragResult" title="enum GtkDragResult">GtkDragResult</a>;
</pre>
</div>
<div class="refsect1" title="Description">
<a name="gtk-Standard-Enumerations.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="gtk-Standard-Enumerations.details"></a><h2>Details</h2>
<div class="refsect2" title="enum GtkAccelFlags">
<a name="GtkAccelFlags"></a><h3>enum GtkAccelFlags</h3>
<pre class="programlisting">typedef enum
{
GTK_ACCEL_VISIBLE = 1 << 0, /* display in GtkAccelLabel? */
GTK_ACCEL_LOCKED = 1 << 1, /* is it removable? */
GTK_ACCEL_MASK = 0x07
} GtkAccelFlags;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum GtkAnchorType">
<a name="GtkAnchorType"></a><h3>enum GtkAnchorType</h3>
<pre class="programlisting">typedef enum
{
GTK_ANCHOR_CENTER,
GTK_ANCHOR_NORTH,
GTK_ANCHOR_NORTH_WEST,
GTK_ANCHOR_NORTH_EAST,
GTK_ANCHOR_SOUTH,
GTK_ANCHOR_SOUTH_WEST,
GTK_ANCHOR_SOUTH_EAST,
GTK_ANCHOR_WEST,
GTK_ANCHOR_EAST,
GTK_ANCHOR_N = GTK_ANCHOR_NORTH,
GTK_ANCHOR_NW = GTK_ANCHOR_NORTH_WEST,
GTK_ANCHOR_NE = GTK_ANCHOR_NORTH_EAST,
GTK_ANCHOR_S = GTK_ANCHOR_SOUTH,
GTK_ANCHOR_SW = GTK_ANCHOR_SOUTH_WEST,
GTK_ANCHOR_SE = GTK_ANCHOR_SOUTH_EAST,
GTK_ANCHOR_W = GTK_ANCHOR_WEST,
GTK_ANCHOR_E = GTK_ANCHOR_EAST
} GtkAnchorType;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum GtkArrowPlacement">
<a name="GtkArrowPlacement"></a><h3>enum GtkArrowPlacement</h3>
<pre class="programlisting">typedef enum
{
GTK_ARROWS_BOTH,
GTK_ARROWS_START,
GTK_ARROWS_END
} GtkArrowPlacement;
</pre>
<p>
Used to specify the placement of scroll arrows in scrolling menus.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-ARROWS-BOTH:CAPS"></a><span class="term"><code class="literal">GTK_ARROWS_BOTH</code></span></p></td>
<td>Place one arrow on each end of the menu.
</td>
</tr>
<tr>
<td><p><a name="GTK-ARROWS-START:CAPS"></a><span class="term"><code class="literal">GTK_ARROWS_START</code></span></p></td>
<td>Place both arrows at the top of the menu.
</td>
</tr>
<tr>
<td><p><a name="GTK-ARROWS-END:CAPS"></a><span class="term"><code class="literal">GTK_ARROWS_END</code></span></p></td>
<td>Place both arrows at the bottom of the menu.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkArrowType">
<a name="GtkArrowType"></a><h3>enum GtkArrowType</h3>
<pre class="programlisting">typedef enum
{
GTK_ARROW_UP,
GTK_ARROW_DOWN,
GTK_ARROW_LEFT,
GTK_ARROW_RIGHT,
GTK_ARROW_NONE
} GtkArrowType;
</pre>
<p>
Used to indicate the direction in which a <a class="link" href="GtkArrow.html" title="GtkArrow"><span class="type">GtkArrow</span></a> should point.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-ARROW-UP:CAPS"></a><span class="term"><code class="literal">GTK_ARROW_UP</code></span></p></td>
<td>Represents an upward pointing arrow.
</td>
</tr>
<tr>
<td><p><a name="GTK-ARROW-DOWN:CAPS"></a><span class="term"><code class="literal">GTK_ARROW_DOWN</code></span></p></td>
<td>Represents a downward pointing arrow.
</td>
</tr>
<tr>
<td><p><a name="GTK-ARROW-LEFT:CAPS"></a><span class="term"><code class="literal">GTK_ARROW_LEFT</code></span></p></td>
<td>Represents a left pointing arrow.
</td>
</tr>
<tr>
<td><p><a name="GTK-ARROW-RIGHT:CAPS"></a><span class="term"><code class="literal">GTK_ARROW_RIGHT</code></span></p></td>
<td>Represents a right pointing arrow.
</td>
</tr>
<tr>
<td><p><a name="GTK-ARROW-NONE:CAPS"></a><span class="term"><code class="literal">GTK_ARROW_NONE</code></span></p></td>
<td>No arrow. Since 2.10.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkAttachOptions">
<a name="GtkAttachOptions"></a><h3>enum GtkAttachOptions</h3>
<pre class="programlisting">typedef enum
{
GTK_EXPAND = 1 << 0,
GTK_SHRINK = 1 << 1,
GTK_FILL = 1 << 2
} GtkAttachOptions;
</pre>
<p>
Denotes the expansion properties that a widget will have when it (or its
parent) is resized.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-EXPAND:CAPS"></a><span class="term"><code class="literal">GTK_EXPAND</code></span></p></td>
<td>the widget should expand to take up any extra space in its
container that has been allocated.
</td>
</tr>
<tr>
<td><p><a name="GTK-SHRINK:CAPS"></a><span class="term"><code class="literal">GTK_SHRINK</code></span></p></td>
<td>the widget should shrink as and when possible.
</td>
</tr>
<tr>
<td><p><a name="GTK-FILL:CAPS"></a><span class="term"><code class="literal">GTK_FILL</code></span></p></td>
<td>the widget should fill the space allocated to it.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkButtonBoxStyle">
<a name="GtkButtonBoxStyle"></a><h3>enum GtkButtonBoxStyle</h3>
<pre class="programlisting">typedef enum
{
GTK_BUTTONBOX_DEFAULT_STYLE,
GTK_BUTTONBOX_SPREAD,
GTK_BUTTONBOX_EDGE,
GTK_BUTTONBOX_START,
GTK_BUTTONBOX_END,
GTK_BUTTONBOX_CENTER
} GtkButtonBoxStyle;
</pre>
<p>
Used to dictate the style that a <a class="link" href="GtkButtonBox.html" title="GtkButtonBox"><span class="type">GtkButtonBox</span></a> uses to layout the buttons it
contains. (See also: <a class="link" href="GtkVButtonBox.html" title="GtkVButtonBox"><span class="type">GtkVButtonBox</span></a> and <a class="link" href="GtkHButtonBox.html" title="GtkHButtonBox"><span class="type">GtkHButtonBox</span></a>).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-BUTTONBOX-DEFAULT-STYLE:CAPS"></a><span class="term"><code class="literal">GTK_BUTTONBOX_DEFAULT_STYLE</code></span></p></td>
<td>Default packing.
</td>
</tr>
<tr>
<td><p><a name="GTK-BUTTONBOX-SPREAD:CAPS"></a><span class="term"><code class="literal">GTK_BUTTONBOX_SPREAD</code></span></p></td>
<td>Buttons are evenly spread across the box.
</td>
</tr>
<tr>
<td><p><a name="GTK-BUTTONBOX-EDGE:CAPS"></a><span class="term"><code class="literal">GTK_BUTTONBOX_EDGE</code></span></p></td>
<td>Buttons are placed at the edges of the box.
</td>
</tr>
<tr>
<td><p><a name="GTK-BUTTONBOX-START:CAPS"></a><span class="term"><code class="literal">GTK_BUTTONBOX_START</code></span></p></td>
<td>Buttons are grouped towards the start of the box,
(on the left for a HBox, or the top for a VBox).
</td>
</tr>
<tr>
<td><p><a name="GTK-BUTTONBOX-END:CAPS"></a><span class="term"><code class="literal">GTK_BUTTONBOX_END</code></span></p></td>
<td>Buttons are grouped towards the end of the box,
(on the right for a HBox, or the bottom for a VBox).
</td>
</tr>
<tr>
<td><p><a name="GTK-BUTTONBOX-CENTER:CAPS"></a><span class="term"><code class="literal">GTK_BUTTONBOX_CENTER</code></span></p></td>
<td>Buttons are centered in the box. Since 2.12
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkCornerType">
<a name="GtkCornerType"></a><h3>enum GtkCornerType</h3>
<pre class="programlisting">typedef enum
{
GTK_CORNER_TOP_LEFT,
GTK_CORNER_BOTTOM_LEFT,
GTK_CORNER_TOP_RIGHT,
GTK_CORNER_BOTTOM_RIGHT
} GtkCornerType;
</pre>
<p>
Specifies which corner a child widget should be placed in when packed into
a <a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a>. This is effectively the opposite of where the scroll
bars are placed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-CORNER-TOP-LEFT:CAPS"></a><span class="term"><code class="literal">GTK_CORNER_TOP_LEFT</code></span></p></td>
<td>Place the scrollbars on the right and bottom of the
widget (default behaviour).
</td>
</tr>
<tr>
<td><p><a name="GTK-CORNER-BOTTOM-LEFT:CAPS"></a><span class="term"><code class="literal">GTK_CORNER_BOTTOM_LEFT</code></span></p></td>
<td>Place the scrollbars on the top and right of the
widget.
</td>
</tr>
<tr>
<td><p><a name="GTK-CORNER-TOP-RIGHT:CAPS"></a><span class="term"><code class="literal">GTK_CORNER_TOP_RIGHT</code></span></p></td>
<td>Place the scrollbars on the left and bottom of the
widget.
</td>
</tr>
<tr>
<td><p><a name="GTK-CORNER-BOTTOM-RIGHT:CAPS"></a><span class="term"><code class="literal">GTK_CORNER_BOTTOM_RIGHT</code></span></p></td>
<td>Place the scrollbars on the top and left of the
widget.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkCurveType">
<a name="GtkCurveType"></a><h3>enum GtkCurveType</h3>
<pre class="programlisting">typedef enum
{
GTK_CURVE_TYPE_LINEAR, /* linear interpolation */
GTK_CURVE_TYPE_SPLINE, /* spline interpolation */
GTK_CURVE_TYPE_FREE /* free form curve */
} GtkCurveType;
</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GtkCurveType</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum GtkDeleteType">
<a name="GtkDeleteType"></a><h3>enum GtkDeleteType</h3>
<pre class="programlisting">typedef enum
{
GTK_DELETE_CHARS,
GTK_DELETE_WORD_ENDS, /* delete only the portion of the word to the
* left/right of cursor if we're in the middle
* of a word */
GTK_DELETE_WORDS,
GTK_DELETE_DISPLAY_LINES,
GTK_DELETE_DISPLAY_LINE_ENDS,
GTK_DELETE_PARAGRAPH_ENDS, /* like C-k in Emacs (or its reverse) */
GTK_DELETE_PARAGRAPHS, /* C-k in pico, kill whole line */
GTK_DELETE_WHITESPACE /* M-\ in Emacs */
} GtkDeleteType;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum GtkDirectionType">
<a name="GtkDirectionType"></a><h3>enum GtkDirectionType</h3>
<pre class="programlisting">typedef enum
{
GTK_DIR_TAB_FORWARD,
GTK_DIR_TAB_BACKWARD,
GTK_DIR_UP,
GTK_DIR_DOWN,
GTK_DIR_LEFT,
GTK_DIR_RIGHT
} GtkDirectionType;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum GtkExpanderStyle">
<a name="GtkExpanderStyle"></a><h3>enum GtkExpanderStyle</h3>
<pre class="programlisting">typedef enum
{
GTK_EXPANDER_COLLAPSED,
GTK_EXPANDER_SEMI_COLLAPSED,
GTK_EXPANDER_SEMI_EXPANDED,
GTK_EXPANDER_EXPANDED
} GtkExpanderStyle;
</pre>
<p>
Used to specify the style of the expanders drawn by a <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-EXPANDER-COLLAPSED:CAPS"></a><span class="term"><code class="literal">GTK_EXPANDER_COLLAPSED</code></span></p></td>
<td>The style used for a collapsed subtree.
</td>
</tr>
<tr>
<td><p><a name="GTK-EXPANDER-SEMI-COLLAPSED:CAPS"></a><span class="term"><code class="literal">GTK_EXPANDER_SEMI_COLLAPSED</code></span></p></td>
<td>Intermediate style used during animation.
</td>
</tr>
<tr>
<td><p><a name="GTK-EXPANDER-SEMI-EXPANDED:CAPS"></a><span class="term"><code class="literal">GTK_EXPANDER_SEMI_EXPANDED</code></span></p></td>
<td>Intermediate style used during animation.
</td>
</tr>
<tr>
<td><p><a name="GTK-EXPANDER-EXPANDED:CAPS"></a><span class="term"><code class="literal">GTK_EXPANDER_EXPANDED</code></span></p></td>
<td>The style used for an expanded subtree.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkIMPreeditStyle">
<a name="GtkIMPreeditStyle"></a><h3>enum GtkIMPreeditStyle</h3>
<pre class="programlisting">typedef enum
{
GTK_IM_PREEDIT_NOTHING,
GTK_IM_PREEDIT_CALLBACK,
GTK_IM_PREEDIT_NONE
} GtkIMPreeditStyle;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum GtkIMStatusStyle">
<a name="GtkIMStatusStyle"></a><h3>enum GtkIMStatusStyle</h3>
<pre class="programlisting">typedef enum
{
GTK_IM_STATUS_NOTHING,
GTK_IM_STATUS_CALLBACK,
GTK_IM_STATUS_NONE
} GtkIMStatusStyle;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum GtkJustification">
<a name="GtkJustification"></a><h3>enum GtkJustification</h3>
<pre class="programlisting">typedef enum
{
GTK_JUSTIFY_LEFT,
GTK_JUSTIFY_RIGHT,
GTK_JUSTIFY_CENTER,
GTK_JUSTIFY_FILL
} GtkJustification;
</pre>
<p>
Used for justifying the text inside a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> widget. (See also
<a class="link" href="GtkAlignment.html" title="GtkAlignment"><span class="type">GtkAlignment</span></a>).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-JUSTIFY-LEFT:CAPS"></a><span class="term"><code class="literal">GTK_JUSTIFY_LEFT</code></span></p></td>
<td>The text is placed at the left edge of the label.
</td>
</tr>
<tr>
<td><p><a name="GTK-JUSTIFY-RIGHT:CAPS"></a><span class="term"><code class="literal">GTK_JUSTIFY_RIGHT</code></span></p></td>
<td>The text is placed at the right edge of the label.
</td>
</tr>
<tr>
<td><p><a name="GTK-JUSTIFY-CENTER:CAPS"></a><span class="term"><code class="literal">GTK_JUSTIFY_CENTER</code></span></p></td>
<td>The text is placed in the center of the label.
</td>
</tr>
<tr>
<td><p><a name="GTK-JUSTIFY-FILL:CAPS"></a><span class="term"><code class="literal">GTK_JUSTIFY_FILL</code></span></p></td>
<td>The text is placed is distributed across the label.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkMatchType">
<a name="GtkMatchType"></a><h3>enum GtkMatchType</h3>
<pre class="programlisting">typedef enum
{
GTK_MATCH_ALL, /* "*A?A*" */
GTK_MATCH_ALL_TAIL, /* "*A?AA" */
GTK_MATCH_HEAD, /* "AAAA*" */
GTK_MATCH_TAIL, /* "*AAAA" */
GTK_MATCH_EXACT, /* "AAAAA" */
GTK_MATCH_LAST
} GtkMatchType;
</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GtkMatchType</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum GtkMetricType">
<a name="GtkMetricType"></a><h3>enum GtkMetricType</h3>
<pre class="programlisting">typedef enum
{
GTK_PIXELS,
GTK_INCHES,
GTK_CENTIMETERS
} GtkMetricType;
</pre>
<p>
Used to indicate which metric is used by a <a class="link" href="GtkRuler.html" title="GtkRuler"><span class="type">GtkRuler</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-PIXELS:CAPS"></a><span class="term"><code class="literal">GTK_PIXELS</code></span></p></td>
<td>Pixels.
</td>
</tr>
<tr>
<td><p><a name="GTK-INCHES:CAPS"></a><span class="term"><code class="literal">GTK_INCHES</code></span></p></td>
<td>Inches.
</td>
</tr>
<tr>
<td><p><a name="GTK-CENTIMETERS:CAPS"></a><span class="term"><code class="literal">GTK_CENTIMETERS</code></span></p></td>
<td>Centimeters.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkMovementStep">
<a name="GtkMovementStep"></a><h3>enum GtkMovementStep</h3>
<pre class="programlisting">typedef enum
{
GTK_MOVEMENT_LOGICAL_POSITIONS, /* move by forw/back graphemes */
GTK_MOVEMENT_VISUAL_POSITIONS, /* move by left/right graphemes */
GTK_MOVEMENT_WORDS, /* move by forward/back words */
GTK_MOVEMENT_DISPLAY_LINES, /* move up/down lines (wrapped lines) */
GTK_MOVEMENT_DISPLAY_LINE_ENDS, /* move to either end of a line */
GTK_MOVEMENT_PARAGRAPHS, /* move up/down paragraphs (newline-ended lines) */
GTK_MOVEMENT_PARAGRAPH_ENDS, /* move to either end of a paragraph */
GTK_MOVEMENT_PAGES, /* move by pages */
GTK_MOVEMENT_BUFFER_ENDS, /* move to ends of the buffer */
GTK_MOVEMENT_HORIZONTAL_PAGES /* move horizontally by pages */
} GtkMovementStep;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum GtkOrientation">
<a name="GtkOrientation"></a><h3>enum GtkOrientation</h3>
<pre class="programlisting">typedef enum
{
GTK_ORIENTATION_HORIZONTAL,
GTK_ORIENTATION_VERTICAL
} GtkOrientation;
</pre>
<p>
Represents the orientation of widgets which can be switched between horizontal
and vertical orientation on the fly, like <a class="link" href="GtkToolbar.html" title="GtkToolbar"><span class="type">GtkToolbar</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-ORIENTATION-HORIZONTAL:CAPS"></a><span class="term"><code class="literal">GTK_ORIENTATION_HORIZONTAL</code></span></p></td>
<td>The widget is in horizontal orientation.
</td>
</tr>
<tr>
<td><p><a name="GTK-ORIENTATION-VERTICAL:CAPS"></a><span class="term"><code class="literal">GTK_ORIENTATION_VERTICAL</code></span></p></td>
<td>The widget is in vertical orientation.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkPackType">
<a name="GtkPackType"></a><h3>enum GtkPackType</h3>
<pre class="programlisting">typedef enum
{
GTK_PACK_START,
GTK_PACK_END
} GtkPackType;
</pre>
<p>
Represents the packing location <a class="link" href="GtkBox.html" title="GtkBox"><span class="type">GtkBox</span></a> children. (See: <a class="link" href="GtkVBox.html" title="GtkVBox"><span class="type">GtkVBox</span></a>,
<a class="link" href="GtkHBox.html" title="GtkHBox"><span class="type">GtkHBox</span></a>, and <a class="link" href="GtkButtonBox.html" title="GtkButtonBox"><span class="type">GtkButtonBox</span></a>).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-PACK-START:CAPS"></a><span class="term"><code class="literal">GTK_PACK_START</code></span></p></td>
<td>The child is packed into the start of the box
</td>
</tr>
<tr>
<td><p><a name="GTK-PACK-END:CAPS"></a><span class="term"><code class="literal">GTK_PACK_END</code></span></p></td>
<td>The child is packed into the end of the box
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkPathPriorityType">
<a name="GtkPathPriorityType"></a><h3>enum GtkPathPriorityType</h3>
<pre class="programlisting">typedef enum
{
GTK_PATH_PRIO_LOWEST = 0,
GTK_PATH_PRIO_GTK = 4,
GTK_PATH_PRIO_APPLICATION = 8,
GTK_PATH_PRIO_THEME = 10,
GTK_PATH_PRIO_RC = 12,
GTK_PATH_PRIO_HIGHEST = 15
} GtkPathPriorityType;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum GtkPathType">
<a name="GtkPathType"></a><h3>enum GtkPathType</h3>
<pre class="programlisting">typedef enum
{
GTK_PATH_WIDGET,
GTK_PATH_WIDGET_CLASS,
GTK_PATH_CLASS
} GtkPathType;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum GtkPolicyType">
<a name="GtkPolicyType"></a><h3>enum GtkPolicyType</h3>
<pre class="programlisting">typedef enum
{
GTK_POLICY_ALWAYS,
GTK_POLICY_AUTOMATIC,
GTK_POLICY_NEVER
} GtkPolicyType;
</pre>
<p>
Determines when a scroll bar will be visible.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-POLICY-ALWAYS:CAPS"></a><span class="term"><code class="literal">GTK_POLICY_ALWAYS</code></span></p></td>
<td>The scrollbar is always visible.
</td>
</tr>
<tr>
<td><p><a name="GTK-POLICY-AUTOMATIC:CAPS"></a><span class="term"><code class="literal">GTK_POLICY_AUTOMATIC</code></span></p></td>
<td>The scrollbar will appear and disappear as necessary. For example,
when all of a <a class="link" href="GtkCList.html" title="GtkCList"><span class="type">GtkCList</span></a> can not be seen.
</td>
</tr>
<tr>
<td><p><a name="GTK-POLICY-NEVER:CAPS"></a><span class="term"><code class="literal">GTK_POLICY_NEVER</code></span></p></td>
<td>The scrollbar will never appear.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkPositionType">
<a name="GtkPositionType"></a><h3>enum GtkPositionType</h3>
<pre class="programlisting">typedef enum
{
GTK_POS_LEFT,
GTK_POS_RIGHT,
GTK_POS_TOP,
GTK_POS_BOTTOM
} GtkPositionType;
</pre>
<p>
Describes which edge of a widget a certain feature is positioned at, e.g. the
tabs of a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>, the handle of a <a class="link" href="GtkHandleBox.html" title="GtkHandleBox"><span class="type">GtkHandleBox</span></a> or the label of a
<a class="link" href="GtkScale.html" title="GtkScale"><span class="type">GtkScale</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-POS-LEFT:CAPS"></a><span class="term"><code class="literal">GTK_POS_LEFT</code></span></p></td>
<td>The feature is at the left edge.
</td>
</tr>
<tr>
<td><p><a name="GTK-POS-RIGHT:CAPS"></a><span class="term"><code class="literal">GTK_POS_RIGHT</code></span></p></td>
<td>The feature is at the right edge.
</td>
</tr>
<tr>
<td><p><a name="GTK-POS-TOP:CAPS"></a><span class="term"><code class="literal">GTK_POS_TOP</code></span></p></td>
<td>The feature is at the top edge.
</td>
</tr>
<tr>
<td><p><a name="GTK-POS-BOTTOM:CAPS"></a><span class="term"><code class="literal">GTK_POS_BOTTOM</code></span></p></td>
<td>The feature is at the bottom edge.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkPreviewType">
<a name="GtkPreviewType"></a><h3>enum GtkPreviewType</h3>
<pre class="programlisting">typedef enum
{
GTK_PREVIEW_COLOR,
GTK_PREVIEW_GRAYSCALE
} GtkPreviewType;
</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GtkPreviewType</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
An enumeration which describes whether a preview
contains grayscale or red-green-blue data.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-PREVIEW-COLOR:CAPS"></a><span class="term"><code class="literal">GTK_PREVIEW_COLOR</code></span></p></td>
<td>the preview contains red-green-blue data.
</td>
</tr>
<tr>
<td><p><a name="GTK-PREVIEW-GRAYSCALE:CAPS"></a><span class="term"><code class="literal">GTK_PREVIEW_GRAYSCALE</code></span></p></td>
<td>The preview contains grayscale data.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkReliefStyle">
<a name="GtkReliefStyle"></a><h3>enum GtkReliefStyle</h3>
<pre class="programlisting">typedef enum
{
GTK_RELIEF_NORMAL,
GTK_RELIEF_HALF,
GTK_RELIEF_NONE
} GtkReliefStyle;
</pre>
<p>
Indicated the relief to be drawn around a <a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-RELIEF-NORMAL:CAPS"></a><span class="term"><code class="literal">GTK_RELIEF_NORMAL</code></span></p></td>
<td>Draw a normal relief.
</td>
</tr>
<tr>
<td><p><a name="GTK-RELIEF-HALF:CAPS"></a><span class="term"><code class="literal">GTK_RELIEF_HALF</code></span></p></td>
<td>A half relief.
</td>
</tr>
<tr>
<td><p><a name="GTK-RELIEF-NONE:CAPS"></a><span class="term"><code class="literal">GTK_RELIEF_NONE</code></span></p></td>
<td>No relief.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkResizeMode">
<a name="GtkResizeMode"></a><h3>enum GtkResizeMode</h3>
<pre class="programlisting">typedef enum
{
GTK_RESIZE_PARENT, /* Pass resize request to the parent */
GTK_RESIZE_QUEUE, /* Queue resizes on this widget */
GTK_RESIZE_IMMEDIATE /* Perform the resizes now */
} GtkResizeMode;
</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-RESIZE-PARENT:CAPS"></a><span class="term"><code class="literal">GTK_RESIZE_PARENT</code></span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><a name="GTK-RESIZE-QUEUE:CAPS"></a><span class="term"><code class="literal">GTK_RESIZE_QUEUE</code></span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><a name="GTK-RESIZE-IMMEDIATE:CAPS"></a><span class="term"><code class="literal">GTK_RESIZE_IMMEDIATE</code></span></p></td>
<td>Deprecated.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkScrollStep">
<a name="GtkScrollStep"></a><h3>enum GtkScrollStep</h3>
<pre class="programlisting">typedef enum
{
GTK_SCROLL_STEPS,
GTK_SCROLL_PAGES,
GTK_SCROLL_ENDS,
GTK_SCROLL_HORIZONTAL_STEPS,
GTK_SCROLL_HORIZONTAL_PAGES,
GTK_SCROLL_HORIZONTAL_ENDS
} GtkScrollStep;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum GtkScrollType">
<a name="GtkScrollType"></a><h3>enum GtkScrollType</h3>
<pre class="programlisting">typedef enum
{
GTK_SCROLL_NONE,
GTK_SCROLL_JUMP,
GTK_SCROLL_STEP_BACKWARD,
GTK_SCROLL_STEP_FORWARD,
GTK_SCROLL_PAGE_BACKWARD,
GTK_SCROLL_PAGE_FORWARD,
GTK_SCROLL_STEP_UP,
GTK_SCROLL_STEP_DOWN,
GTK_SCROLL_PAGE_UP,
GTK_SCROLL_PAGE_DOWN,
GTK_SCROLL_STEP_LEFT,
GTK_SCROLL_STEP_RIGHT,
GTK_SCROLL_PAGE_LEFT,
GTK_SCROLL_PAGE_RIGHT,
GTK_SCROLL_START,
GTK_SCROLL_END
} GtkScrollType;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum GtkSelectionMode">
<a name="GtkSelectionMode"></a><h3>enum GtkSelectionMode</h3>
<pre class="programlisting">typedef enum
{
GTK_SELECTION_NONE, /* Nothing can be selected */
GTK_SELECTION_SINGLE,
GTK_SELECTION_BROWSE,
GTK_SELECTION_MULTIPLE,
GTK_SELECTION_EXTENDED = GTK_SELECTION_MULTIPLE /* Deprecated */
} GtkSelectionMode;
</pre>
<p>
Used to control what selections users are allowed to make.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-SELECTION-NONE:CAPS"></a><span class="term"><code class="literal">GTK_SELECTION_NONE</code></span></p></td>
<td>No selection is possible.
</td>
</tr>
<tr>
<td><p><a name="GTK-SELECTION-SINGLE:CAPS"></a><span class="term"><code class="literal">GTK_SELECTION_SINGLE</code></span></p></td>
<td>Zero or one element may be selected.
</td>
</tr>
<tr>
<td><p><a name="GTK-SELECTION-BROWSE:CAPS"></a><span class="term"><code class="literal">GTK_SELECTION_BROWSE</code></span></p></td>
<td>Exactly one element is selected. In some circumstances,
such as initially or during a search operation, it's possible for no element
to be selected with <a class="link" href="gtk-Standard-Enumerations.html#GTK-SELECTION-BROWSE:CAPS"><code class="literal">GTK_SELECTION_BROWSE</code></a>. What is really enforced is that
the user can't deselect a currently selected element except by selecting
another element.
</td>
</tr>
<tr>
<td><p><a name="GTK-SELECTION-MULTIPLE:CAPS"></a><span class="term"><code class="literal">GTK_SELECTION_MULTIPLE</code></span></p></td>
<td>Any number of elements may be selected.
Clicks toggle the state of an item. Any number of elements may be selected.
The Ctrl key may be used to enlarge the selection, and Shift key to select
between the focus and the child pointed to. Some widgets may also allow
Click-drag to select a range of elements.
</td>
</tr>
<tr>
<td><p><a name="GTK-SELECTION-EXTENDED:CAPS"></a><span class="term"><code class="literal">GTK_SELECTION_EXTENDED</code></span></p></td>
<td>Deprecated, behaves identical to <a class="link" href="gtk-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><code class="literal">GTK_SELECTION_MULTIPLE</code></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkShadowType">
<a name="GtkShadowType"></a><h3>enum GtkShadowType</h3>
<pre class="programlisting">typedef enum
{
GTK_SHADOW_NONE,
GTK_SHADOW_IN,
GTK_SHADOW_OUT,
GTK_SHADOW_ETCHED_IN,
GTK_SHADOW_ETCHED_OUT
} GtkShadowType;
</pre>
<p>
Used to change the appearance of an outline typically provided by a <a class="link" href="GtkFrame.html" title="GtkFrame"><span class="type">GtkFrame</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-SHADOW-NONE:CAPS"></a><span class="term"><code class="literal">GTK_SHADOW_NONE</code></span></p></td>
<td>No outline.
</td>
</tr>
<tr>
<td><p><a name="GTK-SHADOW-IN:CAPS"></a><span class="term"><code class="literal">GTK_SHADOW_IN</code></span></p></td>
<td>The outline is bevelled inwards.
</td>
</tr>
<tr>
<td><p><a name="GTK-SHADOW-OUT:CAPS"></a><span class="term"><code class="literal">GTK_SHADOW_OUT</code></span></p></td>
<td>The outline is bevelled outwards like a button.
</td>
</tr>
<tr>
<td><p><a name="GTK-SHADOW-ETCHED-IN:CAPS"></a><span class="term"><code class="literal">GTK_SHADOW_ETCHED_IN</code></span></p></td>
<td>The outline has a sunken 3d appearance.
</td>
</tr>
<tr>
<td><p><a name="GTK-SHADOW-ETCHED-OUT:CAPS"></a><span class="term"><code class="literal">GTK_SHADOW_ETCHED_OUT</code></span></p></td>
<td>The outline has a raised 3d appearance
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkSideType">
<a name="GtkSideType"></a><h3>enum GtkSideType</h3>
<pre class="programlisting">typedef enum
{
GTK_SIDE_TOP,
GTK_SIDE_BOTTOM,
GTK_SIDE_LEFT,
GTK_SIDE_RIGHT
} GtkSideType;
</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GtkSideType</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum GtkStateType">
<a name="GtkStateType"></a><h3>enum GtkStateType</h3>
<pre class="programlisting">typedef enum
{
GTK_STATE_NORMAL,
GTK_STATE_ACTIVE,
GTK_STATE_PRELIGHT,
GTK_STATE_SELECTED,
GTK_STATE_INSENSITIVE
} GtkStateType;
</pre>
<p>
This type indicates the current state of a widget; the state determines how
the widget is drawn. The <a class="link" href="gtk-Standard-Enumerations.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> enumeration is also used to
identify different colors in a <a class="link" href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a> for drawing, so states can be
used for subparts of a widget as well as entire widgets.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-STATE-NORMAL:CAPS"></a><span class="term"><code class="literal">GTK_STATE_NORMAL</code></span></p></td>
<td>State during normal operation.
</td>
</tr>
<tr>
<td><p><a name="GTK-STATE-ACTIVE:CAPS"></a><span class="term"><code class="literal">GTK_STATE_ACTIVE</code></span></p></td>
<td>State of a currently active widget, such as a depressed button.
</td>
</tr>
<tr>
<td><p><a name="GTK-STATE-PRELIGHT:CAPS"></a><span class="term"><code class="literal">GTK_STATE_PRELIGHT</code></span></p></td>
<td>State indicating that the mouse pointer is over
the widget and the widget will respond to mouse clicks.
</td>
</tr>
<tr>
<td><p><a name="GTK-STATE-SELECTED:CAPS"></a><span class="term"><code class="literal">GTK_STATE_SELECTED</code></span></p></td>
<td>State of a selected item, such the selected row in a list.
</td>
</tr>
<tr>
<td><p><a name="GTK-STATE-INSENSITIVE:CAPS"></a><span class="term"><code class="literal">GTK_STATE_INSENSITIVE</code></span></p></td>
<td>State indicating that the widget is
unresponsive to user actions.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkSubmenuDirection">
<a name="GtkSubmenuDirection"></a><h3>enum GtkSubmenuDirection</h3>
<pre class="programlisting">typedef enum
{
GTK_DIRECTION_LEFT,
GTK_DIRECTION_RIGHT
} GtkSubmenuDirection;
</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GtkSubmenuDirection</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Indicates the direction a sub-menu will appear.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-DIRECTION-LEFT:CAPS"></a><span class="term"><code class="literal">GTK_DIRECTION_LEFT</code></span></p></td>
<td>A sub-menu will appear to the left of the current menu.
</td>
</tr>
<tr>
<td><p><a name="GTK-DIRECTION-RIGHT:CAPS"></a><span class="term"><code class="literal">GTK_DIRECTION_RIGHT</code></span></p></td>
<td>A sub-menu will appear to the right of the current menu.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkSubmenuPlacement">
<a name="GtkSubmenuPlacement"></a><h3>enum GtkSubmenuPlacement</h3>
<pre class="programlisting">typedef enum
{
GTK_TOP_BOTTOM,
GTK_LEFT_RIGHT
} GtkSubmenuPlacement;
</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GtkSubmenuPlacement</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum GtkToolbarStyle">
<a name="GtkToolbarStyle"></a><h3>enum GtkToolbarStyle</h3>
<pre class="programlisting">typedef enum
{
GTK_TOOLBAR_ICONS,
GTK_TOOLBAR_TEXT,
GTK_TOOLBAR_BOTH,
GTK_TOOLBAR_BOTH_HORIZ
} GtkToolbarStyle;
</pre>
<p>
Used to customize the appearance of a <a class="link" href="GtkToolbar.html" title="GtkToolbar"><span class="type">GtkToolbar</span></a>. Note that
setting the toolbar style overrides the user's preferences
for the default toolbar style. Note that if the button has only
a label set and GTK_TOOLBAR_ICONS is used, the label will be
visible, and vice versa.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-TOOLBAR-ICONS:CAPS"></a><span class="term"><code class="literal">GTK_TOOLBAR_ICONS</code></span></p></td>
<td>Buttons display only icons in the toolbar.
</td>
</tr>
<tr>
<td><p><a name="GTK-TOOLBAR-TEXT:CAPS"></a><span class="term"><code class="literal">GTK_TOOLBAR_TEXT</code></span></p></td>
<td>Buttons display only text labels in the toolbar.
</td>
</tr>
<tr>
<td><p><a name="GTK-TOOLBAR-BOTH:CAPS"></a><span class="term"><code class="literal">GTK_TOOLBAR_BOTH</code></span></p></td>
<td>Buttons display text and icons in the toolbar.
</td>
</tr>
<tr>
<td><p><a name="GTK-TOOLBAR-BOTH-HORIZ:CAPS"></a><span class="term"><code class="literal">GTK_TOOLBAR_BOTH_HORIZ</code></span></p></td>
<td>Buttons display icons and text alongside each
other, rather than vertically stacked
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkUpdateType">
<a name="GtkUpdateType"></a><h3>enum GtkUpdateType</h3>
<pre class="programlisting">typedef enum
{
GTK_UPDATE_CONTINUOUS,
GTK_UPDATE_DISCONTINUOUS,
GTK_UPDATE_DELAYED
} GtkUpdateType;
</pre>
<p>
Used by <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> to control the policy for notifying value changes.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-UPDATE-CONTINUOUS:CAPS"></a><span class="term"><code class="literal">GTK_UPDATE_CONTINUOUS</code></span></p></td>
<td>Notify updates whenever the value changed
</td>
</tr>
<tr>
<td><p><a name="GTK-UPDATE-DISCONTINUOUS:CAPS"></a><span class="term"><code class="literal">GTK_UPDATE_DISCONTINUOUS</code></span></p></td>
<td>Notify updates when the mouse button has been released
</td>
</tr>
<tr>
<td><p><a name="GTK-UPDATE-DELAYED:CAPS"></a><span class="term"><code class="literal">GTK_UPDATE_DELAYED</code></span></p></td>
<td>Space out updates with a small timeout
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkVisibility">
<a name="GtkVisibility"></a><h3>enum GtkVisibility</h3>
<pre class="programlisting">typedef enum
{
GTK_VISIBILITY_NONE,
GTK_VISIBILITY_PARTIAL,
GTK_VISIBILITY_FULL
} GtkVisibility;
</pre>
<p>
Used by <a class="link" href="GtkCList.html" title="GtkCList"><span class="type">GtkCList</span></a> and <a class="link" href="GtkCTree.html" title="GtkCTree"><span class="type">GtkCTree</span></a> to indicate whether a row is visible.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-VISIBILITY-NONE:CAPS"></a><span class="term"><code class="literal">GTK_VISIBILITY_NONE</code></span></p></td>
<td>The row is not visible.
</td>
</tr>
<tr>
<td><p><a name="GTK-VISIBILITY-PARTIAL:CAPS"></a><span class="term"><code class="literal">GTK_VISIBILITY_PARTIAL</code></span></p></td>
<td>The row is partially visible.
</td>
</tr>
<tr>
<td><p><a name="GTK-VISIBILITY-FULL:CAPS"></a><span class="term"><code class="literal">GTK_VISIBILITY_FULL</code></span></p></td>
<td>The row is fully visible.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkWindowPosition">
<a name="GtkWindowPosition"></a><h3>enum GtkWindowPosition</h3>
<pre class="programlisting">typedef enum
{
GTK_WIN_POS_NONE,
GTK_WIN_POS_CENTER,
GTK_WIN_POS_MOUSE,
GTK_WIN_POS_CENTER_ALWAYS,
GTK_WIN_POS_CENTER_ON_PARENT
} GtkWindowPosition;
</pre>
<p>
Window placement can be influenced using this enumeration. Note that
using <a class="link" href="gtk-Standard-Enumerations.html#GTK-WIN-POS-CENTER-ALWAYS:CAPS"><span class="type">GTK_WIN_POS_CENTER_ALWAYS</span></a> is almost always a bad idea.
It won't necessarily work well with all window managers or on all windowing systems.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-WIN-POS-NONE:CAPS"></a><span class="term"><code class="literal">GTK_WIN_POS_NONE</code></span></p></td>
<td>No influence is made on placement.
</td>
</tr>
<tr>
<td><p><a name="GTK-WIN-POS-CENTER:CAPS"></a><span class="term"><code class="literal">GTK_WIN_POS_CENTER</code></span></p></td>
<td>Windows should be placed in the center of the screen.
</td>
</tr>
<tr>
<td><p><a name="GTK-WIN-POS-MOUSE:CAPS"></a><span class="term"><code class="literal">GTK_WIN_POS_MOUSE</code></span></p></td>
<td>Windows should be placed at the current mouse position.
</td>
</tr>
<tr>
<td><p><a name="GTK-WIN-POS-CENTER-ALWAYS:CAPS"></a><span class="term"><code class="literal">GTK_WIN_POS_CENTER_ALWAYS</code></span></p></td>
<td>Keep window centered as it changes size, etc.
</td>
</tr>
<tr>
<td><p><a name="GTK-WIN-POS-CENTER-ON-PARENT:CAPS"></a><span class="term"><code class="literal">GTK_WIN_POS_CENTER_ON_PARENT</code></span></p></td>
<td>Center the window on its transient
parent (see <a class="link" href="GtkWindow.html#gtk-window-set-transient-for" title="gtk_window_set_transient_for ()"><code class="function">gtk_window_set_transient_for()</code></a>).
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkWindowType">
<a name="GtkWindowType"></a><h3>enum GtkWindowType</h3>
<pre class="programlisting">typedef enum
{
GTK_WINDOW_TOPLEVEL,
GTK_WINDOW_POPUP
} GtkWindowType;
</pre>
<p>
A <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> can be one of these types. Most things you'd consider a
"window" should have type <a class="link" href="gtk-Standard-Enumerations.html#GTK-WINDOW-TOPLEVEL:CAPS"><span class="type">GTK_WINDOW_TOPLEVEL</span></a>; windows with this type
are managed by the window manager and have a frame by default (call
<a class="link" href="GtkWindow.html#gtk-window-set-decorated" title="gtk_window_set_decorated ()"><code class="function">gtk_window_set_decorated()</code></a> to toggle the frame). Windows with type
<a class="link" href="gtk-Standard-Enumerations.html#GTK-WINDOW-POPUP:CAPS"><span class="type">GTK_WINDOW_POPUP</span></a> are ignored by the window manager; window manager
keybindings won't work on them, the window manager won't decorate the
window with a frame, many GTK+ features that rely on the window
manager will not work (e.g. resize grips and
maximization/minimization). <a class="link" href="gtk-Standard-Enumerations.html#GTK-WINDOW-POPUP:CAPS"><span class="type">GTK_WINDOW_POPUP</span></a> is used to implement
widgets such as <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> or tooltips that you normally don't think of
as windows per se. Nearly all windows should be <a class="link" href="gtk-Standard-Enumerations.html#GTK-WINDOW-TOPLEVEL:CAPS"><span class="type">GTK_WINDOW_TOPLEVEL</span></a>.
In particular, do not use <a class="link" href="gtk-Standard-Enumerations.html#GTK-WINDOW-POPUP:CAPS"><span class="type">GTK_WINDOW_POPUP</span></a> just to turn off
the window borders; use <a class="link" href="GtkWindow.html#gtk-window-set-decorated" title="gtk_window_set_decorated ()"><code class="function">gtk_window_set_decorated()</code></a> for that.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-WINDOW-TOPLEVEL:CAPS"></a><span class="term"><code class="literal">GTK_WINDOW_TOPLEVEL</code></span></p></td>
<td>A regular window, such as a dialog.
</td>
</tr>
<tr>
<td><p><a name="GTK-WINDOW-POPUP:CAPS"></a><span class="term"><code class="literal">GTK_WINDOW_POPUP</code></span></p></td>
<td>A special window such as a tooltip.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkSortType">
<a name="GtkSortType"></a><h3>enum GtkSortType</h3>
<pre class="programlisting">typedef enum
{
GTK_SORT_ASCENDING,
GTK_SORT_DESCENDING
} GtkSortType;
</pre>
<p>
Determines the direction of a sort.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-SORT-ASCENDING:CAPS"></a><span class="term"><code class="literal">GTK_SORT_ASCENDING</code></span></p></td>
<td>Sorting is in ascending order.
</td>
</tr>
<tr>
<td><p><a name="GTK-SORT-DESCENDING:CAPS"></a><span class="term"><code class="literal">GTK_SORT_DESCENDING</code></span></p></td>
<td>Sorting is in descending order.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkDragResult">
<a name="GtkDragResult"></a><h3>enum GtkDragResult</h3>
<pre class="programlisting">typedef enum
{
GTK_DRAG_RESULT_SUCCESS,
GTK_DRAG_RESULT_NO_TARGET,
GTK_DRAG_RESULT_USER_CANCELLED,
GTK_DRAG_RESULT_TIMEOUT_EXPIRED,
GTK_DRAG_RESULT_GRAB_BROKEN,
GTK_DRAG_RESULT_ERROR
} GtkDragResult;
</pre>
<p>
Gives an indication why a drag operation failed.
The value can by obtained by connecting to the
<a class="link" href="GtkWidget.html#GtkWidget-drag-failed" title='The "drag-failed" signal'><span class="type">"drag-failed"</span></a> signal.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-DRAG-RESULT-SUCCESS:CAPS"></a><span class="term"><code class="literal">GTK_DRAG_RESULT_SUCCESS</code></span></p></td>
<td>The drag operation was successful
</td>
</tr>
<tr>
<td><p><a name="GTK-DRAG-RESULT-NO-TARGET:CAPS"></a><span class="term"><code class="literal">GTK_DRAG_RESULT_NO_TARGET</code></span></p></td>
<td>No suitable drag target
</td>
</tr>
<tr>
<td><p><a name="GTK-DRAG-RESULT-USER-CANCELLED:CAPS"></a><span class="term"><code class="literal">GTK_DRAG_RESULT_USER_CANCELLED</code></span></p></td>
<td>The user cancelled the drag operation
</td>
</tr>
<tr>
<td><p><a name="GTK-DRAG-RESULT-TIMEOUT-EXPIRED:CAPS"></a><span class="term"><code class="literal">GTK_DRAG_RESULT_TIMEOUT_EXPIRED</code></span></p></td>
<td>The drag operation timed out
</td>
</tr>
<tr>
<td><p><a name="GTK-DRAG-RESULT-GRAB-BROKEN:CAPS"></a><span class="term"><code class="literal">GTK_DRAG_RESULT_GRAB_BROKEN</code></span></p></td>
<td>The pointer or keyboard grab used
for the drag operation was broken
</td>
</tr>
<tr>
<td><p><a name="GTK-DRAG-RESULT-ERROR:CAPS"></a><span class="term"><code class="literal">GTK_DRAG_RESULT_ERROR</code></span></p></td>
<td>The drag operation failed due to some
unspecified error
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.14</div>
</body>
</html>
|