/usr/include/elementary-1/elm_widget.h is in libelementary-dev 1.8.5-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 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 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 | #ifndef ELM_WIDGET_H
#define ELM_WIDGET_H
/* DO NOT USE THIS HEADER UNLESS YOU ARE PREPARED FOR BREAKING OF YOUR
* CODE. THIS IS ELEMENTARY'S INTERNAL WIDGET API (for now) AND IS NOT
* FINAL. CALL elm_widget_api_check(ELM_INTERNAL_API_VERSION) TO CHECK
* IT AT RUNTIME.
*
* How to make your own widget? like this (where wname is your widget
* name (space) and wparentname is you widget's parent widget name
* (the base widget class if its a 'root' one).
*
* #include <Elementary.h>
* #include "elm_priv.h"
*
* static const char ELM_WNAME_SMART_NAME[] = "elm_wname";
*
* #define ELM_WNAME_DATA_GET(o, sd) \
* Elm_WName_Smart_Data * sd = evas_object_smart_data_get(o)
*
* #define ELM_WNAME_CHECK(obj) \
* if (!obj || !elm_widget_type_check((obj), ELM_WNAME_SMART_NAME, \
* __func__)) \
* return
*
* typedef struct _Elm_WName_Smart_Class
* {
* Elm_WParentName_Smart_Class base;
* } Elm_WName_Smart_Class;
*
* typedef struct _Elm_WName_Smart_Data Elm_WName_Smart_Data;
* struct _Elm_WName_Smart_Data
* {
* Elm_WParentName_Smart_Data base;
* Evas_Object *sub; // or any private data needed for an instance
* // add any other instance data here too
* };
*
* static const char SIG_CLICKED[] = "clicked";
* static const Evas_Smart_Cb_Description _smart_callbacks[] = {
* {SIG_CLICKED, ""},
* {NULL, NULL}
* };
*
* EVAS_SMART_SUBCLASS_NEW
* (ELM_WNAME_SMART_NAME, _elm_wname, Elm_WName_Smart_Class,
* Elm_WParentName_Smart_Class, elm_wparentname_smart_class_get,
* _smart_callbacks);
*
* static Eina_Bool
* _elm_wname_smart_on_focus(Evas_Object *obj)
* {
* ELM_WNAME_DATA_GET(obj, sd);
*
* // handle focus going in and out - optional, but if you want to,
* // define this virtual function to handle it (e.g. to emit a
* // signal to an edje object)
*
* if (elm_widget_focus_get(obj))
* {
* edje_object_signal_emit(sd->sub, "elm,action,focus", "elm");
* evas_object_focus_set(sd->sub, EINA_TRUE);
* }
* else
* {
* edje_object_signal_emit(sd->sub, "elm,action,unfocus", "elm");
* evas_object_focus_set(sd->sub, EINA_FALSE);
* }
*
* return EINA_TRUE;
* }
*
* static Eina_Bool
* _elm_wname_smart_theme(Evas_Object *obj)
* {
* ELM_WNAME_DATA_GET(obj, sd);
*
* if (!ELM_WIDGET_CLASS(_elm_wname_parent_sc)->theme(obj))
* return EINA_FALSE;
*
* // handle changes in theme/scale etc here. always call the
* // parent class's version, as even the base class implements it.
*
* elm_widget_theme_object_set(obj, sd->sub, "wname", "base",
* elm_widget_style_get(obj));
*
* return EINA_TRUE;
* }
*
* static Eina_Bool
* _elm_widget_smart_disable(Evas_Object *obj)
* {
* ELM_WNAME_DATA_GET(obj, sd);
*
* // optional, but handle if the widget gets disabled or not
* if (elm_widget_disabled_get(obj))
* edje_object_signal_emit(sd->sub, "elm,state,disabled", "elm");
* else
* edje_object_signal_emit(sd->sub, "elm,state,enabled", "elm");
*
* return EINA_TRUE;
* }
*
* static void
* _elm_wname_smart_add(Evas_Object *obj)
* {
* EVAS_SMART_DATA_ALLOC(obj, Elm_WName_Smart_Data);
*
* ELM_WIDGET_CLASS(_elm_wname_parent_sc)->base.add(obj);
*
* priv->sub = edje_object_add(evas_object_evas_get(obj));
* // just an example having an Edje object here. if it's really the case
* // you have a sub edje object as a resize object, consider inheriting
* // from @ref elm-layout-class.
* elm_widget_can_focus_set(obj, EINA_TRUE);
*
* // for this widget we will add 1 sub object that is an edje object
* priv->sub = edje_object_add(e);
* // set the theme. this follows a scheme for group name like this:
* // "elm/WIDGETNAME/ELEMENT/STYLE"
* // so here it will be:
* // "elm/wname/base/default"
* // changing style changes style name from default (all widgets start
* // with the default style) and element is for your widget internal
* // structure as you see fit
* elm_widget_theme_object_set
* (obj, priv->sub, "wname", "base", "default");
* // listen to a signal from the edje object to produce widget smart
* // callback (like click)
* edje_object_signal_callback_add
* (priv->sub, "elm,action,click", "", _clicked_signal_cb, obj);
* // set this sub object as the "resize object". widgets get 1 resize
* // object that is resized along with the object wrapper.
* elm_widget_resize_object_set(obj, priv->sub, EINA_TRUE);
* }
*
* static void
* _elm_wname_smart_del(Evas_Object *obj)
* {
* ELM_WNAME_DATA_GET(obj, sd);
*
* // deleting 'virtual' function implementation - on deletion of
* // object delete object struct, etc.
*
* ELM_WIDGET_CLASS(_elm_wname_parent_sc)->base.del(obj);
* }
*
* static void
* _elm_wname_smart_set_user(Elm_WName_Smart_Class *sc)
* {
* ELM_WIDGET_CLASS(sc)->base.add = _elm_wname_smart_add;
* ELM_WIDGET_CLASS(sc)->base.del = _elm_wname_smart_del;
*
* ELM_WIDGET_CLASS(sc)->theme = _elm_wname_smart_theme;
* ELM_WIDGET_CLASS(sc)->disable = _elm_wname_smart_disable;
* ELM_WIDGET_CLASS(sc)->on_focus = _elm_wname_smart_on_focus;
* }
*
* // actual API to create your widget. add more to manipulate it as
* // needed mark your calls with EAPI to make them "external api"
* // calls.
*
* EAPI Evas_Object *
* elm_wname_add(Evas_Object *parent)
* {
* Evas_Object *obj;
*
* EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
*
* obj = elm_widget_add(_elm_check_smart_class_new(), parent);
* if (!obj) return NULL;
*
* if (!elm_widget_sub_object_add(parent, obj))
* ERR("could not add %p as sub object of %p", obj, parent);
*
* return obj;
* }
*
* // example - do "whatever" to the widget (here just emit a signal)
* EAPI void
* elm_wname_whatever(Evas_Object *obj)
* {
* // check if type is correct - check will return if it fails
* ELM_WNAME_CHECK(obj);
* // get widget data - type is correct and sane by this point, so this
* // should never fail
* ELM_WNAME_DATA_GET(obj, sd);
* // do whatever you like
* edje_object_signal_emit(sd->sub, "elm,state,action,whatever", "elm");
* }
*
* // you can add more - you need to see elementary's code to know how
* // to handle all cases. remember this api is not stable and may
* change. it's internal
*/
#ifndef ELM_INTERNAL_API_ARGESFSDFEFC
#warning "You are using an internal elementary API. This API is not stable"
#warning "and is subject to change. You use this at your own risk."
#warning "Remember to call elm_widget_api_check(ELM_INTERNAL_API_VERSION);"
#warning "in your widgets before you call any other elm_widget calls to do"
#warning "a correct runtime version check. Also remember - you don't NEED"
#warning "to make an Elementary widget is almost ALL cases. You can easily"
#warning "make a smart object with Evas's API and do everything you need"
#warning "there. You only need a widget if you want to seamlessly be part"
#warning "of the focus tree and want to transparently become a container"
#warning "for any number of child Elementary widgets"
#error "ERROR. Compile aborted."
#endif
#define ELM_INTERNAL_API_VERSION 7000
/**
* @defgroup Widget Widgets Extension Infrastructure
*
* This section is intended for people willing to create @b custom
* Elementary widgets or to contribute new (useful, unique) widgets
* upstream. If neither is your case, this text won't be of any use
* for you.
*
* Elementary widgets are built in a @b hierarchical fashion. The idea
* is to factorize as much code as possible between widgets with
* behavioral similarities, as long as to facilitate the creation of
* @b custom, new widgets, may the user need them.
*
* It all starts with a base class, which aggregates behaviour
* @b every Elementary widget is supposed to have:
* #Elm_Widget_Smart_Class. Every Elementary widget will be of that
* type, be it directly or by means of @b inheriting from it.
*
* #Elm_Widget_Smart_Class happens to be an @c Evas_Smart_Class. If
* you check out Evas' documentation on it, you'll see it's how one is
* supposed to create custom Evas objects, what Elementary widgets
* are.
*
* Once one instantiates an Elementary widget, since it inherits from
* #Elm_Widget_Smart_Class, the system will raise a class instance of
* that type for you. But that happens only @b once: the first time
* you ask for an Elementary widget (of a given type). All subsequent
* ones will only point to the very same class instance. Since it's
* the class which points to the functions implementing the behavior
* of objects of that type, all of the live instances of Elementary
* widgets (of that type) will share the same blob of code loaded in
* memory to execute their routines.
*
* Now go and take a look at #Elm_Widget_Smart_Class's fields. Because
* it inherits from Evas' base smart class, we got a field of that
* type as the first member, so that Evas can handle Elementary
* objects internally as if they were 'normal' Evas objects. Evas has
* the Evas-only behavior function pointers in there, so it's all it
* needs.
*
* Then, comes a version field, so that whenever we got to update or
* change the fields on our base smart class, there'll be a runtime
* check of the version expected by Elementary and the one provided by
* any code linking with it. A mismatch will show the developer of
* that code he/she needs to recompile and link its code to a newer
* version of Elementary.
*
* The next fields are the class functions themselves. We call them
* 'virtual' because, as in object-oriented languages, one is supposed
* here to override them on inheriting classes. On most of
* inheritances you'll probably want to call the parent's version of
* the class function too: you must analyse each case to tell.
*
* Take a look at #Elm_Widget_Smart_Data. That's private data bound to
* each Elementary object @b instance. It aggregates data needed for
* all widgets, since it's meant for the #Elm_Widget_Smart_Class-typed
* ones.
*
* When inheriting from that base type, instance data for this new
* class has to have, as the first member, a field of type
* #Elm_Widget_Smart_Data. This has to be respected recursively -- if
* a third class is to be created inheriting from the one that is a
* direct 'child' of #Elm_Widget_Smart_Class, then the private data on
* this third class has to have, as its first field, a variable of the
* type of the private data of the second class (its parent), direct
* child of #Elm_Widget_Smart_Class.
*
* It is from the base private data, #Elm_Widget_Smart_Data, that we
* reach an object's class functions, by the given object
* instance. This is the reason of the first field of that struct: a
* pointer set to point to its class when the object is instantiated.
*
* The following figure illustrates the widget inheritance schema.
*
* @image html elm-widget-hierarchy.png
* @image rtf elm-widget-hierarchy.png
* @image latex elm-widget-hierarchy.eps
*
* @section elm-hierarchy-tree Elementary Widgets Hierarchy Tree
*
* The following figure illustrates the Elementary widget inheritance
* tree.
*
* @image html elm-widget-tree.png
* @image rtf elm-widget-tree.png
* @image latex elm-widget-tree.eps
*/
/**
* @addtogroup Widget
* @{
*/
/* Elm_Activate is used in 'Virtual' function Eina_Bool (*activate)
* (Evas_Object *obj, Elm_Activate act); of Elm_Widget_Smart_Class */
typedef enum
{
ELM_ACTIVATE_DEFAULT = 0,
ELM_ACTIVATE_UP,
ELM_ACTIVATE_DOWN,
ELM_ACTIVATE_RIGHT,
ELM_ACTIVATE_LEFT,
ELM_ACTIVATE_BACK
} Elm_Activate;
/* Please, ALWAYS update the ELM_WIDGET_SMART_CLASS_INIT macro
* whenever you change the following struct! */
/**
* Base widget smart class. It has the 'virtual' functions for all
* general, common actions on Elementary widgets.
*/
typedef struct _Elm_Widget_Smart_Class
{
Evas_Smart_Class base; /**< Base smart class struct, needed for all smart objects */
int version; /**< Version of this smart class definition */
void (*parent_set)(Evas_Object *obj,
Evas_Object *parent); /**< 'Virtual' function handling parent widget attachment to new object */
Eina_Bool (*on_focus)(Evas_Object *obj); /**< 'Virtual' function handling focus in/out events on the widget */
Eina_Bool (*disable)(Evas_Object *obj); /**< 'Virtual' function on the widget being disabled */
Eina_Bool (*theme)(Evas_Object *obj); /**< 'Virtual' function on the widget being re-themed */
Eina_Bool (*translate)(Evas_Object *obj); /**< 'Virtual' function handling language changes on Elementary */
Eina_Bool (*event)(Evas_Object *obj,
Evas_Object *source,
Evas_Callback_Type type,
void *event_info); /**< 'Virtual' function handling input events on the widget */
Eina_Bool (*on_focus_region)(const Evas_Object *obj,
Evas_Coord *x,
Evas_Coord *y,
Evas_Coord *w,
Evas_Coord *h); /**< 'Virtual' function returning an inner area of a widget that should be brought into the visible area of a broader viewport, may this context arise. On the base Elementary widget class, it defaults to the object's total area, so only override it if you have to. */
Eina_Bool (*focus_next)(const Evas_Object *obj,
Elm_Focus_Direction dir,
Evas_Object **next); /**< 'Virtual' function handling passing focus to sub-objects */
Eina_Bool (*focus_direction)(const Evas_Object *obj,
const Evas_Object *base,
double degree,
Evas_Object **target,
double *weight); /**< 'Virtual' function handling passing focus to sub-objects <b>given a direction, in degrees</b> */
Eina_Bool (*sub_object_add)(Evas_Object *obj,
Evas_Object *sobj); /**< 'Virtual' function handling sub objects being added */
Eina_Bool (*sub_object_del)(Evas_Object *obj,
Evas_Object *sobj); /**< 'Virtual' function handling sub objects being removed */
void (*access)(Evas_Object *obj,
Eina_Bool is_access); /**< 'Virtual' function on the widget being set access */
Eina_Bool (*activate)(Evas_Object *obj,
Elm_Activate act); /**< 'Virtual' function to activate widget */
} Elm_Widget_Smart_Class;
/**
* Base widget smart data. This is data bound to an Elementary object
* @b instance, so its particular to that specific object and not
* shared between all objects in its class. It is here, though, that
* we got a pointer to the object's class, the first field -- @c
* 'api'.
*/
typedef struct _Elm_Widget_Smart_Data
{
Evas_Object *obj;
Evas_Object *parent_obj;
Evas_Object *parent2;
Evas_Coord x, y, w, h;
Eina_List *subobjs;
Evas_Object *resize_obj;
Evas_Object *hover_obj;
Eina_List *tooltips, *cursors;
Evas_Object *focus_previous, *focus_next;
Evas_Object *focus_up, *focus_down, *focus_right, *focus_left;
/* "show region" coordinates. all widgets got those because this
* info may be set and queried recursively through the widget
* parenting tree */
Evas_Coord rx, ry, rw, rh;
/* scrolling hold/freeze hints. all widgets got those because this
* info may be set and queried recursively through the widget
* parenting tree */
int scroll_hold;
int scroll_freeze;
double scale;
Elm_Theme *theme;
const char *style;
const char *access_info;
unsigned int focus_order;
Eina_Bool focus_order_on_calc;
int child_drag_x_locked;
int child_drag_y_locked;
Eina_Inlist *translate_strings;
Eina_List *focus_chain;
Eina_List *event_cb;
/* this is a hook to be set on-the-fly on widgets. this is code
* handling the request of showing a specific region from an inner
* widget (mainly issued by entries, on cursor moving) */
void *on_show_region_data;
void (*on_show_region)(void *data,
Evas_Object *obj);
int orient_mode; /* -1 is disabled */
Eina_Bool drag_x_locked : 1;
Eina_Bool drag_y_locked : 1;
Eina_Bool can_focus : 1;
Eina_Bool child_can_focus : 1;
Eina_Bool focused : 1;
Eina_Bool top_win_focused : 1;
Eina_Bool tree_unfocusable : 1;
Eina_Bool highlight_ignore : 1;
Eina_Bool highlight_in_theme : 1;
Eina_Bool disabled : 1;
Eina_Bool is_mirrored : 1;
Eina_Bool mirrored_auto_mode : 1; /* This is
* TRUE by
* default */
Eina_Bool still_in : 1;
Eina_Bool can_access : 1;
Eina_Bool highlighted : 1;
Eina_Bool highlight_root : 1;
Eina_Bool on_translate : 1;
Eina_Bool on_create : 1;
} Elm_Widget_Smart_Data;
/**
* @}
*/
typedef struct _Elm_Tooltip Elm_Tooltip;
typedef struct _Elm_Cursor Elm_Cursor;
/**< base structure for all widget items that are not Elm_Widget themselves */
typedef struct _Elm_Widget_Item Elm_Widget_Item;
typedef struct _Elm_Widget_Item_Signal_Data Elm_Widget_Item_Signal_Data;
/**< accessibility information to be able to set and get from the access API */
typedef struct _Elm_Access_Info Elm_Access_Info;
/**< accessibility info item */
typedef struct _Elm_Access_Item Elm_Access_Item;
typedef void (*Elm_Widget_Text_Set_Cb)(void *data, const char *part, const char *text);
typedef void (*Elm_Widget_Content_Set_Cb)(void *data, const char *part, Evas_Object *content);
typedef const char *(*Elm_Widget_Text_Get_Cb)(const void *data, const char *part);
typedef Evas_Object *(*Elm_Widget_Content_Get_Cb)(const void *data, const char *part);
typedef Evas_Object *(*Elm_Widget_Content_Unset_Cb)(const void *data, const char *part);
typedef void (*Elm_Widget_Signal_Emit_Cb)(void *data, const char *emission, const char *source);
typedef void (*Elm_Widget_Disable_Cb)(void *data);
typedef Eina_Bool (*Elm_Widget_Del_Pre_Cb)(void *data);
typedef void (*Elm_Widget_Item_Signal_Cb)(void *data, Elm_Widget_Item *item, const char *emission, const char *source);
#define ELM_ACCESS_DONE -1 /* sentence done - send done event here */
#define ELM_ACCESS_CANCEL -2 /* stop reading immediately */
typedef void (*Elm_Access_On_Highlight_Cb)(void *data);
struct _Elm_Access_Item
{
int type;
const void *data;
Elm_Access_Info_Cb func;
};
struct _Elm_Access_Info
{
Evas_Object *hoverobj;
Eina_List *items;
Ecore_Timer *delay_timer;
void *on_highlight_data;
Elm_Access_On_Highlight_Cb on_highlight;
void *activate_data;
Elm_Access_Activate_Cb activate;
/* the owner widget item that owns this access info */
Elm_Widget_Item *widget_item;
/* the owner part object that owns this access info */
Evas_Object *part_object;
Evas_Object *next;
Evas_Object *prev;
};
void _elm_access_shutdown();
void _elm_access_mouse_event_enabled_set(Eina_Bool enabled);
/* if auto_higlight is EINA_TRUE, it does not steal a focus, it just moves a highlight */
void _elm_access_auto_highlight_set(Eina_Bool enabled);
Eina_Bool _elm_access_auto_highlight_get(void);
void _elm_access_widget_item_access_order_set(Elm_Widget_Item *item, Eina_List *objs);
const Eina_List *_elm_access_widget_item_access_order_get(const Elm_Widget_Item *item);
void _elm_access_widget_item_access_order_unset(Elm_Widget_Item *item);
EAPI void _elm_access_clear(Elm_Access_Info *ac);
EAPI void _elm_access_text_set(Elm_Access_Info *ac, int type, const char *text);
EAPI void _elm_access_callback_set(Elm_Access_Info *ac, int type, Elm_Access_Info_Cb func, const void *data);
EAPI char *_elm_access_text_get(const Elm_Access_Info *ac, int type, const Evas_Object *obj); /* this is ok it actually returns a strduped string - it's meant to! */
EAPI void _elm_access_read(Elm_Access_Info *ac, int type, const Evas_Object *obj);
EAPI void _elm_access_say(const char *txt);
EAPI Elm_Access_Info *_elm_access_info_get(const Evas_Object *obj);
EAPI void _elm_access_object_highlight(Evas_Object *obj);
EAPI void _elm_access_object_unhilight(Evas_Object *obj);
EAPI void _elm_access_object_highlight_disable(Evas *e);
EAPI void _elm_access_object_register(Evas_Object *obj, Evas_Object *hoverobj);
EAPI void _elm_access_object_unregister(Evas_Object *obj, Evas_Object *hoverobj);
EAPI Eina_Bool _elm_access_2nd_click_timeout(Evas_Object *obj);
EAPI void _elm_access_highlight_set(Evas_Object* obj);
EAPI Evas_Object * _elm_access_edje_object_part_object_register(Evas_Object *obj, const Evas_Object *partobj, const char* part);
EAPI void _elm_access_edje_object_part_object_unregister(Evas_Object* obj, const Evas_Object *eobj, const char* part);
EAPI void _elm_access_widget_item_register(Elm_Widget_Item *item);
EAPI void _elm_access_widget_item_unregister(Elm_Widget_Item *item);
EAPI void _elm_access_on_highlight_hook_set(Elm_Access_Info *ac, Elm_Access_On_Highlight_Cb func, void *data);
EAPI void _elm_access_activate_callback_set(Elm_Access_Info *ac, Elm_Access_Activate_Cb func, void *data);
EAPI void _elm_access_highlight_object_activate(Evas_Object *obj, Elm_Activate act);
EAPI void _elm_access_highlight_cycle(Evas_Object *obj, Elm_Focus_Direction dir);
EINA_DEPRECATED EAPI Elm_Access_Info *_elm_access_object_get(const Evas_Object *obj);
#define ELM_PREFS_DATA_MAGIC 0xe1f5da7a
/**< put this as the first member in your widget item struct */
#define ELM_WIDGET_ITEM Elm_Widget_Item base
struct _Elm_Widget_Item_Signal_Data
{
Elm_Widget_Item *item;
Elm_Widget_Item_Signal_Cb func;
const char *emission;
const char *source;
void *data;
};
struct _Elm_Widget_Item
{
/* ef1 ~~ efl, el3 ~~ elm */
#define ELM_WIDGET_ITEM_MAGIC 0xef1e1301
EINA_MAGIC;
/* simple accessor macros */
#define VIEW(X) X->base.view
#define WIDGET(X) X->base.widget
/**< the owner widget that owns this item */
Evas_Object *widget;
/**< the base view object */
Evas_Object *view;
/**< item specific data. used for del callback */
const void *data;
/**< user delete callback function */
Evas_Smart_Cb del_func;
/**< widget delete callback function. don't expose this callback call */
Elm_Widget_Del_Pre_Cb del_pre_func;
Elm_Widget_Content_Set_Cb content_set_func;
Elm_Widget_Content_Get_Cb content_get_func;
Elm_Widget_Content_Unset_Cb content_unset_func;
Elm_Widget_Text_Set_Cb text_set_func;
Elm_Widget_Text_Get_Cb text_get_func;
Elm_Widget_Signal_Emit_Cb signal_emit_func;
Elm_Widget_Disable_Cb disable_func;
Evas_Object *access_obj;
const char *access_info;
Eina_List *access_order;
Eina_Inlist *translate_strings;
Eina_List *signals;
Eina_Hash *labels;
Evas_Object *track_obj;
Eina_Bool disabled : 1;
Eina_Bool on_translate : 1;
};
struct _Elm_Object_Item
{
ELM_WIDGET_ITEM;
};
#define ELM_NEW(t) calloc(1, sizeof(t))
EAPI Evas_Object *elm_widget_add(Evas_Smart *, Evas_Object *);
EAPI void elm_widget_parent_set(Evas_Object *, Evas_Object *);
EAPI Eina_Bool elm_widget_api_check(int ver);
EAPI Eina_Bool elm_widget_access(Evas_Object *obj, Eina_Bool is_access);
EAPI Eina_Bool elm_widget_theme(Evas_Object *obj);
EAPI void elm_widget_theme_specific(Evas_Object *obj, Elm_Theme *th, Eina_Bool force);
EAPI void elm_widget_translate(Evas_Object *obj);
EAPI void elm_widget_on_show_region_hook_set(Evas_Object *obj, void (*func)(void *data, Evas_Object *obj), void *data);
EAPI Eina_Bool elm_widget_sub_object_parent_add(Evas_Object *sobj);
EAPI Eina_Bool elm_widget_sub_object_add(Evas_Object *obj, Evas_Object *sobj);
EAPI Eina_Bool elm_widget_sub_object_del(Evas_Object *obj, Evas_Object *sobj);
EAPI void elm_widget_resize_object_set(Evas_Object *obj, Evas_Object *sobj, Eina_Bool sub_obj);
EAPI void elm_widget_hover_object_set(Evas_Object *obj, Evas_Object *sobj);
EAPI void elm_widget_signal_emit(Evas_Object *obj, const char *emission, const char *source);
EAPI void elm_widget_signal_callback_add(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data);
EAPI void *elm_widget_signal_callback_del(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func);
EAPI void elm_widget_can_focus_set(Evas_Object *obj, Eina_Bool can_focus);
EAPI Eina_Bool elm_widget_can_focus_get(const Evas_Object *obj);
EAPI Eina_Bool elm_widget_child_can_focus_get(const Evas_Object *obj);
EAPI Eina_List *elm_widget_can_focus_child_list_get(const Evas_Object *obj);
EAPI void elm_widget_tree_unfocusable_set(Evas_Object *obj, Eina_Bool tree_unfocusable);
EAPI Eina_Bool elm_widget_tree_unfocusable_get(const Evas_Object *obj);
EAPI void elm_widget_highlight_ignore_set(Evas_Object *obj, Eina_Bool ignore);
EAPI Eina_Bool elm_widget_highlight_ignore_get(const Evas_Object *obj);
EAPI void elm_widget_highlight_in_theme_set(Evas_Object *obj, Eina_Bool highlight);
EAPI Eina_Bool elm_widget_highlight_in_theme_get(const Evas_Object *obj);
EAPI Eina_Bool elm_widget_focus_get(const Evas_Object *obj);
EAPI Eina_Bool elm_widget_highlight_get(const Evas_Object *obj);
EAPI Evas_Object *elm_widget_focused_object_get(const Evas_Object *obj);
EAPI Evas_Object *elm_widget_top_get(const Evas_Object *obj);
EAPI Eina_Bool elm_widget_is(const Evas_Object *obj);
EAPI Evas_Object *elm_widget_parent_widget_get(const Evas_Object *obj);
EAPI void elm_widget_event_callback_add(Evas_Object *obj, Elm_Event_Cb func, const void *data);
EAPI void *elm_widget_event_callback_del(Evas_Object *obj, Elm_Event_Cb func, const void *data);
EAPI Eina_Bool elm_widget_event_propagate(Evas_Object *obj, Evas_Callback_Type type, void *event_info, Evas_Event_Flags *event_flags);
EAPI void elm_widget_focus_custom_chain_set(Evas_Object *obj, Eina_List *objs);
EAPI void elm_widget_focus_custom_chain_unset(Evas_Object *obj);
EAPI const Eina_List *elm_widget_focus_custom_chain_get(const Evas_Object *obj);
EAPI void elm_widget_focus_custom_chain_append(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child);
EAPI void elm_widget_focus_custom_chain_prepend(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child);
EAPI void elm_widget_focus_cycle(Evas_Object *obj, Elm_Focus_Direction dir);
EAPI Eina_Bool elm_widget_focus_direction_go(Evas_Object *obj, double degree);
EAPI Eina_Bool elm_widget_focus_direction_get(const Evas_Object *obj, const Evas_Object *base, double degree, Evas_Object **direction, double *weight);
EAPI Eina_Bool elm_widget_focus_next_get(const Evas_Object *obj, Elm_Focus_Direction dir, Evas_Object **next);
EAPI Eina_Bool elm_widget_focus_list_direction_get(const Evas_Object *obj, const Evas_Object *base, const Eina_List *items, void *(*list_data_get)(const Eina_List *list), double degree, Evas_Object **direction, double *weight);
EAPI Eina_Bool elm_widget_focus_list_next_get(const Evas_Object *obj, const Eina_List *items, void *(*list_data_get)(const Eina_List *list), Elm_Focus_Direction dir, Evas_Object **next);
EAPI Evas_Object *elm_widget_focus_next_object_get(const Evas_Object *obj, Elm_Focus_Direction dir);
EAPI void elm_widget_focus_next_object_set(Evas_Object *obj, Evas_Object *next, Elm_Focus_Direction dir);
EAPI void elm_widget_parent_highlight_set(Evas_Object *obj, Eina_Bool highlighted);
EAPI void elm_widget_focus_set(Evas_Object *obj, int first);
EAPI void elm_widget_focused_object_clear(Evas_Object *obj);
EAPI Evas_Object *elm_widget_parent_get(const Evas_Object *obj);
EAPI Evas_Object *elm_widget_parent2_get(const Evas_Object *obj);
EAPI void elm_widget_parent2_set(Evas_Object *obj, Evas_Object *parent);
EAPI void elm_widget_focus_steal(Evas_Object *obj);
EAPI Evas_Object *elm_widget_newest_focus_order_get(const Evas_Object *obj, unsigned int *newest_focus_order, Eina_Bool can_focus_only);
EAPI void elm_widget_display_mode_set(Evas_Object *obj, Evas_Display_Mode dispmode);
EAPI const Elm_Widget_Smart_Class *elm_widget_smart_class_get(void);
/**
* @internal
*
* Restore the focus state of the sub-tree.
*
* This API will restore the focus state of the sub-tree to the latest
* state. If a sub-tree is unfocused and wants to get back to the latest
* focus state, this API will be helpful.
*
* @param obj The widget root of sub-tree
*
* @ingroup Widget
*/
EAPI void elm_widget_focus_restore(Evas_Object *obj);
EAPI void elm_widget_disabled_set(Evas_Object *obj, Eina_Bool disabled);
EAPI Eina_Bool elm_widget_disabled_get(const Evas_Object *obj);
EAPI void elm_widget_show_region_set(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Eina_Bool forceshow);
EAPI void elm_widget_show_region_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
EAPI Eina_Bool elm_widget_focus_region_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
EAPI void elm_widget_focus_region_show(const Evas_Object *obj);
EAPI void elm_widget_parents_bounce_get(Evas_Object *obj, Eina_Bool *horiz, Eina_Bool *vert);
EAPI void elm_widget_scroll_hold_push(Evas_Object *obj);
EAPI void elm_widget_scroll_hold_pop(Evas_Object *obj);
EAPI int elm_widget_scroll_hold_get(const Evas_Object *obj);
EAPI void elm_widget_scroll_freeze_push(Evas_Object *obj);
EAPI void elm_widget_scroll_freeze_pop(Evas_Object *obj);
EAPI int elm_widget_scroll_freeze_get(const Evas_Object *obj);
EAPI void elm_widget_scale_set(Evas_Object *obj, double scale);
EAPI double elm_widget_scale_get(const Evas_Object *obj);
EAPI Eina_Bool elm_widget_mirrored_get(const Evas_Object *obj);
EAPI void elm_widget_mirrored_set(Evas_Object *obj, Eina_Bool mirrored);
EAPI Eina_Bool elm_widget_mirrored_automatic_get(const Evas_Object *obj);
EAPI void elm_widget_mirrored_automatic_set(Evas_Object *obj, Eina_Bool automatic);
EAPI void elm_widget_theme_set(Evas_Object *obj, Elm_Theme *th);
EAPI Elm_Theme *elm_widget_theme_get(const Evas_Object *obj);
EAPI Eina_Bool elm_widget_style_set(Evas_Object *obj, const char *style);
EAPI const char *elm_widget_style_get(const Evas_Object *obj);
EAPI void elm_widget_type_set(Evas_Object *obj, const char *type);
EAPI const char *elm_widget_type_get(const Evas_Object *obj);
EAPI void elm_widget_tooltip_add(Evas_Object *obj, Elm_Tooltip *tt);
EAPI void elm_widget_tooltip_del(Evas_Object *obj, Elm_Tooltip *tt);
EAPI void elm_widget_cursor_add(Evas_Object *obj, Elm_Cursor *cur);
EAPI void elm_widget_cursor_del(Evas_Object *obj, Elm_Cursor *cur);
EAPI void elm_widget_drag_lock_x_set(Evas_Object *obj, Eina_Bool lock);
EAPI void elm_widget_drag_lock_y_set(Evas_Object *obj, Eina_Bool lock);
EAPI Eina_Bool elm_widget_drag_lock_x_get(const Evas_Object *obj);
EAPI Eina_Bool elm_widget_drag_lock_y_get(const Evas_Object *obj);
EAPI int elm_widget_drag_child_locked_x_get(const Evas_Object *obj);
EAPI int elm_widget_drag_child_locked_y_get(const Evas_Object *obj);
EAPI Eina_Bool elm_widget_theme_object_set(Evas_Object *obj, Evas_Object *edj, const char *wname, const char *welement, const char *wstyle);
EAPI Eina_Bool elm_widget_type_check(const Evas_Object *obj, const char *type, const char *func);
EAPI Evas_Object *elm_widget_name_find(const Evas_Object *obj, const char *name, int recurse);
EAPI Eina_List *elm_widget_stringlist_get(const char *str);
EAPI void elm_widget_stringlist_free(Eina_List *list);
EAPI void elm_widget_focus_hide_handle(Evas_Object *obj);
EAPI void elm_widget_focus_mouse_up_handle(Evas_Object *obj);
EAPI void elm_widget_focus_tree_unfocusable_handle(Evas_Object *obj);
EAPI void elm_widget_focus_disabled_handle(Evas_Object *obj);
EAPI unsigned int elm_widget_focus_order_get(const Evas_Object *obj);
EAPI void elm_widget_activate(Evas_Object *obj, Elm_Activate act);
EAPI void elm_widget_part_text_set(Evas_Object *obj, const char *part, const char *label);
EAPI const char *elm_widget_part_text_get(const Evas_Object *obj, const char *part);
EAPI void elm_widget_domain_translatable_part_text_set(Evas_Object *obj, const char *part, const char *domain, const char *text);
EAPI const char *elm_widget_translatable_part_text_get(const Evas_Object *obj, const char *part);
EAPI void elm_widget_domain_part_text_translatable_set(Evas_Object *obj, const char *part, const char *domain, Eina_Bool translatable);
EAPI const char * elm_widget_part_text_translate(Evas_Object *obj, const char *part, const char *text);
EAPI void elm_widget_content_part_set(Evas_Object *obj, const char *part, Evas_Object *content);
EAPI Evas_Object *elm_widget_content_part_get(const Evas_Object *obj, const char *part);
EAPI Evas_Object *elm_widget_content_part_unset(Evas_Object *obj, const char *part);
EAPI void elm_widget_access_info_set(Evas_Object *obj, const char *txt);
EAPI const char *elm_widget_access_info_get(const Evas_Object *obj);
EAPI void elm_widget_orientation_set(Evas_Object *obj, int rotation);
EAPI void elm_widget_orientation_mode_disabled_set(Evas_Object *obj, Eina_Bool disabled);
EAPI Eina_Bool elm_widget_orientation_mode_disabled_get(const Evas_Object *obj);
EAPI Elm_Widget_Item *_elm_widget_item_new(Evas_Object *parent, size_t alloc_size);
EAPI void _elm_widget_item_free(Elm_Widget_Item *item);
EAPI Evas_Object *_elm_widget_item_widget_get(const Elm_Widget_Item *item);
EAPI void _elm_widget_item_del(Elm_Widget_Item *item);
EAPI void _elm_widget_item_pre_notify_del(Elm_Widget_Item *item);
EAPI void _elm_widget_item_del_cb_set(Elm_Widget_Item *item, Evas_Smart_Cb del_cb);
EAPI void _elm_widget_item_data_set(Elm_Widget_Item *item, const void *data);
EAPI void *_elm_widget_item_data_get(const Elm_Widget_Item *item);
EAPI void _elm_widget_item_tooltip_text_set(Elm_Widget_Item *item, const char *text);
EAPI void _elm_widget_item_tooltip_translatable_text_set(Elm_Widget_Item *item, const char *text);
EAPI void _elm_widget_item_tooltip_content_cb_set(Elm_Widget_Item *item, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb);
EAPI void _elm_widget_item_tooltip_unset(Elm_Widget_Item *item);
EAPI void _elm_widget_item_tooltip_style_set(Elm_Widget_Item *item, const char *style);
EAPI Eina_Bool _elm_widget_item_tooltip_window_mode_set(Elm_Widget_Item *item, Eina_Bool disable);
EAPI Eina_Bool _elm_widget_item_tooltip_window_mode_get(const Elm_Widget_Item *item);
EAPI const char *_elm_widget_item_tooltip_style_get(const Elm_Widget_Item *item);
EAPI void _elm_widget_item_cursor_set(Elm_Widget_Item *item, const char *cursor);
EAPI const char *_elm_widget_item_cursor_get(const Elm_Widget_Item *item);
EAPI void _elm_widget_item_cursor_unset(Elm_Widget_Item *item);
EAPI void _elm_widget_item_cursor_style_set(Elm_Widget_Item *item, const char *style);
EAPI const char *_elm_widget_item_cursor_style_get(const Elm_Widget_Item *item);
EAPI void _elm_widget_item_cursor_engine_only_set(Elm_Widget_Item *item, Eina_Bool engine_only);
EAPI Eina_Bool _elm_widget_item_cursor_engine_only_get(const Elm_Widget_Item *item);
EAPI void _elm_widget_item_part_content_set(Elm_Widget_Item *item, const char *part, Evas_Object *content);
EAPI Evas_Object *_elm_widget_item_part_content_get(const Elm_Widget_Item *item, const char *part);
EAPI Evas_Object *_elm_widget_item_part_content_unset(Elm_Widget_Item *item, const char *part);
EAPI void _elm_widget_item_part_text_set(Elm_Widget_Item *item, const char *part, const char *label);
EAPI const char *_elm_widget_item_part_text_get(const Elm_Widget_Item *item, const char *part);
EAPI void _elm_widget_item_part_text_custom_set(Elm_Widget_Item *item, const char *part, const char *label);
EAPI const char *_elm_widget_item_part_text_custom_get(Elm_Widget_Item *item, const char *part);
EAPI void _elm_widget_item_part_text_custom_update(Elm_Widget_Item *item);
EAPI void _elm_widget_item_signal_callback_add(Elm_Widget_Item *item, const char *emission, const char *source, Elm_Widget_Item_Signal_Cb func, void *data);
EAPI void *_elm_widget_item_signal_callback_del(Elm_Widget_Item *it, const char *emission, const char *source, Elm_Widget_Item_Signal_Cb func);
EAPI void _elm_widget_item_signal_emit(Elm_Widget_Item *item, const char *emission, const char *source);
EAPI void _elm_widget_item_content_set_hook_set(Elm_Widget_Item *item, Elm_Widget_Content_Set_Cb func);
EAPI void _elm_widget_item_content_get_hook_set(Elm_Widget_Item *item, Elm_Widget_Content_Get_Cb func);
EAPI void _elm_widget_item_content_unset_hook_set(Elm_Widget_Item *item, Elm_Widget_Content_Unset_Cb func);
EAPI void _elm_widget_item_text_set_hook_set(Elm_Widget_Item *item, Elm_Widget_Text_Set_Cb func);
EAPI void _elm_widget_item_text_get_hook_set(Elm_Widget_Item *item, Elm_Widget_Text_Get_Cb func);
EAPI void _elm_widget_item_signal_emit_hook_set(Elm_Widget_Item *it, Elm_Widget_Signal_Emit_Cb func);
EAPI void _elm_widget_item_access_info_set(Elm_Widget_Item *item, const char *txt);
EAPI void _elm_widget_item_disabled_set(Elm_Widget_Item *item, Eina_Bool disabled);
EAPI Eina_Bool _elm_widget_item_disabled_get(const Elm_Widget_Item *item);
EAPI void _elm_widget_item_disable_hook_set(Elm_Widget_Item *item, Elm_Widget_Disable_Cb func);
EAPI void _elm_widget_item_del_pre_hook_set(Elm_Widget_Item *item, Elm_Widget_Del_Pre_Cb func);
EAPI void _elm_widget_item_domain_translatable_part_text_set(Elm_Widget_Item *item, const char *part, const char *domain, const char *label);
EAPI const char * _elm_widget_item_translatable_part_text_get(const Elm_Widget_Item *item, const char *part);
EAPI void _elm_widget_item_translate(Elm_Widget_Item *item);
EAPI void _elm_widget_item_domain_part_text_translatable_set(Elm_Widget_Item *item, const char *part, const char *domain, Eina_Bool translatable);
EAPI Evas_Object *elm_widget_item_track(Elm_Widget_Item *item);
EAPI void elm_widget_item_untrack(Elm_Widget_Item *item);
EAPI int elm_widget_item_track_get(const Elm_Widget_Item *item);
EAPI void _elm_widget_item_track_cancel(Elm_Widget_Item *item);
/**
* Function to operate on a given widget's scrollabe children when necessary.
* @warning free the returned list with eina_list_free().
*/
EAPI Eina_List *elm_widget_scrollable_children_get(Evas_Object *obj);
/* debug function. don't use it unless you are tracking parenting issues */
EAPI void elm_widget_tree_dump(const Evas_Object *top);
EAPI void elm_widget_tree_dot_dump(const Evas_Object *top, FILE *output);
#define ELM_WIDGET_DATA_GET_OR_RETURN(o, ptr, ...) \
Elm_Widget_Smart_Data *ptr; \
ptr = (o ? \
eo_data_scope_get(o, ELM_OBJ_WIDGET_CLASS) :\
NULL); \
if (!ptr) \
{ \
CRITICAL("no widget data for object %p (%s)", \
o, evas_object_type_get(o)); \
return __VA_ARGS__; \
}
#define ELM_WIDGET_CHECK(obj) \
if (!obj || !eo_isa((obj), ELM_OBJ_WIDGET_CLASS)) \
return
/**
* Convenience macro to create new widget item, doing casts for you.
* @see _elm_widget_item_new()
* @param parent a valid elm_widget variant.
* @param type the C type that extends Elm_Widget_Item
*/
#define elm_widget_item_new(parent, type) \
(type *)_elm_widget_item_new((parent), sizeof(type))
/**
* Convenience macro to free widget item, doing casts for you.
* @see _elm_widget_item_free()
* @param item a valid item.
*/
#define elm_widget_item_free(item) \
_elm_widget_item_free((Elm_Widget_Item *)item)
/**
* Convenience macro to delete widget item, doing casts for you.
* @see _elm_widget_item_del()
* @param item a valid item.
*/
#define elm_widget_item_del(item) \
_elm_widget_item_del((Elm_Widget_Item *)item)
/**
* Convenience macro to notify deletion of widget item, doing casts for you.
* @see _elm_widget_item_pre_notify_del()
*/
#define elm_widget_item_pre_notify_del(item) \
_elm_widget_item_pre_notify_del((Elm_Widget_Item *)item)
/**
* Convenience macro to set deletion callback of widget item, doing casts for you.
* @see _elm_widget_item_del_cb_set()
*/
#define elm_widget_item_del_cb_set(item, del_cb) \
_elm_widget_item_del_cb_set((Elm_Widget_Item *)item, del_cb)
/**
* Get item's owner widget
* @see _elm_widget_item_widget_get()
*/
#define elm_widget_item_widget_get(item) \
_elm_widget_item_widget_get((const Elm_Widget_Item *)item)
/**
* Set item's data
* @see _elm_widget_item_data_set()
*/
#define elm_widget_item_data_set(item, data) \
_elm_widget_item_data_set((Elm_Widget_Item *)item, data)
/**
* Get item's data
* @see _elm_widget_item_data_get()
*/
#define elm_widget_item_data_get(item) \
_elm_widget_item_data_get((const Elm_Widget_Item *)item)
/**
* Convenience function to set widget item tooltip as a text string.
* @see _elm_widget_item_tooltip_text_set()
*/
#define elm_widget_item_tooltip_text_set(item, text) \
_elm_widget_item_tooltip_text_set((Elm_Widget_Item *)item, text)
/**
* Convenience function to set widget item tooltip as a text string.
* @see _elm_widget_item_tooltip_text_set()
*/
#define elm_widget_item_tooltip_translatable_text_set(item, text) \
_elm_widget_item_tooltip_translatable_text_set((Elm_Widget_Item *)item, text)
/**
* Convenience function to set widget item tooltip.
* @see _elm_widget_item_tooltip_content_cb_set()
*/
#define elm_widget_item_tooltip_content_cb_set(item, func, data, del_cb) \
_elm_widget_item_tooltip_content_cb_set((Elm_Widget_Item *)item, \
func, data, del_cb)
/**
* Convenience function to unset widget item tooltip.
* @see _elm_widget_item_tooltip_unset()
*/
#define elm_widget_item_tooltip_unset(item) \
_elm_widget_item_tooltip_unset((Elm_Widget_Item *)item)
/**
* Convenience function to change item's tooltip style.
* @see _elm_widget_item_tooltip_style_set()
*/
#define elm_widget_item_tooltip_style_set(item, style) \
_elm_widget_item_tooltip_style_set((Elm_Widget_Item *)item, style)
#define elm_widget_item_tooltip_window_mode_set(item, disable) \
_elm_widget_item_tooltip_window_mode_set((Elm_Widget_Item *)item, disable)
#define elm_widget_item_tooltip_window_mode_get(item) \
_elm_widget_item_tooltip_window_mode_get((Elm_Widget_Item *)item)
/**
* Convenience function to query item's tooltip style.
* @see _elm_widget_item_tooltip_style_get()
*/
#define elm_widget_item_tooltip_style_get(item) \
_elm_widget_item_tooltip_style_get((const Elm_Widget_Item *)item)
/**
* Convenience function to set widget item cursor.
* @see _elm_widget_item_cursor_set()
*/
#define elm_widget_item_cursor_set(item, cursor) \
_elm_widget_item_cursor_set((Elm_Widget_Item *)item, cursor)
/**
* Convenience function to get widget item cursor.
* @see _elm_widget_item_cursor_get()
*/
#define elm_widget_item_cursor_get(item) \
_elm_widget_item_cursor_get((const Elm_Widget_Item *)item)
/**
* Convenience function to unset widget item cursor.
* @see _elm_widget_item_cursor_unset()
*/
#define elm_widget_item_cursor_unset(item) \
_elm_widget_item_cursor_unset((Elm_Widget_Item *)item)
/**
* Convenience function to change item's cursor style.
* @see _elm_widget_item_cursor_style_set()
*/
#define elm_widget_item_cursor_style_set(item, style) \
_elm_widget_item_cursor_style_set((Elm_Widget_Item *)item, style)
/**
* Convenience function to query item's cursor style.
* @see _elm_widget_item_cursor_style_get()
*/
#define elm_widget_item_cursor_style_get(item) \
_elm_widget_item_cursor_style_get((const Elm_Widget_Item *)item)
/**
* Convenience function to change item's cursor engine_only.
* @see _elm_widget_item_cursor_engine_only_set()
*/
#define elm_widget_item_cursor_engine_only_set(item, engine_only) \
_elm_widget_item_cursor_engine_only_set((Elm_Widget_Item *)item, engine_only)
/**
* Convenience function to query item's cursor engine_only.
* @see _elm_widget_item_cursor_engine_only_get()
*/
#define elm_widget_item_cursor_engine_only_get(item) \
_elm_widget_item_cursor_engine_only_get((const Elm_Widget_Item *)item)
/**
* Convenience function to query item's content set hook.
* @see _elm_widget_item_content_set_hook_set()
*/
#define elm_widget_item_content_set_hook_set(item, func) \
_elm_widget_item_content_set_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Content_Set_Cb)func)
/**
* Convenience function to query item's content get hook.
* @see _elm_widget_item_content_get_hook_set()
*/
#define elm_widget_item_content_get_hook_set(item, func) \
_elm_widget_item_content_get_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Content_Get_Cb)func)
/**
* Convenience function to query item's content unset hook.
* @see _elm_widget_item_content_unset_hook_set()
*/
#define elm_widget_item_content_unset_hook_set(item, func) \
_elm_widget_item_content_unset_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Content_Unset_Cb)func)
/**
* Convenience function to query item's text set hook.
* @see _elm_widget_item_text_set_hook_set()
*/
#define elm_widget_item_text_set_hook_set(item, func) \
_elm_widget_item_text_set_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Text_Set_Cb)func)
/**
* Convenience function to query item's text get hook.
* @see _elm_widget_item_text_get_hook_set()
*/
#define elm_widget_item_text_get_hook_set(item, func) \
_elm_widget_item_text_get_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Text_Get_Cb)func)
/**
* Convenience function to query item's signal emit hook.
* @see _elm_widget_item_signal_emit_hook_set()
*/
#define elm_widget_item_signal_emit_hook_set(item, func) \
_elm_widget_item_signal_emit_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Signal_Emit_Cb)func)
/**
* Convenience function to query disable get hook.
* @see _elm_widget_item_disabled_get()
*/
#define elm_widget_item_disabled_get(item) \
_elm_widget_item_disabled_get((Elm_Widget_Item *)item)
/**
* Convenience function to query disable set hook.
* @see _elm_widget_item_disable_hook_set()
*/
#define elm_widget_item_disable_hook_set(item, func) \
_elm_widget_item_disable_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Disable_Cb)func)
/**
* Convenience function to query del pre hook.
* @see _elm_widget_item_del_pre_hook_set()
*/
#define elm_widget_item_del_pre_hook_set(item, func) \
_elm_widget_item_del_pre_hook_set((Elm_Widget_Item *)item, (Elm_Widget_Del_Pre_Cb)func)
/**
* Convenience function to query track_cancel.
* @see _elm_widget_item_del_pre_hook_set()
*/
#define elm_widget_item_track_cancel(item) \
_elm_widget_item_track_cancel((Elm_Widget_Item *)item)
/**
* Convenience function to query translate hook.
* @see _elm_widget_item_track_cancel()
*/
#define elm_widget_item_translate(item) \
_elm_widget_item_translate((Elm_Widget_Item *)item)
/**
* Convenience function to save additional text part content.
* @see _elm_widget_item_part_text_custom_set()
*/
#define elm_widget_item_part_text_custom_set(item, part, text) \
_elm_widget_item_part_text_custom_set((Elm_Widget_Item *)item, part, text)
/**
* Convenience function to get additional text part content.
* @see _elm_widget_item_part_text_custom_set()
*/
#define elm_widget_item_part_text_custom_get(item, part) \
_elm_widget_item_part_text_custom_get((Elm_Widget_Item *)item, part)
/**
* Convenience function to update additional text part content.
* @see _elm_widget_item_part_text_custom_set()
*/
#define elm_widget_item_part_text_custom_update(item) \
_elm_widget_item_part_text_custom_update((Elm_Widget_Item *)item)
#define ELM_WIDGET_ITEM_CHECK_OR_RETURN(item, ...) \
do { \
if (!item) { \
CRITICAL("Elm_Widget_Item " # item " is NULL"); \
return __VA_ARGS__; \
} \
if (!EINA_MAGIC_CHECK(item, ELM_WIDGET_ITEM_MAGIC)) { \
EINA_MAGIC_FAIL(item, ELM_WIDGET_ITEM_MAGIC); \
return __VA_ARGS__; \
} \
} while (0)
#define ELM_WIDGET_ITEM_CHECK_OR_GOTO(item, label) \
do { \
if (!item) { \
CRITICAL("Elm_Widget_Item " # item " is NULL"); \
goto label; \
} \
if (!EINA_MAGIC_CHECK(item, ELM_WIDGET_ITEM_MAGIC)) { \
EINA_MAGIC_FAIL(item, ELM_WIDGET_ITEM_MAGIC); \
goto label; \
} \
} while (0)
/* to be used by INTERNAL classes on Elementary, so that the widgets
* parsing script skips it */
#define ELM_INTERNAL_SMART_SUBCLASS_NEW EVAS_SMART_SUBCLASS_NEW
EAPI Eina_Bool elm_selection_selection_has_owner(Evas_Object *obj);
#define ELM_OBJ_WIDGET_CLASS elm_widget_class_get()
const Eo_Class *elm_widget_class_get(void) EINA_CONST;
extern EAPI Eo_Op ELM_WIDGET_BASE_ID;
enum
{
ELM_WIDGET_SUB_ID_ON_FOCUS,
ELM_WIDGET_SUB_ID_DISABLE,
ELM_WIDGET_SUB_ID_THEME,
ELM_WIDGET_SUB_ID_TRANSLATE,
ELM_WIDGET_SUB_ID_EVENT,
ELM_WIDGET_SUB_ID_ON_FOCUS_REGION,
ELM_WIDGET_SUB_ID_FOCUS_NEXT_MANAGER_IS,
ELM_WIDGET_SUB_ID_FOCUS_NEXT,
ELM_WIDGET_SUB_ID_FOCUS_DIRECTION_MANAGER_IS,
ELM_WIDGET_SUB_ID_FOCUS_DIRECTION,
ELM_WIDGET_SUB_ID_SUB_OBJECT_ADD,
ELM_WIDGET_SUB_ID_SUB_OBJECT_DEL,
ELM_WIDGET_SUB_ID_ACCESS,
ELM_WIDGET_SUB_ID_PARENT_SET,
ELM_WIDGET_SUB_ID_PARENT_GET,
ELM_WIDGET_SUB_ID_PARENT2_SET,
ELM_WIDGET_SUB_ID_PARENT2_GET,
ELM_WIDGET_SUB_ID_ACTIVATE,
ELM_WIDGET_SUB_ID_MIRRORED_GET,
ELM_WIDGET_SUB_ID_MIRRORED_SET,
ELM_WIDGET_SUB_ID_MIRRORED_AUTOMATIC_GET,
ELM_WIDGET_SUB_ID_MIRRORED_AUTOMATIC_SET,
ELM_WIDGET_SUB_ID_HIGHLIGHT_IGNORE_SET,
ELM_WIDGET_SUB_ID_HIGHLIGHT_IGNORE_GET,
ELM_WIDGET_SUB_ID_HIGHLIGHT_IN_THEME_SET,
ELM_WIDGET_SUB_ID_HIGHLIGHT_IN_THEME_GET,
ELM_WIDGET_SUB_ID_SCROLL_HOLD_PUSH,
ELM_WIDGET_SUB_ID_SCROLL_HOLD_POP,
ELM_WIDGET_SUB_ID_SCROLL_HOLD_GET,
ELM_WIDGET_SUB_ID_SCROLL_FREEZE_PUSH,
ELM_WIDGET_SUB_ID_SCROLL_FREEZE_POP,
ELM_WIDGET_SUB_ID_SCROLL_FREEZE_GET,
ELM_WIDGET_SUB_ID_ON_SHOW_REGION_HOOK_SET,
ELM_WIDGET_SUB_ID_RESIZE_OBJECT_SET,
ELM_WIDGET_SUB_ID_HOVER_OBJECT_SET,
ELM_WIDGET_SUB_ID_CAN_FOCUS_SET,
ELM_WIDGET_SUB_ID_CAN_FOCUS_GET,
ELM_WIDGET_SUB_ID_CHILD_CAN_FOCUS_GET,
ELM_WIDGET_SUB_ID_FOCUS_GET,
ELM_WIDGET_SUB_ID_HIGHLIGHT_GET,
ELM_WIDGET_SUB_ID_FOCUSED_OBJECT_GET,
ELM_WIDGET_SUB_ID_TOP_GET,
ELM_WIDGET_SUB_ID_PARENT_WIDGET_GET,
ELM_WIDGET_SUB_ID_FOCUS_SET,
ELM_WIDGET_SUB_ID_FOCUSED_OBJECT_CLEAR,
ELM_WIDGET_SUB_ID_FOCUS_STEAL,
ELM_WIDGET_SUB_ID_FOCUS_RESTORE,
ELM_WIDGET_SUB_ID_DISABLED_SET,
ELM_WIDGET_SUB_ID_DISABLED_GET,
ELM_WIDGET_SUB_ID_SHOW_REGION_SET,
ELM_WIDGET_SUB_ID_SHOW_REGION_GET,
ELM_WIDGET_SUB_ID_PARENTS_BOUNCE_GET,
ELM_WIDGET_SUB_ID_SCROLLABLE_CHILDREN_GET,
ELM_WIDGET_SUB_ID_SCALE_SET,
ELM_WIDGET_SUB_ID_SCALE_GET,
ELM_WIDGET_SUB_ID_PART_TEXT_SET,
ELM_WIDGET_SUB_ID_PART_TEXT_GET,
ELM_WIDGET_SUB_ID_DOMAIN_TRANSLATABLE_PART_TEXT_SET,
ELM_WIDGET_SUB_ID_TRANSLATABLE_PART_TEXT_GET,
ELM_WIDGET_SUB_ID_DOMAIN_PART_TEXT_TRANSLATABLE_SET,
ELM_WIDGET_SUB_ID_PART_TEXT_TRANSLATE,
ELM_WIDGET_SUB_ID_ACCESS_INFO_SET,
ELM_WIDGET_SUB_ID_ACCESS_INFO_GET,
ELM_WIDGET_SUB_ID_THEME_SET,
ELM_WIDGET_SUB_ID_THEME_GET,
ELM_WIDGET_SUB_ID_STYLE_SET,
ELM_WIDGET_SUB_ID_STYLE_GET,
ELM_WIDGET_SUB_ID_TOOLTIP_ADD,
ELM_WIDGET_SUB_ID_TOOLTIP_DEL,
ELM_WIDGET_SUB_ID_CURSOR_ADD,
ELM_WIDGET_SUB_ID_CURSOR_DEL,
ELM_WIDGET_SUB_ID_DRAG_LOCK_X_SET,
ELM_WIDGET_SUB_ID_DRAG_LOCK_Y_SET,
ELM_WIDGET_SUB_ID_DRAG_LOCK_X_GET,
ELM_WIDGET_SUB_ID_DRAG_LOCK_Y_GET,
ELM_WIDGET_SUB_ID_DRAG_CHILD_LOCKED_X_GET,
ELM_WIDGET_SUB_ID_DRAG_CHILD_LOCKED_Y_GET,
ELM_WIDGET_SUB_ID_EVENT_CALLBACK_ADD,
ELM_WIDGET_SUB_ID_EVENT_CALLBACK_DEL,
ELM_WIDGET_SUB_ID_EVENT_PROPAGATE,
ELM_WIDGET_SUB_ID_SIGNAL_EMIT,
ELM_WIDGET_SUB_ID_SIGNAL_CALLBACK_ADD,
ELM_WIDGET_SUB_ID_SIGNAL_CALLBACK_DEL,
ELM_WIDGET_SUB_ID_NAME_FIND,
ELM_WIDGET_SUB_ID_FOCUS_HIDE_HANDLE,
ELM_WIDGET_SUB_ID_FOCUS_MOUSE_UP_HANDLE,
ELM_WIDGET_SUB_ID_FOCUS_TREE_UNFOCUSABLE_HANDLE,
ELM_WIDGET_SUB_ID_FOCUS_DISABLED_HANDLE,
ELM_WIDGET_SUB_ID_FOCUS_ORDER_GET,
ELM_WIDGET_SUB_ID_FOCUS_REGION_GET,
ELM_WIDGET_SUB_ID_FOCUS_REGION_SHOW,
ELM_WIDGET_SUB_ID_THEME_OBJECT_SET,
ELM_WIDGET_SUB_ID_ORIENTATION_SET,
ELM_WIDGET_SUB_ID_ORIENTATION_MODE_DISABLED_SET,
ELM_WIDGET_SUB_ID_ORIENTATION_MODE_DISABLED_GET,
/* internal */
ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_SET,
ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_GET,
ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_UNSET,
ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_APPEND,
ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_PREPEND,
ELM_WIDGET_SUB_ID_FOCUS_CYCLE,
ELM_WIDGET_SUB_ID_FOCUS_DIRECTION_GO,
ELM_WIDGET_SUB_ID_FOCUS_DIRECTION_GET,
ELM_WIDGET_SUB_ID_FOCUS_LIST_DIRECTION_GET,
ELM_WIDGET_SUB_ID_FOCUS_NEXT_GET,
ELM_WIDGET_SUB_ID_FOCUS_LIST_NEXT_GET,
ELM_WIDGET_SUB_ID_FOCUS_NEXT_OBJECT_GET,
ELM_WIDGET_SUB_ID_FOCUS_NEXT_OBJECT_SET,
ELM_WIDGET_SUB_ID_PARENT_HIGHLIGHT_SET,
ELM_WIDGET_SUB_ID_DISPLAY_MODE_SET,
ELM_WIDGET_SUB_ID_DISPLAY_MODE_GET,
ELM_WIDGET_SUB_ID_TREE_UNFOCUSABLE_SET,
ELM_WIDGET_SUB_ID_TREE_UNFOCUSABLE_GET,
ELM_WIDGET_SUB_ID_CAN_FOCUS_CHILD_LIST_GET,
ELM_WIDGET_SUB_ID_NEWEST_FOCUS_ORDER_GET,
#if 0
ELM_WIDGET_SUB_ID_THEME, /* API + virtual*/
ELM_WIDGET_SUB_ID_THEME_SPECIFIC,
ELM_WIDGET_SUB_ID_TRANSLATE, /* API + virtual*/
#endif
ELM_WIDGET_SUB_ID_LAST
};
typedef void (*region_hook_func_type)(void *data, Evas_Object *obj);
typedef void * (*list_data_get_func_type)(const Eina_List * l);
#define ELM_WIDGET_ID(sub_id) (ELM_WIDGET_BASE_ID + sub_id)
/**
* @def elm_wdg_on_focus
* @since 1.8
*
* 'Virtual' function handling focus in/out events on the widget.
*
* @param[out] ret @c EINA_TRUE if this widget can handle focus, EINA_FALSE
* otherise.
*
*/
#define elm_wdg_on_focus(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ON_FOCUS), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_disable
* @since 1.8
*
* 'Virtual' function on the widget being disabled.
*
* @param[out] ret
*
*/
#define elm_wdg_disable(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DISABLE), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_theme
* @since 1.8
*
* 'Virtual' function on the widget being re-themed.
*
* @param[out] ret
*
*/
#define elm_wdg_theme(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_THEME), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_translate
* @since 1.8
*
* 'Virtual' function handling language changes on Elementary.
*
* @param[out] ret
*
*/
#define elm_wdg_translate(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TRANSLATE), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_event
* @since 1.8
*
* 'Virtual' function handling input events on the widget.
*
* @param[in] source
* @param[in] type
* @param[in] event_info
* @param[out] ret
*
*/
#define elm_wdg_event(source, type, event_info, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_EVENT), EO_TYPECHECK(Evas_Object *, source), EO_TYPECHECK(Evas_Callback_Type, type), EO_TYPECHECK(void *, event_info), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_on_focus_region
* @since 1.8
*
* 'Virtual' function returning an inner area of a widget that should be brought
* into the visible area of a broader viewport, may this context arise.
*
* @param[out] x
* @param[out] y
* @param[out] w
* @param[out] h
* @param[out] ret
*
*/
#define elm_wdg_on_focus_region(x, y, w, h, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ON_FOCUS_REGION), EO_TYPECHECK(Evas_Coord *, x), EO_TYPECHECK(Evas_Coord *, y), EO_TYPECHECK(Evas_Coord *, w), EO_TYPECHECK(Evas_Coord *, h), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_focus_next_manager_is
* @since 1.8
*
* 'Virtual' function which checks if handling of passing focus to sub-objects
* is supported by widget.
*
* @param[out] ret
*
*/
#define elm_wdg_focus_next_manager_is(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_NEXT_MANAGER_IS), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_focus_next
* @since 1.8
*
* 'Virtual' function handling passing focus to sub-objects.
*
* @param[in] dir
* @param[out] next
* @param[out] ret
*
*/
#define elm_wdg_focus_next(dir, next, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_NEXT), EO_TYPECHECK(Elm_Focus_Direction, dir), EO_TYPECHECK(Evas_Object **, next), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_focus_direction_manager_is
* @since 1.8
*
* 'Virtual' function which checks if handling of passing focus to sub-objects
* in given direction is supported by widget.
*
* @param[out] ret
*
*/
#define elm_wdg_focus_direction_manager_is(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_DIRECTION_MANAGER_IS), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_focus_direction
* @since 1.8
*
* 'Virtual' function handling passing focus to sub-objects given a direction,
* in degrees.
*
* @param[in] base
* @param[in] degree
* @param[out] direction
* @param[out] weight
* @param[out] ret
*
*/
#define elm_wdg_focus_direction(base, degree, direction, weight, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_DIRECTION), EO_TYPECHECK(const Evas_Object *, base), EO_TYPECHECK(double, degree), EO_TYPECHECK(Evas_Object **, direction), EO_TYPECHECK(double *, weight), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_sub_object_add
* @since 1.8
*
* 'Virtual' function handling sub objects being added.
*
* @param[in] sobj
* @param[out] ret
*
*/
#define elm_wdg_sub_object_add(sobj, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SUB_OBJECT_ADD), EO_TYPECHECK(Evas_Object *, sobj), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_sub_object_del
* @since 1.8
*
* 'Virtual' function handling sub objects being removed.
*
* @param[in] sobj
* @param[out] ret
*
*/
#define elm_wdg_sub_object_del(sobj, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SUB_OBJECT_DEL), EO_TYPECHECK(Evas_Object *, sobj), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_access
* @since 1.8
*
* 'Virtual' function on the widget being set access.
*
* @param[in] is_access
*
*/
#define elm_wdg_access(is_access) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ACCESS), EO_TYPECHECK(Eina_Bool, is_access)
/**
* @def elm_wdg_parent_set
* @since 1.8
*
* 'Virtual' function handling parent widget attachment to new object.
*
* @param[in] parent
*
*/
#define elm_wdg_parent_set(parent) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PARENT_SET), EO_TYPECHECK(Evas_Object *, parent)
/**
* @def elm_wdg_parent_get
* @since 1.8
*
* 'Virtual' function handling getting object's parent widget.
*
* @param[out] parent
*
*/
#define elm_wdg_parent_get(parent) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PARENT_GET), EO_TYPECHECK(Evas_Object **, parent)
/**
* @def elm_wdg_parent2_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] parent
*
*/
#define elm_wdg_parent2_set(parent) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PARENT_SET), EO_TYPECHECK(Evas_Object *, parent)
/**
* @def elm_wdg_parent2_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] parent
*
*/
#define elm_wdg_parent2_get(parent) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PARENT_GET), EO_TYPECHECK(Evas_Object **, parent)
/**
* @def elm_wdg_activate
* @since 1.8
*
* 'Virtual' function to activate widget.
*
* @param[in] act
* @param[out] ret
*
*/
#define elm_wdg_activate(act, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ACTIVATE), EO_TYPECHECK(Elm_Activate, act), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_mirrored_get
* @since 1.8
*
* Returns the widget's mirrored mode.
*
* @param[out] ret
*
*/
#define elm_wdg_mirrored_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_MIRRORED_GET), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_mirrored_set
* @since 1.8
*
* Sets the widget's mirrored mode.
*
* @param[in] mirrored
*
*/
#define elm_wdg_mirrored_set(mirrored) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_MIRRORED_SET), EO_TYPECHECK(Eina_Bool, mirrored)
/**
* @def elm_wdg_mirrored_automatic_get
* @since 1.8
*
* Returns the widget's mirrored mode setting.
*
* @param[out] ret
*
*/
#define elm_wdg_mirrored_automatic_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_MIRRORED_AUTOMATIC_GET), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_mirrored_automatic_set
* @since 1.8
*
* Sets the widget's mirrored mode setting.
*
* @param[in] automatic
*
*/
#define elm_wdg_mirrored_automatic_set(automatic) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_MIRRORED_AUTOMATIC_SET), EO_TYPECHECK(Eina_Bool, automatic)
/**
* @def elm_wdg_highlight_ignore_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] ignore
*
*/
#define elm_wdg_highlight_ignore_set(ignore) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_HIGHLIGHT_IGNORE_SET), EO_TYPECHECK(Eina_Bool, ignore)
/**
* @def elm_wdg_highlight_ignore_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_highlight_ignore_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_HIGHLIGHT_IGNORE_GET), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_highlight_in_theme_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] highlight
*
*/
#define elm_wdg_highlight_in_theme_set(highlight) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_HIGHLIGHT_IN_THEME_SET), EO_TYPECHECK(Eina_Bool, highlight)
/**
* @def elm_wdg_highlight_in_theme_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_highlight_in_theme_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_HIGHLIGHT_IN_THEME_GET), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_scroll_hold_push
* @since 1.8
*
* No description supplied by the EAPI.
*
*/
#define elm_wdg_scroll_hold_push() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCROLL_HOLD_PUSH)
/**
* @def elm_wdg_scroll_hold_pop
* @since 1.8
*
* No description supplied by the EAPI.
*
*/
#define elm_wdg_scroll_hold_pop() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCROLL_HOLD_POP)
/**
* @def elm_wdg_scroll_hold_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_scroll_hold_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCROLL_HOLD_GET), EO_TYPECHECK(int *, ret)
/**
* @def elm_wdg_scroll_freeze_push
* @since 1.8
*
* No description supplied by the EAPI.
*
*/
#define elm_wdg_scroll_freeze_push() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCROLL_FREEZE_PUSH)
/**
* @def elm_wdg_scroll_freeze_pop
* @since 1.8
*
* No description supplied by the EAPI.
*
*/
#define elm_wdg_scroll_freeze_pop() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCROLL_FREEZE_POP)
/**
* @def elm_wdg_scroll_freeze_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_scroll_freeze_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCROLL_FREEZE_GET), EO_TYPECHECK(int *, ret)
/**
* @def elm_wdg_on_show_region_hook_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] func
* @param[in] data
*
*/
#define elm_wdg_on_show_region_hook_set(func, data) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ON_SHOW_REGION_HOOK_SET), EO_TYPECHECK(region_hook_func_type, func), EO_TYPECHECK(void *, data)
/**
* @def elm_wdg_resize_object_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] sobj
* @param[in] sub_object
*
*/
#define elm_wdg_resize_object_set(sobj, sub_obj) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_RESIZE_OBJECT_SET), EO_TYPECHECK(Evas_Object *, sobj), EO_TYPECHECK(Eina_Bool, sub_obj)
/**
* @def elm_wdg_hover_object_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] sobj
*
*/
#define elm_wdg_hover_object_set(sobj) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_HOVER_OBJECT_SET), EO_TYPECHECK(Evas_Object *, sobj)
/**
* @def elm_wdg_can_focus_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] can_focus
*
*/
#define elm_wdg_can_focus_set(can_focus) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_CAN_FOCUS_SET), EO_TYPECHECK(Eina_Bool, can_focus)
/**
* @def elm_wdg_can_focus_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_can_focus_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_CAN_FOCUS_GET), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_child_can_focus_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_child_can_focus_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_CHILD_CAN_FOCUS_GET), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_focus_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_focus_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_GET), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_highlight_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_highlight_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_HIGHLIGHT_GET), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_focused_object_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_focused_object_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUSED_OBJECT_GET), EO_TYPECHECK(Evas_Object **, ret)
/**
* @def elm_wdg_top_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_top_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TOP_GET), EO_TYPECHECK(Evas_Object **, ret)
/**
* @def elm_wdg_parent_widget_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_parent_widget_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PARENT_WIDGET_GET), EO_TYPECHECK(Evas_Object **, ret)
/**
* @def elm_wdg_focus_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] first
*
*/
#define elm_wdg_focus_set(first) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_SET), EO_TYPECHECK(int, first)
/**
* @def elm_wdg_focused_object_clear
* @since 1.8
*
* No description supplied by the EAPI.
*
*/
#define elm_wdg_focused_object_clear() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUSED_OBJECT_CLEAR)
/**
* @def elm_wdg_focus_steal
* @since 1.8
*
* No description supplied by the EAPI.
*
*/
#define elm_wdg_focus_steal() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_STEAL)
/**
* @def elm_wdg_focus_restore
* @since 1.8
*
* No description supplied by the EAPI.
*
*/
#define elm_wdg_focus_restore() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_RESTORE)
/**
* @def elm_wdg_disabled_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] disabled
*
*/
#define elm_wdg_disabled_set(disabled) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DISABLED_SET), EO_TYPECHECK(Eina_Bool, disabled)
/**
* @def elm_wdg_disabled_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_disabled_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DISABLED_GET), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_show_region_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] x
* @param[in] y
* @param[in] w
* @param[in] h
* @param[in] forceshow
*
*/
#define elm_wdg_show_region_set(x, y, w, h, forceshow) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SHOW_REGION_SET), EO_TYPECHECK(Evas_Coord, x), EO_TYPECHECK(Evas_Coord, y), EO_TYPECHECK(Evas_Coord, w), EO_TYPECHECK(Evas_Coord, h), EO_TYPECHECK(Eina_Bool, forceshow)
/**
* @def elm_wdg_show_region_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] x
* @param[out] y
* @param[out] w
* @param[out] h
*
*/
#define elm_wdg_show_region_get(x, y, w, h) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SHOW_REGION_GET), EO_TYPECHECK(Evas_Coord *, x), EO_TYPECHECK(Evas_Coord *, y), EO_TYPECHECK(Evas_Coord *, w), EO_TYPECHECK(Evas_Coord *, h)
/**
* @def elm_wdg_parents_bounce_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] horiz
* @param[out] vert
*
*/
#define elm_wdg_parents_bounce_get(horiz, vert) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PARENTS_BOUNCE_GET), EO_TYPECHECK(Eina_Bool *, horiz), EO_TYPECHECK(Eina_Bool *, vert)
/**
* @def elm_wdg_scrollable_children_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_scrollable_children_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCROLLABLE_CHILDREN_GET), EO_TYPECHECK(Eina_List **, ret)
/**
* @def elm_wdg_scale_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] scale
*
*/
#define elm_wdg_scale_set(scale) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCALE_SET), EO_TYPECHECK(double, scale)
/**
* @def elm_wdg_scale_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_scale_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SCALE_GET), EO_TYPECHECK(double *, ret)
/**
* @def elm_wdg_part_text_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] part
* @param[in] label
*
*/
#define elm_wdg_part_text_set(part, label) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PART_TEXT_SET), EO_TYPECHECK(const char *, part), EO_TYPECHECK(const char *, label)
/**
* @def elm_wdg_part_text_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] part
* @param[out] ret
*
*/
#define elm_wdg_part_text_get(part, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PART_TEXT_GET), EO_TYPECHECK(const char *, part), EO_TYPECHECK(const char **, ret)
/**
* @def elm_wdg_domain_translatable_part_text_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] part
* @param[in] domain
* @param[in] label
*
*/
#define elm_wdg_domain_translatable_part_text_set(part, domain, label) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DOMAIN_TRANSLATABLE_PART_TEXT_SET), EO_TYPECHECK(const char *, part), EO_TYPECHECK(const char *, domain), EO_TYPECHECK(const char *, label)
/**
* @def elm_wdg_translatable_part_text_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] part
* @param[out] ret
*
*/
#define elm_wdg_translatable_part_text_get(part, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TRANSLATABLE_PART_TEXT_GET), EO_TYPECHECK(const char *, part), EO_TYPECHECK(const char **, ret)
/**
* @def elm_wdg_domain_part_text_translatable_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] part
* @param[in] domain
* @param[in] translatable
*
*/
#define elm_wdg_domain_part_text_translatable_set(part, domain, translatable) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DOMAIN_PART_TEXT_TRANSLATABLE_SET), EO_TYPECHECK(const char *, part), EO_TYPECHECK(const char *, domain), EO_TYPECHECK(Eina_Bool, translatable)
/**
* @def elm_wdg_part_text_translate
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] part
* @param[in] text
* @param[out] ret
*
*/
#define elm_wdg_part_text_translate(part, text, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PART_TEXT_TRANSLATE), EO_TYPECHECK(const char *, part), EO_TYPECHECK(const char *, text), EO_TYPECHECK(const char **, ret)
/**
* @def elm_wdg_access_info_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] txt
*
*/
#define elm_wdg_access_info_set(txt) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ACCESS_INFO_SET), EO_TYPECHECK(const char *, txt)
/**
* @def elm_wdg_access_info_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_access_info_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ACCESS_INFO_GET), EO_TYPECHECK(const char **, ret)
/**
* @def elm_wdg_theme_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] th
*
*/
#define elm_wdg_theme_set(th) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_THEME_SET), EO_TYPECHECK(Elm_Theme *, th)
/**
* @def elm_wdg_theme_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_theme_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_THEME_GET), EO_TYPECHECK(Elm_Theme **, ret)
/**
* @def elm_wdg_style_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] style
* @param[out] ret
*
*/
#define elm_wdg_style_set(style, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_STYLE_SET), EO_TYPECHECK(const char *, style), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_style_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_style_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_STYLE_GET), EO_TYPECHECK(const char **, ret)
/**
* @def elm_wdg_tooltip_add
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] tt
*
*/
#define elm_wdg_tooltip_add(tt) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TOOLTIP_ADD), EO_TYPECHECK(Elm_Tooltip *, tt)
/**
* @def elm_wdg_tooltip_del
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] tt
*
*/
#define elm_wdg_tooltip_del(tt) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TOOLTIP_DEL), EO_TYPECHECK(Elm_Tooltip *, tt)
/**
* @def elm_wdg_cursor_add
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] cur
*
*/
#define elm_wdg_cursor_add(cur) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_CURSOR_ADD), EO_TYPECHECK(Elm_Cursor *, cur)
/**
* @def elm_wdg_cursor_del
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] cur
*
*/
#define elm_wdg_cursor_del(cur) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_CURSOR_DEL), EO_TYPECHECK(Elm_Cursor *, cur)
/**
* @def elm_wdg_drag_lock_x_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] lock
*
*/
#define elm_wdg_drag_lock_x_set(lock) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DRAG_LOCK_X_SET), EO_TYPECHECK(Eina_Bool, lock)
/**
* @def elm_wdg_drag_lock_y_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] lock
*
*/
#define elm_wdg_drag_lock_y_set(lock) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DRAG_LOCK_Y_SET), EO_TYPECHECK(Eina_Bool, lock)
/**
* @def elm_wdg_drag_lock_x_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_drag_lock_x_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DRAG_LOCK_X_GET), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_drag_lock_y_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_drag_lock_y_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DRAG_LOCK_Y_GET), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_drag_child_locked_x_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_drag_child_locked_x_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DRAG_CHILD_LOCKED_X_GET), EO_TYPECHECK(int *, ret)
/**
* @def elm_wdg_drag_child_locked_y_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_drag_child_locked_y_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DRAG_CHILD_LOCKED_Y_GET), EO_TYPECHECK(int *, ret)
/**
* @def elm_wdg_event_callback_add
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] func
* @param[in] data
*
*/
#define elm_wdg_event_callback_add(func, data) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_EVENT_CALLBACK_ADD), EO_TYPECHECK(Elm_Event_Cb, func), EO_TYPECHECK(const void *, data)
/**
* @def elm_wdg_event_callback_del
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] func
* @param[in] data
* @param[out] ret
*
*/
#define elm_wdg_event_callback_del(func, data, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_EVENT_CALLBACK_DEL), EO_TYPECHECK(Elm_Event_Cb, func), EO_TYPECHECK(const void *, data), EO_TYPECHECK(void **, ret)
/**
* @def elm_wdg_event_propagate
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] type
* @param[in] event_info
* @param[in] event_flags
* @param[out] ret
*
*/
#define elm_wdg_event_propagate(type, event_info, event_flags, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_EVENT_PROPAGATE), EO_TYPECHECK(Evas_Callback_Type, type), EO_TYPECHECK(void *, event_info), EO_TYPECHECK(Evas_Event_Flags *, event_flags), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_signal_emit
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] emission
* @param[in] source
*
*/
#define elm_wdg_signal_emit(emission, source) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SIGNAL_EMIT), EO_TYPECHECK(const char *, emission), EO_TYPECHECK(const char *, source)
/**
* @def elm_wdg_signal_callback_add
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] emission
* @param[in] source
* @param[in] func
* @param[in] data
*
*/
#define elm_wdg_signal_callback_add(emission, source, func, data) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SIGNAL_CALLBACK_ADD), EO_TYPECHECK(const char *, emission), EO_TYPECHECK(const char *, source), EO_TYPECHECK(Edje_Signal_Cb, func), EO_TYPECHECK(void *, data)
/**
* @def elm_wdg_signal_callback_del
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] emission
* @param[in] source
* @param[in] func
* @param[out] ret
*
*/
#define elm_wdg_signal_callback_del(emission, source, func, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_SIGNAL_CALLBACK_DEL), EO_TYPECHECK(const char *, emission), EO_TYPECHECK(const char *, source), EO_TYPECHECK(Edje_Signal_Cb, func), EO_TYPECHECK(void **, ret)
/**
* @def elm_wdg_name_find
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] name
* @param[in] recurse
* @param[out] ret
*
*/
#define elm_wdg_name_find(name, recurse, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_NAME_FIND), EO_TYPECHECK(const char *, name), EO_TYPECHECK(int, recurse), EO_TYPECHECK(Evas_Object **, ret)
/**
* @def elm_wdg_focus_hide_handle
* @since 1.8
*
* No description supplied by the EAPI.
*
*/
#define elm_wdg_focus_hide_handle() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_HIDE_HANDLE)
/**
* @def elm_wdg_focus_mouse_up_handle
* @since 1.8
*
* No description supplied by the EAPI.
*
*/
#define elm_wdg_focus_mouse_up_handle() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_MOUSE_UP_HANDLE)
/**
* @def elm_wdg_focus_tree_unfocusable_handle
* @since 1.8
*
* No description supplied by the EAPI.
*
*/
#define elm_wdg_focus_tree_unfocusable_handle() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_TREE_UNFOCUSABLE_HANDLE)
/**
* @def elm_wdg_focus_disabled_handle
* @since 1.8
*
* No description supplied by the EAPI.
*
*/
#define elm_wdg_focus_disabled_handle() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_DISABLED_HANDLE)
/**
* @def elm_wdg_focus_order_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_focus_order_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_ORDER_GET), EO_TYPECHECK(unsigned int *, ret)
/**
* @def elm_wdg_focus_region_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] x
* @param[out] y
* @param[out] w
* @param[out] h
* @param[out] ret
*
*/
#define elm_wdg_focus_region_get(x, y, w, h, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_REGION_GET), EO_TYPECHECK(Evas_Coord *, x), EO_TYPECHECK(Evas_Coord *, y), EO_TYPECHECK(Evas_Coord *, w), EO_TYPECHECK(Evas_Coord *, h), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_focus_region_show
* @since 1.8
*
* No description supplied by the EAPI.
*
*/
#define elm_wdg_focus_region_show() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_REGION_SHOW)
/**
* @def elm_wdg_theme_object_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] edj
* @param[in] wname
* @param[in] welement
* @param[in] wstyle
* @param[out] ret
*
*/
#define elm_wdg_theme_object_set(edj, wname, welement, wstyle, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_THEME_OBJECT_SET), EO_TYPECHECK(Evas_Object *, edj), EO_TYPECHECK(const char *, wname), EO_TYPECHECK(const char *, welement), EO_TYPECHECK(const char *, wstyle), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_focus_custom_chain_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] objs
*
*/
#define elm_wdg_focus_custom_chain_set(objs) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_SET), EO_TYPECHECK(Eina_List *, objs)
/**
* @def elm_wdg_focus_custom_chain_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_focus_custom_chain_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_GET), EO_TYPECHECK(const Eina_List **, ret)
/**
* @def elm_wdg_focus_custom_chain_unset
* @since 1.8
*
* No description supplied by the EAPI.
*
*/
#define elm_wdg_focus_custom_chain_unset() ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_UNSET)
/**
* @def elm_wdg_focus_custom_chain_append
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] child
* @param[in] relative_child
*
*/
#define elm_wdg_focus_custom_chain_append(child, relative_child) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_APPEND), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(Evas_Object *, relative_child)
/**
* @def elm_wdg_focus_custom_chain_prepend
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] child
* @param[in] relative_child
*
*/
#define elm_wdg_focus_custom_chain_prepend(child, relative_child) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_CUSTOM_CHAIN_PREPEND), EO_TYPECHECK(Evas_Object *, child), EO_TYPECHECK(Evas_Object *, relative_child)
/**
* @def elm_wdg_focus_cycle
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] dir
*
*/
#define elm_wdg_focus_cycle(dir) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_CYCLE), EO_TYPECHECK(Elm_Focus_Direction, dir)
/**
* @def elm_wdg_focus_direction_go
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] degree
* @param[out] ret
*
*/
#define elm_wdg_focus_direction_go(degree, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_DIRECTION_GO), EO_TYPECHECK(double, degree), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_focus_direction_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] base
* @param[in] degree
* @param[out] direction
* @param[out] weight
* @param[out] ret
*
*/
#define elm_wdg_focus_direction_get(base, degree, direction, weight, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_DIRECTION_GET), EO_TYPECHECK(const Evas_Object *, base), EO_TYPECHECK(double, degree), EO_TYPECHECK(Evas_Object **, direction), EO_TYPECHECK(double *, weight), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_focus_list_direction_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] base
* @param[in] items
* @param[in] list_data_get
* @param[in] degree
* @param[out] direction
* @param[out] weight
* @param[out] ret
*
*/
#define elm_wdg_focus_list_direction_get(base, items, list_data_get, degree, direction, weight, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_LIST_DIRECTION_GET), EO_TYPECHECK(const Evas_Object *, base), EO_TYPECHECK(const Eina_List *, items), EO_TYPECHECK(list_data_get_func_type, list_data_get), EO_TYPECHECK(double, degree), EO_TYPECHECK(Evas_Object **, direction), EO_TYPECHECK(double *, weight), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_focus_next_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] dir
* @param[out] next
* @param[out] ret
*
*/
#define elm_wdg_focus_next_get(dir, next, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_NEXT_GET), EO_TYPECHECK(Elm_Focus_Direction, dir), EO_TYPECHECK(Evas_Object **, next), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_focus_list_next_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] items
* @param[in] list_data_get
* @param[in] dir
* @param[out] next
* @param[out] ret
*
*/
#define elm_wdg_focus_list_next_get(items, list_data_get, dir, next, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_LIST_NEXT_GET), EO_TYPECHECK(const Eina_List *, items), EO_TYPECHECK(list_data_get_func_type, list_data_get), EO_TYPECHECK(Elm_Focus_Direction, dir), EO_TYPECHECK(Evas_Object **, next), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_focus_next_object_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] dir
* @param[out] ret
*
*/
#define elm_wdg_focus_next_object_get(dir, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_NEXT_OBJECT_GET), EO_TYPECHECK(Elm_Focus_Direction, dir), EO_TYPECHECK(Evas_Object **, ret)
/**
* @def elm_wdg_focus_next_object_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] next
* @param[in] dir
*
*/
#define elm_wdg_focus_next_object_set(next, dir) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_NEXT_OBJECT_SET), EO_TYPECHECK(Evas_Object *, next), EO_TYPECHECK(Elm_Focus_Direction, dir)
/**
* @def elm_wdg_parent_highlight_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] highlighted
*
*/
#define elm_wdg_parent_highlight_set(highlighted) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_PARENT_HIGHLIGHT_SET), EO_TYPECHECK(Eina_Bool, highlighted)
/**
* @def elm_wdg_display_mode_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] dispmode
*
*/
#define elm_wdg_display_mode_set(dispmode) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_DISPLAY_MODE_SET), EO_TYPECHECK(Evas_Display_Mode, dispmode)
/**
* @def elm_wdg_tree_unfocusable_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] tree_unfocusable
*
*/
#define elm_wdg_tree_unfocusable_set(tree_unfocusable) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TREE_UNFOCUSABLE_SET), EO_TYPECHECK(Eina_Bool, tree_unfocusable)
/**
* @def elm_wdg_tree_unfocusable_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_tree_unfocusable_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TREE_UNFOCUSABLE_GET), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_can_focus_child_list_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_can_focus_child_list_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_CAN_FOCUS_CHILD_LIST_GET), EO_TYPECHECK(Eina_List **, ret)
/**
* @def elm_wdg_newest_focus_order_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] newest_focus_order
* @param[in] can_focus_only
* @param[out] ret
*
*/
#define elm_wdg_newest_focus_order_get(newest_focus_order, can_focus_only, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_NEWEST_FOCUS_ORDER_GET), EO_TYPECHECK(unsigned int *, newest_focus_order), EO_TYPECHECK(Eina_Bool, can_focus_only), EO_TYPECHECK(Evas_Object **, ret)
/**
* @def elm_wdg_orientation_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[in] degree
* @param[out] ret
*
*/
#define elm_wdg_orientation_set(rotation, ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ORIENTATION_SET), EO_TYPECHECK(int, rotation), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_wdg_orientation_mode_disabled_set
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_orientation_mode_disabled_set(disabled) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ORIENTATION_MODE_DISABLED_SET), EO_TYPECHECK(Eina_Bool, disabled)
/**
* @def elm_wdg_orientation_mode_disabled_get
* @since 1.8
*
* No description supplied by the EAPI.
*
* @param[out] ret
*
*/
#define elm_wdg_orientation_mode_disabled_get(ret) ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ORIENTATION_MODE_DISABLED_GET), EO_TYPECHECK(Eina_Bool *, ret)
#endif
|