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 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gtkmm: Atk::Text Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div class="navpath"><a class="el" href="namespaceAtk.html">Atk</a>::<a class="el" href="classAtk_1_1Text.html">Text</a>
</div>
</div>
<div class="contents">
<h1>Atk::Text Class Reference</h1><!-- doxytag: class="Atk::Text" --><!-- doxytag: inherits="Glib::Interface" -->
<p>The ATK interface implemented by components with text content. <a href="#_details">More...</a></p>
<p>Inherits <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html">Glib::Interface</a>.</p>
<p>Inherited by <a class="el" href="classAtk_1_1NoOpObject.html">Atk::NoOpObject</a>.</p>
<div class="dynheader">
Collaboration diagram for Atk::Text:</div>
<div class="dynsection">
<div class="center"><img src="classAtk_1_1Text__coll__graph.png" border="0" usemap="#Atk_1_1Text_coll__map" alt="Collaboration graph"/></div>
<map name="Atk_1_1Text_coll__map" id="Atk_1_1Text_coll__map">
<area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="13,160,117,189"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,125,112"/><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,5,119,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classAtk_1_1Text-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef AtkTextRectangle </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#aef8ed58f4c770e63c2381b543339dd15">Rectangle</a></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a9f5469a3bb53837fbe16d5c0b0e8058c">~Text</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">AtkText* </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a89fa4c5f3fdc6b59a811da1609571bdf">gobj</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a89fa4c5f3fdc6b59a811da1609571bdf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const AtkText* </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a2f3329b4e844483278abd627a141142d">gobj</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a2f3329b4e844483278abd627a141142d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a8f749c1f6dc15ffef4e27766ea66655f">get_text</a> (int start_offset, int end_offset) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the specified text. <a href="#a8f749c1f6dc15ffef4e27766ea66655f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">gunichar </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a061b8607e273fb85e84162a0a0e5b47b">get_character_at_offset</a> (int offset) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the specified text. <a href="#a061b8607e273fb85e84162a0a0e5b47b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a3850bea8df6900731de05add95c3dc36">get_text_after_offset</a> (int offset, <a class="el" href="group__atkmmEnums.html#gace98a3ea010fe92c359fa4bcd4aaea5b">TextBoundary</a> boundary_type, int& start_offset, int& end_offset) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the specified text. <a href="#a3850bea8df6900731de05add95c3dc36"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#af4a06a65abef1a65af82cc11e54adf3f">get_text_at_offset</a> (int offset, <a class="el" href="group__atkmmEnums.html#gace98a3ea010fe92c359fa4bcd4aaea5b">TextBoundary</a> boundary_type, int& start_offset, int& end_offset) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the specified text. <a href="#af4a06a65abef1a65af82cc11e54adf3f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a8472685388551749d87a43ce62982644">get_text_before_offset</a> (int offset, <a class="el" href="group__atkmmEnums.html#gace98a3ea010fe92c359fa4bcd4aaea5b">TextBoundary</a> boundary_type, int& start_offset, int& end_offset) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the specified text. <a href="#a8472685388551749d87a43ce62982644"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a10e19ea8a7bb6d5576ef69eb64db8e94">get_caret_offset</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the offset position of the caret (cursor). <a href="#a10e19ea8a7bb6d5576ef69eb64db8e94"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#abfce57bc598c220bc3de0ea9a26f11a4">get_character_extents</a> (int offset, int& x, int& y, int& width, int& height, <a class="el" href="group__atkmmEnums.html#ga6c71d0aa1d2e5c4917bafa3f12c811c2">CoordType</a> coords) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the bounding box containing the glyph representing the character at a particular text offset. <a href="#abfce57bc598c220bc3de0ea9a26f11a4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SListHandle.html">AttributeSet</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a134728ff97897f45014d383502d9cd0e">get_run_attributes</a> (int offset, int& start_offset, int& end_offset) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates an <a class="el" href="namespaceAtk.html#a8759d34cf55e51e9f1a43d0bf4a6db31">Atk::AttributeSet</a> which consists of the attributes explicitly set at the position <em>offset</em> in the text. <a href="#a134728ff97897f45014d383502d9cd0e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SListHandle.html">AttributeSet</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a48b27d8ac35f7e21a9910fe84c84cdb0">get_default_attributes</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates an <a class="el" href="namespaceAtk.html#a8759d34cf55e51e9f1a43d0bf4a6db31">Atk::AttributeSet</a> which consists of the default values of attributes for the text. <a href="#a48b27d8ac35f7e21a9910fe84c84cdb0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#af0097531b66f229867b7b8b2b49d4ddb">get_character_count</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the character count. <a href="#af0097531b66f229867b7b8b2b49d4ddb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a933eb7fc0a5a77d1b4393d711bc1719f">get_offset_at_point</a> (int x, int y, <a class="el" href="group__atkmmEnums.html#ga6c71d0aa1d2e5c4917bafa3f12c811c2">CoordType</a> coords) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the offset of the character located at coordinates <em>x</em> and <em>y</em>. <a href="#a933eb7fc0a5a77d1b4393d711bc1719f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a7027005265ad0212f25c50b53ff775e1">get_n_selections</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the number of selected regions. <a href="#a7027005265ad0212f25c50b53ff775e1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#aeee0be1f96d9368c68934e66a23921da">get_selection</a> (int selection_num, int& start_offset, int& end_offset) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the text from the specified selection. <a href="#aeee0be1f96d9368c68934e66a23921da"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#af6cb6584fa1bd0a3541a3d566a356d03">add_selection</a> (int start_offset, int end_offset)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a selection bounded by the specified offsets. <a href="#af6cb6584fa1bd0a3541a3d566a356d03"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#ac0d02f671ae48bd11f6a1c451c399ef9">remove_selection</a> (int selection_num)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Removes the specified selection. <a href="#ac0d02f671ae48bd11f6a1c451c399ef9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a7e24f7bc27300fa7312fb8742192ac65">set_selection</a> (int selection_num, int start_offset, int end_offset)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Changes the start and end offset of the specified selection. <a href="#a7e24f7bc27300fa7312fb8742192ac65"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#acbd9dd3ed20867c7665f97e4f9d521d4">set_caret_offset</a> (int offset)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the caret (cursor) position to the specified <em>offset</em>. <a href="#acbd9dd3ed20867c7665f97e4f9d521d4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#aa58bbce3c64f2c60a92c70703d310495">get_range_extents</a> (int start_offset, int end_offset, <a class="el" href="group__atkmmEnums.html#ga6c71d0aa1d2e5c4917bafa3f12c811c2">CoordType</a> coord_type, <a class="el" href="classAtk_1_1Text.html#aef8ed58f4c770e63c2381b543339dd15">Rectangle</a>& rect)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the bounding box for text within the specified range. <a href="#aa58bbce3c64f2c60a92c70703d310495"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">AtkTextRange** </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a0d547bd9d5c17d52d16addd236e7b8a2">get_bounded_ranges</a> (const <a class="el" href="classAtk_1_1Text.html#aef8ed58f4c770e63c2381b543339dd15">Rectangle</a>& rect, <a class="el" href="group__atkmmEnums.html#ga6c71d0aa1d2e5c4917bafa3f12c811c2">CoordType</a> coord_type, <a class="el" href="group__atkmmEnums.html#ga0b25ada8fc7111dfed7f6550a6874102">TextClipType</a> x_clip_type, <a class="el" href="group__atkmmEnums.html#ga0b25ada8fc7111dfed7f6550a6874102">TextClipType</a> y_clip_type)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the ranges of text in the specified bounding box. <a href="#a0d547bd9d5c17d52d16addd236e7b8a2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy2.html">Glib::SignalProxy2</a>< void, int, <br class="typebreak"/>
int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a6bf23ccafb0f5fdc2eb0f0e0a1853f16">signal_text_changed</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>< void, int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a880162a200f019a13c82ec2621d41674">signal_text_caret_moved</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>< void > </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a37f85345fddbfd3c3ce311667bdec059">signal_text_selection_changed</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>< void > </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a620cbefacaa02153ab697e2b846e8bae">signal_text_attributes_changed</a> ()</td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a60ea0ab1d7e02db112e78daead23abde">add_interface</a> (GType gtype_implementer)</td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a38446df16438186f00d2e6c185aec843">get_text_vfunc</a> (int start_offset, int end_offset) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual gunichar </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a7dc54968eec4be1da076392bf0739a58">get_character_at_offset_vfunc</a> (int offset) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#ae75ece1bc7052a9ce77ff8e39490e631">get_text_after_offset_vfunc</a> (int offset, <a class="el" href="group__atkmmEnums.html#gace98a3ea010fe92c359fa4bcd4aaea5b">TextBoundary</a> boundary_type, int& start_offset, int& end_offset) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#af28b3d2490a25f7bc9ac6458210b379f">get_text_at_offset_vfunc</a> (int offset, <a class="el" href="group__atkmmEnums.html#gace98a3ea010fe92c359fa4bcd4aaea5b">TextBoundary</a> boundary_type, int& start_offset, int& end_offset) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a12f7c5a3ebc090a9787ef48ff5b5148d">get_text_before_offset_vfunc</a> (int offset, <a class="el" href="group__atkmmEnums.html#gace98a3ea010fe92c359fa4bcd4aaea5b">TextBoundary</a> boundary_type, int& start_offset, int& end_offset) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a200e647b0bffaf009aa92349202e2613">get_caret_offset_vfunc</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a625281b9f1a45288dfd05e69d6f21197">get_character_extents_vfunc</a> (int offset, int& x, int& y, int& width, int& height, <a class="el" href="group__atkmmEnums.html#ga6c71d0aa1d2e5c4917bafa3f12c811c2">CoordType</a> coords) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual AtkAttributeSet* </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#aeedf1b3c5837028d4888143fc07b02d4">get_run_attributes_vfunc</a> (int offset, int& start_offset, int& end_offset) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual AtkAttributeSet* </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#aaee88d5014476c05c4ca911d9878fdaf">get_default_attributes_vfunc</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#af39e032a8cf76bbc05e88bbfaae4a874">get_character_count_vfunc</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a99d21f6dceb050aee0bf4786eac298a2">get_offset_at_point_vfunc</a> (int x, int y, <a class="el" href="group__atkmmEnums.html#ga6c71d0aa1d2e5c4917bafa3f12c811c2">CoordType</a> coords) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a1c62fb75eb70aad2ef535c04fedcde5b">get_n_selections_vfunc</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a170ea04bc324ae8c249dc3e43f7fe28c">get_selection_vfunc</a> (int selection_num, int& start_offset, int& end_offset) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#adcf6c2321bd73c525abccd50f4a4b24f">add_selection_vfunc</a> (int start_offset, int end_offset)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a85ee3d0a51162dbf6060f28f0c3a8fd9">remove_selection_vfunc</a> (int selection_num)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#abf5a391ed37a8f8f061ab0ae5c54f3ac">set_selection_vfunc</a> (int selection_num, int start_offset, int end_offset)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a44fd5f06d5bebd94e08ecfd0f9a316dc">set_caret_offset_vfunc</a> (int offset)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#acec053d08f490ce3c00f1279ed133ce0">on_text_changed</a> (int position, int length)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#ae5f768a698cf3ba6aadfba48a9dc9b2d">on_text_caret_moved</a> (int location)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#aaf45255b13e80d8552ed3cceee245947">on_text_selection_changed</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a28e94c8c8ff33a3a1202fbd966af96b4">on_text_attributes_changed</a> ()</td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classAtk_1_1Text.html">Atk::Text</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Text.html#a112fb37843d9647af0ca48654c59b3c4">wrap</a> (AtkText* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a112fb37843d9647af0ca48654c59b3c4"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>The ATK interface implemented by components with text content. </p>
<p>This should be implemented by Atk::Objects on behalf of widgets that have text content which is either attributed or otherwise non-trivial. Atk::Objects whose text content is simple, unattributed, and very brief may expose that content via <a class="el" href="classAtk_1_1Object.html#a13a68f38ef69b789c2007e11d284c9bf" title="Gets the accessible name of the accessible.">Atk::Object::get_name()</a> instead; however if the text is editable, multi-line, typically longer than three or four words, attributed, selectable, or if the object already uses the 'name' ATK property for other information, this <a class="el" href="classAtk_1_1Text.html" title="The ATK interface implemented by components with text content.">Text</a> interface should be used to expose the text content. In the case of editable text content, <a class="el" href="classAtk_1_1EditableText.html">Atk::EditableText</a> (a subtype of the <a class="el" href="classAtk_1_1Text.html" title="The ATK interface implemented by components with text content.">Atk::Text</a> interface) should be implemented instead.</p>
<p><a class="el" href="classAtk_1_1Text.html" title="The ATK interface implemented by components with text content.">Atk::Text</a> provides not only traversal facilities and change notification for text content, but also caret tracking and glyph bounding box calculations. Note that the text strings are exposed as UTF-8, and are therefore potentially multi-byte, and caret-to-byte offset mapping makes no assumptions about the character length; also bounding box glyph-to-offset mapping may be complex for languages which use ligatures. </p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="aef8ed58f4c770e63c2381b543339dd15"></a><!-- doxytag: member="Atk::Text::Rectangle" ref="aef8ed58f4c770e63c2381b543339dd15" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef AtkTextRectangle <a class="el" href="classAtk_1_1Text.html#aef8ed58f4c770e63c2381b543339dd15">Atk::Text::Rectangle</a></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="a9f5469a3bb53837fbe16d5c0b0e8058c"></a><!-- doxytag: member="Atk::Text::~Text" ref="a9f5469a3bb53837fbe16d5c0b0e8058c" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual Atk::Text::~Text </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a60ea0ab1d7e02db112e78daead23abde"></a><!-- doxytag: member="Atk::Text::add_interface" ref="a60ea0ab1d7e02db112e78daead23abde" args="(GType gtype_implementer)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static void Atk::Text::add_interface </td>
<td>(</td>
<td class="paramtype">GType </td>
<td class="paramname"> <em>gtype_implementer</em></td>
<td> ) </td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="af6cb6584fa1bd0a3541a3d566a356d03"></a><!-- doxytag: member="Atk::Text::add_selection" ref="af6cb6584fa1bd0a3541a3d566a356d03" args="(int start_offset, int end_offset)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Atk::Text::add_selection </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>start_offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>end_offset</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Adds a selection bounded by the specified offsets. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>start_offset</em> </td><td>The start position of the selected region. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>end_offset</em> </td><td>The offset of the first character after the selected region. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if success, <code>false</code> otherwise. </dd></dl>
</div>
</div>
<a class="anchor" id="adcf6c2321bd73c525abccd50f4a4b24f"></a><!-- doxytag: member="Atk::Text::add_selection_vfunc" ref="adcf6c2321bd73c525abccd50f4a4b24f" args="(int start_offset, int end_offset)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool Atk::Text::add_selection_vfunc </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>start_offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>end_offset</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a0d547bd9d5c17d52d16addd236e7b8a2"></a><!-- doxytag: member="Atk::Text::get_bounded_ranges" ref="a0d547bd9d5c17d52d16addd236e7b8a2" args="(const Rectangle &rect, CoordType coord_type, TextClipType x_clip_type, TextClipType y_clip_type)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">AtkTextRange** Atk::Text::get_bounded_ranges </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classAtk_1_1Text.html#aef8ed58f4c770e63c2381b543339dd15">Rectangle</a>& </td>
<td class="paramname"> <em>rect</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__atkmmEnums.html#ga6c71d0aa1d2e5c4917bafa3f12c811c2">CoordType</a> </td>
<td class="paramname"> <em>coord_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__atkmmEnums.html#ga0b25ada8fc7111dfed7f6550a6874102">TextClipType</a> </td>
<td class="paramname"> <em>x_clip_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__atkmmEnums.html#ga0b25ada8fc7111dfed7f6550a6874102">TextClipType</a> </td>
<td class="paramname"> <em>y_clip_type</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the ranges of text in the specified bounding box. </p>
<dl class="since_1_3"><dt><b><a class="el" href="since_1_3.html#_since_1_3000002">Since gtkmm 1.3:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>rect</em> </td><td>An AtkTextRectagle giving the dimensions of the bounding box. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>coord_type</em> </td><td>Specify whether coordinates are relative to the screen or widget window. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>x_clip_type</em> </td><td>Specify the horizontal clip type. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y_clip_type</em> </td><td>Specify the vertical clip type. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Array of AtkTextRange. The last element of the array returned by this function will be <code>0</code>. </dd></dl>
</div>
</div>
<a class="anchor" id="a10e19ea8a7bb6d5576ef69eb64db8e94"></a><!-- doxytag: member="Atk::Text::get_caret_offset" ref="a10e19ea8a7bb6d5576ef69eb64db8e94" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Atk::Text::get_caret_offset </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the offset position of the caret (cursor). </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The offset position of the caret (cursor). </dd></dl>
</div>
</div>
<a class="anchor" id="a200e647b0bffaf009aa92349202e2613"></a><!-- doxytag: member="Atk::Text::get_caret_offset_vfunc" ref="a200e647b0bffaf009aa92349202e2613" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual int Atk::Text::get_caret_offset_vfunc </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const<code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a061b8607e273fb85e84162a0a0e5b47b"></a><!-- doxytag: member="Atk::Text::get_character_at_offset" ref="a061b8607e273fb85e84162a0a0e5b47b" args="(int offset) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">gunichar Atk::Text::get_character_at_offset </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>offset</em></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the specified text. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>offset</em> </td><td>Position. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The character at <em>offset</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="a7dc54968eec4be1da076392bf0739a58"></a><!-- doxytag: member="Atk::Text::get_character_at_offset_vfunc" ref="a7dc54968eec4be1da076392bf0739a58" args="(int offset) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual gunichar Atk::Text::get_character_at_offset_vfunc </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>offset</em></td>
<td> ) </td>
<td> const<code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="af0097531b66f229867b7b8b2b49d4ddb"></a><!-- doxytag: member="Atk::Text::get_character_count" ref="af0097531b66f229867b7b8b2b49d4ddb" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Atk::Text::get_character_count </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the character count. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of characters. </dd></dl>
</div>
</div>
<a class="anchor" id="af39e032a8cf76bbc05e88bbfaae4a874"></a><!-- doxytag: member="Atk::Text::get_character_count_vfunc" ref="af39e032a8cf76bbc05e88bbfaae4a874" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual int Atk::Text::get_character_count_vfunc </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const<code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="abfce57bc598c220bc3de0ea9a26f11a4"></a><!-- doxytag: member="Atk::Text::get_character_extents" ref="abfce57bc598c220bc3de0ea9a26f11a4" args="(int offset, int &x, int &y, int &width, int &height, CoordType coords) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Atk::Text::get_character_extents </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__atkmmEnums.html#ga6c71d0aa1d2e5c4917bafa3f12c811c2">CoordType</a> </td>
<td class="paramname"> <em>coords</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the bounding box containing the glyph representing the character at a particular text offset. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>offset</em> </td><td>The offset of the text character for which bounding information is required. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>Pointer for the x cordinate of the bounding box. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>Pointer for the y cordinate of the bounding box. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>width</em> </td><td>Pointer for the width of the bounding box. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>height</em> </td><td>Pointer for the height of the bounding box. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>coords</em> </td><td>Specify whether coordinates are relative to the screen or widget window. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a625281b9f1a45288dfd05e69d6f21197"></a><!-- doxytag: member="Atk::Text::get_character_extents_vfunc" ref="a625281b9f1a45288dfd05e69d6f21197" args="(int offset, int &x, int &y, int &width, int &height, CoordType coords) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Atk::Text::get_character_extents_vfunc </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__atkmmEnums.html#ga6c71d0aa1d2e5c4917bafa3f12c811c2">CoordType</a> </td>
<td class="paramname"> <em>coords</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a48b27d8ac35f7e21a9910fe84c84cdb0"></a><!-- doxytag: member="Atk::Text::get_default_attributes" ref="a48b27d8ac35f7e21a9910fe84c84cdb0" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SListHandle.html">AttributeSet</a> Atk::Text::get_default_attributes </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Creates an <a class="el" href="namespaceAtk.html#a8759d34cf55e51e9f1a43d0bf4a6db31">Atk::AttributeSet</a> which consists of the default values of attributes for the text. </p>
<p>See the enum AtkTextAttribute for types of text attributes that can be returned. Note that other attributes may also be returned. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>An <a class="el" href="namespaceAtk.html#a8759d34cf55e51e9f1a43d0bf4a6db31">Atk::AttributeSet</a> which contains the default values of attributes. at <em>offset</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="aaee88d5014476c05c4ca911d9878fdaf"></a><!-- doxytag: member="Atk::Text::get_default_attributes_vfunc" ref="aaee88d5014476c05c4ca911d9878fdaf" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual AtkAttributeSet* Atk::Text::get_default_attributes_vfunc </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const<code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a7027005265ad0212f25c50b53ff775e1"></a><!-- doxytag: member="Atk::Text::get_n_selections" ref="a7027005265ad0212f25c50b53ff775e1" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Atk::Text::get_n_selections </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the number of selected regions. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of selected regions, or -1 if a failure occurred. </dd></dl>
</div>
</div>
<a class="anchor" id="a1c62fb75eb70aad2ef535c04fedcde5b"></a><!-- doxytag: member="Atk::Text::get_n_selections_vfunc" ref="a1c62fb75eb70aad2ef535c04fedcde5b" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual int Atk::Text::get_n_selections_vfunc </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const<code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a933eb7fc0a5a77d1b4393d711bc1719f"></a><!-- doxytag: member="Atk::Text::get_offset_at_point" ref="a933eb7fc0a5a77d1b4393d711bc1719f" args="(int x, int y, CoordType coords) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Atk::Text::get_offset_at_point </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__atkmmEnums.html#ga6c71d0aa1d2e5c4917bafa3f12c811c2">CoordType</a> </td>
<td class="paramname"> <em>coords</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the offset of the character located at coordinates <em>x</em> and <em>y</em>. </p>
<p><em>x</em> and <em>y</em> are interpreted as being relative to the screen or this widget's window depending on <em>coords</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>Screen x-position of character. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>Screen y-position of character. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>coords</em> </td><td>Specify whether coordinates are relative to the screen or widget window. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The offset to the character which is located at the specified <em>x</em> and <em>y</em> coordinates. </dd></dl>
</div>
</div>
<a class="anchor" id="a99d21f6dceb050aee0bf4786eac298a2"></a><!-- doxytag: member="Atk::Text::get_offset_at_point_vfunc" ref="a99d21f6dceb050aee0bf4786eac298a2" args="(int x, int y, CoordType coords) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual int Atk::Text::get_offset_at_point_vfunc </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__atkmmEnums.html#ga6c71d0aa1d2e5c4917bafa3f12c811c2">CoordType</a> </td>
<td class="paramname"> <em>coords</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="aa58bbce3c64f2c60a92c70703d310495"></a><!-- doxytag: member="Atk::Text::get_range_extents" ref="aa58bbce3c64f2c60a92c70703d310495" args="(int start_offset, int end_offset, CoordType coord_type, Rectangle &rect)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Atk::Text::get_range_extents </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>start_offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>end_offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__atkmmEnums.html#ga6c71d0aa1d2e5c4917bafa3f12c811c2">CoordType</a> </td>
<td class="paramname"> <em>coord_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classAtk_1_1Text.html#aef8ed58f4c770e63c2381b543339dd15">Rectangle</a>& </td>
<td class="paramname"> <em>rect</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the bounding box for text within the specified range. </p>
<dl class="since_1_3"><dt><b><a class="el" href="since_1_3.html#_since_1_3000001">Since gtkmm 1.3:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>start_offset</em> </td><td>The offset of the first text character for which boundary information is required. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>end_offset</em> </td><td>The offset of the text character after the last character for which boundary information is required. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>coord_type</em> </td><td>Specify whether coordinates are relative to the screen or widget window. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>rect</em> </td><td>A pointer to a AtkTextRectangle which is filled in by this function. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a134728ff97897f45014d383502d9cd0e"></a><!-- doxytag: member="Atk::Text::get_run_attributes" ref="a134728ff97897f45014d383502d9cd0e" args="(int offset, int &start_offset, int &end_offset) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SListHandle.html">AttributeSet</a> Atk::Text::get_run_attributes </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>start_offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>end_offset</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Creates an <a class="el" href="namespaceAtk.html#a8759d34cf55e51e9f1a43d0bf4a6db31">Atk::AttributeSet</a> which consists of the attributes explicitly set at the position <em>offset</em> in the text. </p>
<p><em>start_offset</em> and <em>end_offset</em> are set to the start and end of the range around <em>offset</em> where the attributes are invariant. See the enum AtkTextAttribute for types of text attributes that can be returned. Note that other attributes may also be returned. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>offset</em> </td><td>The offset at which to get the attributes. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>start_offset</em> </td><td>The address to put the start offset of the range. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>end_offset</em> </td><td>The address to put the end offset of the range. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>An <a class="el" href="namespaceAtk.html#a8759d34cf55e51e9f1a43d0bf4a6db31">Atk::AttributeSet</a> which contains the attributes explicitly set at <em>offset</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="aeedf1b3c5837028d4888143fc07b02d4"></a><!-- doxytag: member="Atk::Text::get_run_attributes_vfunc" ref="aeedf1b3c5837028d4888143fc07b02d4" args="(int offset, int &start_offset, int &end_offset) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual AtkAttributeSet* Atk::Text::get_run_attributes_vfunc </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>start_offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>end_offset</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="aeee0be1f96d9368c68934e66a23921da"></a><!-- doxytag: member="Atk::Text::get_selection" ref="aeee0be1f96d9368c68934e66a23921da" args="(int selection_num, int &start_offset, int &end_offset) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Atk::Text::get_selection </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>selection_num</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>start_offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>end_offset</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the text from the specified selection. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>selection_num</em> </td><td>The selection number. The selected regions are assigned numbers that correspond to how far the region is from the start of the text. The selected region closest to the beginning of the text region is assigned the number 0, etc. Note that adding, moving or deleting a selected region can change the numbering. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>start_offset</em> </td><td>Passes back the start position of the selected region. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>end_offset</em> </td><td>Passes back the end position of (e.g. offset immediately past) the selected region. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The selected text. </dd></dl>
</div>
</div>
<a class="anchor" id="a170ea04bc324ae8c249dc3e43f7fe28c"></a><!-- doxytag: member="Atk::Text::get_selection_vfunc" ref="a170ea04bc324ae8c249dc3e43f7fe28c" args="(int selection_num, int &start_offset, int &end_offset) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Atk::Text::get_selection_vfunc </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>selection_num</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>start_offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>end_offset</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a8f749c1f6dc15ffef4e27766ea66655f"></a><!-- doxytag: member="Atk::Text::get_text" ref="a8f749c1f6dc15ffef4e27766ea66655f" args="(int start_offset, int end_offset) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Atk::Text::get_text </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>start_offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>end_offset</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the specified text. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>start_offset</em> </td><td>Start position. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>end_offset</em> </td><td>End position. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The text from <em>start_offset</em> up to, but not including <em>end_offset</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="a3850bea8df6900731de05add95c3dc36"></a><!-- doxytag: member="Atk::Text::get_text_after_offset" ref="a3850bea8df6900731de05add95c3dc36" args="(int offset, TextBoundary boundary_type, int &start_offset, int &end_offset) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Atk::Text::get_text_after_offset </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__atkmmEnums.html#gace98a3ea010fe92c359fa4bcd4aaea5b">TextBoundary</a> </td>
<td class="paramname"> <em>boundary_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>start_offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>end_offset</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the specified text. </p>
<p>If the boundary_type if ATK_TEXT_BOUNDARY_CHAR the character after the offset is returned.</p>
<p>If the boundary_type is ATK_TEXT_BOUNDARY_WORD_START the returned string is from the word start after the offset to the next word start.</p>
<p>The returned string will contain the word after the offset if the offset is inside a word or if the offset is not inside a word.</p>
<p>If the boundary_type is ATK_TEXT_BOUNDARY_WORD_END the returned string is from the word end at or after the offset to the next work end.</p>
<p>The returned string will contain the word after the offset if the offset is inside a word and will contain the word after the word after the offset if the offset is not inside a word.</p>
<p>If the boundary type is ATK_TEXT_BOUNDARY_SENTENCE_START the returned string is from the sentence start after the offset to the next sentence start.</p>
<p>The returned string will contain the sentence after the offset if the offset is inside a sentence or if the offset is not inside a sentence.</p>
<p>If the boundary_type is ATK_TEXT_BOUNDARY_SENTENCE_END the returned string is from the sentence end at or after the offset to the next sentence end.</p>
<p>The returned string will contain the sentence after the offset if the offset is inside a sentence and will contain the sentence after the sentence after the offset if the offset is not inside a sentence.</p>
<p>If the boundary type is ATK_TEXT_BOUNDARY_LINE_START the returned string is from the line start after the offset to the next line start.</p>
<p>If the boundary_type is ATK_TEXT_BOUNDARY_LINE_END the returned string is from the line end at or after the offset to the next line start. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>offset</em> </td><td>Position. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>boundary_type</em> </td><td>An <a class="el" href="group__atkmmEnums.html#gace98a3ea010fe92c359fa4bcd4aaea5b">Atk::TextBoundary</a>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>start_offset</em> </td><td>The start offset of the returned string. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>end_offset</em> </td><td>The offset of the first character after the returned substring. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The text after <em>offset</em> bounded by the specified <em>boundary_type</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="ae75ece1bc7052a9ce77ff8e39490e631"></a><!-- doxytag: member="Atk::Text::get_text_after_offset_vfunc" ref="ae75ece1bc7052a9ce77ff8e39490e631" args="(int offset, TextBoundary boundary_type, int &start_offset, int &end_offset) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Atk::Text::get_text_after_offset_vfunc </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__atkmmEnums.html#gace98a3ea010fe92c359fa4bcd4aaea5b">TextBoundary</a> </td>
<td class="paramname"> <em>boundary_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>start_offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>end_offset</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="af4a06a65abef1a65af82cc11e54adf3f"></a><!-- doxytag: member="Atk::Text::get_text_at_offset" ref="af4a06a65abef1a65af82cc11e54adf3f" args="(int offset, TextBoundary boundary_type, int &start_offset, int &end_offset) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Atk::Text::get_text_at_offset </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__atkmmEnums.html#gace98a3ea010fe92c359fa4bcd4aaea5b">TextBoundary</a> </td>
<td class="paramname"> <em>boundary_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>start_offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>end_offset</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the specified text. </p>
<p>If the boundary_type if ATK_TEXT_BOUNDARY_CHAR the character at the offset is returned.</p>
<p>If the boundary_type is ATK_TEXT_BOUNDARY_WORD_START the returned string is from the word start at or before the offset to the word start after the offset.</p>
<p>The returned string will contain the word at the offset if the offset is inside a word and will contain the word before the offset if the offset is not inside a word.</p>
<p>If the boundary_type is ATK_TEXT_BOUNDARY_WORD_END the returned string is from the word end before the offset to the word end at or after the offset.</p>
<p>The returned string will contain the word at the offset if the offset is inside a word and will contain the word after to the offset if the offset is not inside a word.</p>
<p>If the boundary type is ATK_TEXT_BOUNDARY_SENTENCE_START the returned string is from the sentence start at or before the offset to the sentence start after the offset.</p>
<p>The returned string will contain the sentence at the offset if the offset is inside a sentence and will contain the sentence before the offset if the offset is not inside a sentence.</p>
<p>If the boundary_type is ATK_TEXT_BOUNDARY_SENTENCE_END the returned string is from the sentence end before the offset to the sentence end at or after the offset.</p>
<p>The returned string will contain the sentence at the offset if the offset is inside a sentence and will contain the sentence after the offset if the offset is not inside a sentence.</p>
<p>If the boundary type is ATK_TEXT_BOUNDARY_LINE_START the returned string is from the line start at or before the offset to the line start after the offset.</p>
<p>If the boundary_type is ATK_TEXT_BOUNDARY_LINE_END the returned string is from the line end before the offset to the line end at or after the offset. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>offset</em> </td><td>Position. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>boundary_type</em> </td><td>An <a class="el" href="group__atkmmEnums.html#gace98a3ea010fe92c359fa4bcd4aaea5b">Atk::TextBoundary</a>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>start_offset</em> </td><td>The start offset of the returned string. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>end_offset</em> </td><td>The offset of the first character after the returned substring. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The text at <em>offset</em> bounded by the specified <em>boundary_type</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="af28b3d2490a25f7bc9ac6458210b379f"></a><!-- doxytag: member="Atk::Text::get_text_at_offset_vfunc" ref="af28b3d2490a25f7bc9ac6458210b379f" args="(int offset, TextBoundary boundary_type, int &start_offset, int &end_offset) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Atk::Text::get_text_at_offset_vfunc </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__atkmmEnums.html#gace98a3ea010fe92c359fa4bcd4aaea5b">TextBoundary</a> </td>
<td class="paramname"> <em>boundary_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>start_offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>end_offset</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a8472685388551749d87a43ce62982644"></a><!-- doxytag: member="Atk::Text::get_text_before_offset" ref="a8472685388551749d87a43ce62982644" args="(int offset, TextBoundary boundary_type, int &start_offset, int &end_offset) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Atk::Text::get_text_before_offset </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__atkmmEnums.html#gace98a3ea010fe92c359fa4bcd4aaea5b">TextBoundary</a> </td>
<td class="paramname"> <em>boundary_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>start_offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>end_offset</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the specified text. </p>
<p>If the boundary_type if ATK_TEXT_BOUNDARY_CHAR the character before the offset is returned.</p>
<p>If the boundary_type is ATK_TEXT_BOUNDARY_WORD_START the returned string is from the word start before the word start before the offset to the word start before the offset.</p>
<p>The returned string will contain the word before the offset if the offset is inside a word and will contain the word before the word before the offset if the offset is not inside a word.</p>
<p>If the boundary_type is ATK_TEXT_BOUNDARY_WORD_END the returned string is from the word end before the word end at or before the offset to the word end at or before the offset.</p>
<p>The returned string will contain the word before the offset if the offset is inside a word or if the offset is not inside a word.</p>
<p>If the boundary type is ATK_TEXT_BOUNDARY_SENTENCE_START the returned string is from the sentence start before the sentence start before the offset to the sentence start before the offset.</p>
<p>The returned string will contain the sentence before the offset if the offset is inside a sentence and will contain the sentence before the sentence before the offset if the offset is not inside a sentence.</p>
<p>If the boundary_type is ATK_TEXT_BOUNDARY_SENTENCE_END the returned string is from the sentence end before the sentence end at or before the offset to the sentence end at or before the offset.</p>
<p>The returned string will contain the sentence before the offset if the offset is inside a sentence or if the offset is not inside a sentence.</p>
<p>If the boundary type is ATK_TEXT_BOUNDARY_LINE_START the returned string is from the line start before the line start ar or before the offset to the line start ar or before the offset.</p>
<p>If the boundary_type is ATK_TEXT_BOUNDARY_LINE_END the returned string is from the line end before the line end before the offset to the line end before the offset. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>offset</em> </td><td>Position. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>boundary_type</em> </td><td>An <a class="el" href="group__atkmmEnums.html#gace98a3ea010fe92c359fa4bcd4aaea5b">Atk::TextBoundary</a>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>start_offset</em> </td><td>The start offset of the returned string. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>end_offset</em> </td><td>The offset of the first character after the returned substring. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The text before <em>offset</em> bounded by the specified <em>boundary_type</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="a12f7c5a3ebc090a9787ef48ff5b5148d"></a><!-- doxytag: member="Atk::Text::get_text_before_offset_vfunc" ref="a12f7c5a3ebc090a9787ef48ff5b5148d" args="(int offset, TextBoundary boundary_type, int &start_offset, int &end_offset) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Atk::Text::get_text_before_offset_vfunc </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__atkmmEnums.html#gace98a3ea010fe92c359fa4bcd4aaea5b">TextBoundary</a> </td>
<td class="paramname"> <em>boundary_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>start_offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>end_offset</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a38446df16438186f00d2e6c185aec843"></a><!-- doxytag: member="Atk::Text::get_text_vfunc" ref="a38446df16438186f00d2e6c185aec843" args="(int start_offset, int end_offset) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Atk::Text::get_text_vfunc </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>start_offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>end_offset</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a2f3329b4e844483278abd627a141142d"></a><!-- doxytag: member="Atk::Text::gobj" ref="a2f3329b4e844483278abd627a141142d" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const AtkText* Atk::Text::gobj </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Provides access to the underlying C GObject. </p>
<p>Reimplemented from <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html#a70a443071a69d3372c2cdd7128a91ed1">Glib::Interface</a>.</p>
<p>Reimplemented in <a class="el" href="classAtk_1_1NoOpObject.html#af54be60c4815bde603b886cbb876baea">Atk::NoOpObject</a>.</p>
</div>
</div>
<a class="anchor" id="a89fa4c5f3fdc6b59a811da1609571bdf"></a><!-- doxytag: member="Atk::Text::gobj" ref="a89fa4c5f3fdc6b59a811da1609571bdf" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">AtkText* Atk::Text::gobj </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Provides access to the underlying C GObject. </p>
<p>Reimplemented from <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html#a969e9396f75132a9577428f4fa932d42">Glib::Interface</a>.</p>
<p>Reimplemented in <a class="el" href="classAtk_1_1NoOpObject.html#aaad07a3a8ce4dea968c53f0098498836">Atk::NoOpObject</a>.</p>
</div>
</div>
<a class="anchor" id="a28e94c8c8ff33a3a1202fbd966af96b4"></a><!-- doxytag: member="Atk::Text::on_text_attributes_changed" ref="a28e94c8c8ff33a3a1202fbd966af96b4" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Atk::Text::on_text_attributes_changed </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ae5f768a698cf3ba6aadfba48a9dc9b2d"></a><!-- doxytag: member="Atk::Text::on_text_caret_moved" ref="ae5f768a698cf3ba6aadfba48a9dc9b2d" args="(int location)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Atk::Text::on_text_caret_moved </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>location</em></td>
<td> ) </td>
<td><code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="acec053d08f490ce3c00f1279ed133ce0"></a><!-- doxytag: member="Atk::Text::on_text_changed" ref="acec053d08f490ce3c00f1279ed133ce0" args="(int position, int length)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Atk::Text::on_text_changed </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>position</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>length</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="aaf45255b13e80d8552ed3cceee245947"></a><!-- doxytag: member="Atk::Text::on_text_selection_changed" ref="aaf45255b13e80d8552ed3cceee245947" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void Atk::Text::on_text_selection_changed </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ac0d02f671ae48bd11f6a1c451c399ef9"></a><!-- doxytag: member="Atk::Text::remove_selection" ref="ac0d02f671ae48bd11f6a1c451c399ef9" args="(int selection_num)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Atk::Text::remove_selection </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>selection_num</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Removes the specified selection. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>selection_num</em> </td><td>The selection number. The selected regions are assigned numbers that correspond to how far the region is from the start of the text. The selected region closest to the beginning of the text region is assigned the number 0, etc. Note that adding, moving or deleting a selected region can change the numbering. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if success, <code>false</code> otherwise. </dd></dl>
</div>
</div>
<a class="anchor" id="a85ee3d0a51162dbf6060f28f0c3a8fd9"></a><!-- doxytag: member="Atk::Text::remove_selection_vfunc" ref="a85ee3d0a51162dbf6060f28f0c3a8fd9" args="(int selection_num)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool Atk::Text::remove_selection_vfunc </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>selection_num</em></td>
<td> ) </td>
<td><code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="acbd9dd3ed20867c7665f97e4f9d521d4"></a><!-- doxytag: member="Atk::Text::set_caret_offset" ref="acbd9dd3ed20867c7665f97e4f9d521d4" args="(int offset)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Atk::Text::set_caret_offset </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>offset</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the caret (cursor) position to the specified <em>offset</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>offset</em> </td><td>Position. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if success, <code>false</code> otherwise. </dd></dl>
</div>
</div>
<a class="anchor" id="a44fd5f06d5bebd94e08ecfd0f9a316dc"></a><!-- doxytag: member="Atk::Text::set_caret_offset_vfunc" ref="a44fd5f06d5bebd94e08ecfd0f9a316dc" args="(int offset)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool Atk::Text::set_caret_offset_vfunc </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>offset</em></td>
<td> ) </td>
<td><code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a7e24f7bc27300fa7312fb8742192ac65"></a><!-- doxytag: member="Atk::Text::set_selection" ref="a7e24f7bc27300fa7312fb8742192ac65" args="(int selection_num, int start_offset, int end_offset)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Atk::Text::set_selection </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>selection_num</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>start_offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>end_offset</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Changes the start and end offset of the specified selection. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>selection_num</em> </td><td>The selection number. The selected regions are assigned numbers that correspond to how far the region is from the start of the text. The selected region closest to the beginning of the text region is assigned the number 0, etc. Note that adding, moving or deleting a selected region can change the numbering. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>start_offset</em> </td><td>The new start position of the selection. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>end_offset</em> </td><td>The new end position of (e.g. offset immediately past) the selection. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if success, <code>false</code> otherwise. </dd></dl>
</div>
</div>
<a class="anchor" id="abf5a391ed37a8f8f061ab0ae5c54f3ac"></a><!-- doxytag: member="Atk::Text::set_selection_vfunc" ref="abf5a391ed37a8f8f061ab0ae5c54f3ac" args="(int selection_num, int start_offset, int end_offset)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool Atk::Text::set_selection_vfunc </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>selection_num</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>start_offset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>end_offset</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a620cbefacaa02153ab697e2b846e8bae"></a><!-- doxytag: member="Atk::Text::signal_text_attributes_changed" ref="a620cbefacaa02153ab697e2b846e8bae" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>< void > Atk::Text::signal_text_attributes_changed </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_text_attributes_changed()</code> </dd></dl>
</div>
</div>
<a class="anchor" id="a880162a200f019a13c82ec2621d41674"></a><!-- doxytag: member="Atk::Text::signal_text_caret_moved" ref="a880162a200f019a13c82ec2621d41674" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>< void,int > Atk::Text::signal_text_caret_moved </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_text_caret_moved(int location)</code> </dd></dl>
</div>
</div>
<a class="anchor" id="a6bf23ccafb0f5fdc2eb0f0e0a1853f16"></a><!-- doxytag: member="Atk::Text::signal_text_changed" ref="a6bf23ccafb0f5fdc2eb0f0e0a1853f16" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy2.html">Glib::SignalProxy2</a>< void,int,int > Atk::Text::signal_text_changed </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_text_changed(int position, int length)</code> </dd></dl>
</div>
</div>
<a class="anchor" id="a37f85345fddbfd3c3ce311667bdec059"></a><!-- doxytag: member="Atk::Text::signal_text_selection_changed" ref="a37f85345fddbfd3c3ce311667bdec059" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>< void > Atk::Text::signal_text_selection_changed </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_text_selection_changed()</code> </dd></dl>
</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a112fb37843d9647af0ca48654c59b3c4"></a><!-- doxytag: member="Atk::Text::wrap" ref="a112fb37843d9647af0ca48654c59b3c4" args="(AtkText *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classAtk_1_1Text.html">Atk::Text</a> > wrap </td>
<td>(</td>
<td class="paramtype">AtkText * </td>
<td class="paramname"> <em>object</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>take_copy</em> = <code>false</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [related]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The C instance. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>take_copy</em> </td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>atkmm/text.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:43 2010 for gtkmm by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>
|