Lines Matching defs:widgets
415 #define NUM_RES_WIDGETS 25 /* # of widgets which have resources */
430 static Widget widgets[NUM_WIDGETS];
602 XmToggleButtonSetState(widgets[STICKY_KEYS_TGL],True,False);
611 XmToggleButtonSetState(widgets[STICKY_KEYS_TGL],False,False);
614 XtSetValues(widgets[SHIFT_LATCHED_LBL], argList, 1);
615 XtSetValues(widgets[SHIFT_LOCKED_LBL], argList, 1);
618 XtSetValues(widgets[CONTROL_LATCHED_LBL], argList, 1);
619 XtSetValues(widgets[CONTROL_LOCKED_LBL], argList, 1);
622 XtSetValues(widgets[MOD1_LATCHED_LBL], argList, 1);
623 XtSetValues(widgets[MOD1_LOCKED_LBL], argList, 1);
626 XtSetValues(widgets[MOD2_LATCHED_LBL], argList, 1);
627 XtSetValues(widgets[MOD2_LOCKED_LBL], argList, 1);
630 XtSetValues(widgets[MOD3_LATCHED_LBL], argList, 1);
631 XtSetValues(widgets[MOD3_LOCKED_LBL], argList, 1);
634 XtSetValues(widgets[MOD4_LATCHED_LBL], argList, 1);
635 XtSetValues(widgets[MOD4_LOCKED_LBL], argList, 1);
638 XtSetValues(widgets[MOD5_LATCHED_LBL], argList, 1);
639 XtSetValues(widgets[MOD5_LOCKED_LBL], argList, 1);
650 XmToggleButtonSetState(widgets[MOUSE_KEYS_TGL], True, False);
660 XmToggleButtonSetState(widgets[MOUSE_KEYS_TGL],False,False);
674 XmToggleButtonSetState(widgets[REPEAT_KEYS_TGL],True,False);
676 XmToggleButtonSetState(widgets[SLOW_KEYS_TGL],True,False);
677 XmToggleButtonSetState(widgets[BOUNCE_KEYS_TGL],False,False);
680 XmToggleButtonSetState(widgets[SLOW_KEYS_TGL],False,False);
681 XmToggleButtonSetState(widgets[BOUNCE_KEYS_TGL],True,False);
688 XmToggleButtonSetState(widgets[REPEAT_KEYS_TGL],False,False);
689 XmToggleButtonSetState(widgets[SLOW_KEYS_TGL],False,False);
690 XmToggleButtonSetState(widgets[BOUNCE_KEYS_TGL],False,False);
695 XmToggleButtonSetState(widgets[TOGGLE_KEYS_TGL],True,False);
699 XmToggleButtonSetState(widgets[TOGGLE_KEYS_TGL],False,False);
713 XtSetValues(widgets[SHIFT_LATCHED_LBL],argList,1);
717 XtSetValues(widgets[CONTROL_LATCHED_LBL],argList,1);
721 XtSetValues(widgets[MOD1_LATCHED_LBL],argList,1);
725 XtSetValues(widgets[MOD2_LATCHED_LBL],argList,1);
729 XtSetValues(widgets[MOD3_LATCHED_LBL],argList,1);
733 XtSetValues(widgets[MOD4_LATCHED_LBL],argList,1);
737 XtSetValues(widgets[MOD5_LATCHED_LBL],argList,1);
745 XtSetValues(widgets[SHIFT_LATCHED_LBL], argList, 1);
749 XtSetValues(widgets[CONTROL_LATCHED_LBL], argList, 1);
753 XtSetValues(widgets[MOD1_LATCHED_LBL],argList,1);
757 XtSetValues(widgets[MOD2_LATCHED_LBL],argList,1);
761 XtSetValues(widgets[MOD3_LATCHED_LBL],argList,1);
765 XtSetValues(widgets[MOD4_LATCHED_LBL],argList,1);
769 XtSetValues(widgets[MOD5_LATCHED_LBL],argList,1);
777 XtSetValues(widgets[SHIFT_LOCKED_LBL],argList,1);
781 XtSetValues(widgets[CONTROL_LOCKED_LBL],argList,1);
785 XtSetValues(widgets[MOD1_LOCKED_LBL],argList,1);
789 XtSetValues(widgets[MOD2_LOCKED_LBL],argList,1);
793 XtSetValues(widgets[MOD3_LOCKED_LBL],argList,1);
797 XtSetValues(widgets[MOD4_LOCKED_LBL],argList,1);
801 XtSetValues(widgets[MOD5_LOCKED_LBL],argList,1);
809 XtSetValues(widgets[SHIFT_LOCKED_LBL],argList,1);
813 XtSetValues(widgets[CONTROL_LOCKED_LBL],argList,1);
817 XtSetValues(widgets[MOD1_LOCKED_LBL],argList,1);
821 XtSetValues(widgets[MOD2_LOCKED_LBL],argList,1);
825 XtSetValues(widgets[MOD3_LOCKED_LBL],argList,1);
829 XtSetValues(widgets[MOD4_LOCKED_LBL],argList,1);
833 XtSetValues(widgets[MOD5_LOCKED_LBL],argList,1);
866 if (widgets[CURRENT_BUTTON_LBL]) {
867 XtSetValues(widgets[CURRENT_BUTTON_LBL], argList, 1);
875 XtSetValues(widgets[MB1_PRESSED_LBL], argList, 1);
877 XtSetValues(widgets[MB1_RELEASED_LBL], argList, 1);
881 XtSetValues(widgets[MB2_PRESSED_LBL], argList, 1);
883 XtSetValues(widgets[MB2_RELEASED_LBL], argList, 1);
887 XtSetValues(widgets[MB3_PRESSED_LBL], argList, 1);
889 XtSetValues(widgets[MB3_RELEASED_LBL], argList, 1);
894 XtSetValues(widgets[MB4_PRESSED_LBL], argList, 1);
896 XtSetValues(widgets[MB4_RELEASED_LBL], argList, 1);
900 XtSetValues(widgets[MB5_PRESSED_LBL], argList, 1);
902 XtSetValues(widgets[MB5_RELEASED_LBL], argList, 1);
913 XtSetValues(widgets[MB1_RELEASED_LBL], argList, 1);
915 XtSetValues(widgets[MB1_PRESSED_LBL], argList, 1);
919 XtSetValues(widgets[MB2_RELEASED_LBL], argList, 1);
921 XtSetValues(widgets[MB2_PRESSED_LBL], argList, 1);
925 XtSetValues(widgets[MB3_RELEASED_LBL], argList, 1);
927 XtSetValues(widgets[MB3_PRESSED_LBL], argList, 1);
932 XtSetValues(widgets[MB4_RELEASED_LBL], argList, 1);
934 XtSetValues(widgets[MB4_PRESSED_LBL], argList, 1);
938 XtSetValues(widgets[MB5_RELEASED_LBL], argList, 1);
940 XtSetValues(widgets[MB5_PRESSED_LBL], argList, 1);
1015 /* widgets in the interface. */
1066 if (XmToggleButtonGadgetGetState(widgets[ENABLE_ACCESSX_TGL]))
1069 if (XmToggleButtonGadgetGetState(widgets[ONOFF_SOUND_TGL]))
1072 if (XmToggleButtonGadgetGetState(widgets[TIME_OUT_TGL]))
1075 XtSetValues(widgets[TIME_OUT_SCL],argList,1);
1081 XtSetValues(widgets[TIME_OUT_SCL],argList,1);
1086 XtGetValues(widgets[TIME_OUT_SCL],argList,2);
1096 if (XmToggleButtonGadgetGetState(widgets[STICKY_KEYS_TGL]))
1101 if (XmToggleButtonGadgetGetState(widgets[MOUSE_KEYS_TGL]))
1106 if (XmToggleButtonGadgetGetState(widgets[TOGGLE_KEYS_TGL]))
1114 if (XmToggleButtonGadgetGetState(widgets[REPEAT_KEYS_TGL]))
1117 if (XmToggleButtonGadgetGetState(widgets[SLOW_KEYS_TGL]))
1120 if (XmToggleButtonGadgetGetState(widgets[BOUNCE_KEYS_TGL]))
1128 if (XmToggleButtonGadgetGetState(widgets[STICKY_TWO_KEYS_TGL]))
1131 if (XmToggleButtonGadgetGetState(widgets[STICKY_MOD_SOUND_TGL]))
1144 XtGetValues(widgets[MOUSE_MAX_SPEED_SCL],argList,2);
1151 XtGetValues(widgets[MOUSE_TIME_TO_MAX_SCL],argList,2);
1158 XtGetValues(widgets[MOUSE_DELAY_SCL],argList,2);
1170 XtGetValues(widgets[KRG_REPEAT_RATE_SCL],argList,2);
1177 XtGetValues(widgets[KRG_REPEAT_DELAY_SCL],argList,2);
1187 if (XmToggleButtonGadgetGetState(widgets[KRG_PRESS_SOUND_TGL]))
1190 if (XmToggleButtonGadgetGetState(widgets[KRG_ACCEPT_SOUND_TGL]))
1195 XtGetValues(widgets[KRG_SLOW_DELAY_SCL],argList,2);
1207 XtGetValues(widgets[KRG_DEBOUNCE_SCL],argList,2);
1243 if (XmToggleButtonGadgetGetState(widgets[i])) {
1250 XtGetValues(widgets[TIME_OUT_SCL],argList,2);
1256 if (XmToggleButtonGadgetGetState(widgets[TIME_OUT_TGL])) {
1264 XtSetValues(widgets[TIME_OUT_SCL],argList,1);
1270 XtSetValues(widgets[TIME_OUT_SCL],argList,1);
1273 /* The only thing we want to do a GetValues on are the scale widgets,
1282 XtGetValues(widgets[KRG_REPEAT_DELAY_SCL],argList,2);
1290 XtGetValues(widgets[KRG_REPEAT_RATE_SCL],argList,2);
1298 XtGetValues(widgets[KRG_SLOW_DELAY_SCL],argList,2);
1306 XtGetValues(widgets[KRG_DEBOUNCE_SCL],argList,2);
1314 XtGetValues(widgets[MOUSE_TIME_TO_MAX_SCL],argList,2);
1321 XtGetValues(widgets[MOUSE_MAX_SPEED_SCL],argList,2);
1393 XmToggleButtonSetState(widgets[i], False, False);
1395 XtSetValues(widgets[TIME_OUT_SCL],argList,1);
1397 XmToggleButtonSetState(widgets[ENABLE_ACCESSX_TGL], True, False);
1398 /*XmToggleButtonSetState(widgets[TIME_OUT_TGL], False, False);*/
1402 XmToggleButtonSetState(widgets[i], False, False);
1408 XtGetValues(widgets[MOUSE_TIME_TO_MAX_SCL],argList,1);
1409 XmScaleSetValue(widgets[MOUSE_TIME_TO_MAX_SCL], 2);
1413 XtGetValues(widgets[MOUSE_MAX_SPEED_SCL],argList,1);
1414 XmScaleSetValue(widgets[MOUSE_MAX_SPEED_SCL], 300);
1418 XtGetValues(widgets[KRG_REPEAT_DELAY_SCL],argList,1);
1419 XmScaleSetValue(widgets[KRG_REPEAT_DELAY_SCL], 6.6);
1423 XtGetValues(widgets[KRG_REPEAT_RATE_SCL],argList,1);
1424 XmScaleSetValue(widgets[KRG_REPEAT_RATE_SCL], 90);
1428 XtGetValues(widgets[KRG_SLOW_DELAY_SCL],argList,1);
1429 XmScaleSetValue(widgets[KRG_SLOW_DELAY_SCL], 3);
1433 XtGetValues(widgets[KRG_DEBOUNCE_SCL],argList,1);
1434 XmScaleSetValue(widgets[KRG_DEBOUNCE_SCL], 3);
1480 XmToggleButtonSetState(widgets[ENABLE_ACCESSX_TGL], True, False);
1482 XmToggleButtonSetState(widgets[ENABLE_ACCESSX_TGL], False, False);
1485 XmToggleButtonSetState(widgets[ONOFF_SOUND_TGL], True, False);
1487 XmToggleButtonSetState(widgets[ONOFF_SOUND_TGL], False, False);
1492 XtSetValues(widgets[TIME_OUT_SCL],argList,1);
1493 XmToggleButtonSetState(widgets[TIME_OUT_TGL], True, False);
1498 XtSetValues(widgets[TIME_OUT_SCL],argList,1);
1499 XmToggleButtonSetState(widgets[TIME_OUT_TGL], False, False);
1505 XtGetValues(widgets[TIME_OUT_SCL],argList,3);
1512 XtSetValues(widgets[TIME_OUT_SCL],argList,1);
1517 XtSetValues(widgets[TIME_OUT_SCL],argList,1);
1519 XmScaleSetValue(widgets[TIME_OUT_SCL],scaleVal);
1527 XmToggleButtonSetState(widgets[STICKY_KEYS_TGL], True, False);
1529 XmToggleButtonSetState(widgets[STICKY_KEYS_TGL], False, False);
1532 XmToggleButtonSetState(widgets[MOUSE_KEYS_TGL], True, False);
1534 XmToggleButtonSetState(widgets[MOUSE_KEYS_TGL], False, False);
1537 XmToggleButtonSetState(widgets[TOGGLE_KEYS_TGL], True, False);
1539 XmToggleButtonSetState(widgets[TOGGLE_KEYS_TGL], False, False);
1547 XmToggleButtonSetState(widgets[REPEAT_KEYS_TGL], True, False);
1549 XmToggleButtonSetState(widgets[REPEAT_KEYS_TGL], False, False);
1552 XmToggleButtonSetState(widgets[SLOW_KEYS_TGL], True, False);
1554 XmToggleButtonSetState(widgets[SLOW_KEYS_TGL], False, False);
1557 XmToggleButtonSetState(widgets[BOUNCE_KEYS_TGL], True, False);
1559 XmToggleButtonSetState(widgets[BOUNCE_KEYS_TGL], False, False);
1567 XmToggleButtonSetState(widgets[STICKY_TWO_KEYS_TGL], True, False);
1569 XmToggleButtonSetState(widgets[STICKY_TWO_KEYS_TGL], False, False);
1572 XmToggleButtonSetState(widgets[STICKY_MOD_SOUND_TGL], True, False);
1574 XmToggleButtonSetState(widgets[STICKY_MOD_SOUND_TGL], False, False);
1584 XtGetValues(widgets[MOUSE_MAX_SPEED_SCL],argList,3);
1591 XtSetValues(widgets[MOUSE_MAX_SPEED_SCL],argList,1);
1596 XtSetValues(widgets[MOUSE_MAX_SPEED_SCL],argList,1);
1598 XmScaleSetValue(widgets[MOUSE_MAX_SPEED_SCL],scaleVal);
1603 XtGetValues(widgets[MOUSE_TIME_TO_MAX_SCL],argList,3);
1610 XtSetValues(widgets[MOUSE_TIME_TO_MAX_SCL],argList,1);
1615 XtSetValues(widgets[MOUSE_TIME_TO_MAX_SCL],argList,1);
1617 XmScaleSetValue(widgets[MOUSE_TIME_TO_MAX_SCL],scaleVal);
1622 XtGetValues(widgets[MOUSE_DELAY_SCL],argList,3);
1629 XtSetValues(widgets[MOUSE_DELAY_SCL],argList,1);
1634 XtSetValues(widgets[MOUSE_DELAY_SCL],argList,1);
1636 XmScaleSetValue(widgets[MOUSE_DELAY_SCL],scaleVal);
1646 XtGetValues(widgets[KRG_REPEAT_RATE_SCL],argList,3);
1653 XtSetValues(widgets[KRG_REPEAT_RATE_SCL],argList,1);
1658 XtSetValues(widgets[KRG_REPEAT_RATE_SCL],argList,1);
1660 XmScaleSetValue(widgets[KRG_REPEAT_RATE_SCL],scaleVal);
1665 XtGetValues(widgets[KRG_REPEAT_DELAY_SCL],argList,3);
1672 XtSetValues(widgets[KRG_REPEAT_DELAY_SCL],argList,1);
1677 XtSetValues(widgets[KRG_REPEAT_DELAY_SCL],argList,1);
1679 XmScaleSetValue(widgets[KRG_REPEAT_DELAY_SCL],scaleVal);
1687 XmToggleButtonSetState(widgets[KRG_PRESS_SOUND_TGL], True, False);
1689 XmToggleButtonSetState(widgets[KRG_PRESS_SOUND_TGL], False, False);
1692 XmToggleButtonSetState(widgets[KRG_ACCEPT_SOUND_TGL], True, False);
1694 XmToggleButtonSetState(widgets[KRG_ACCEPT_SOUND_TGL], False, False);
1699 XtGetValues(widgets[KRG_SLOW_DELAY_SCL],argList,3);
1706 XtSetValues(widgets[KRG_SLOW_DELAY_SCL],argList,1);
1711 XtSetValues(widgets[KRG_SLOW_DELAY_SCL],argList,1);
1713 XmScaleSetValue(widgets[KRG_SLOW_DELAY_SCL],scaleVal);
1723 XtGetValues(widgets[KRG_DEBOUNCE_SCL],argList,3);
1730 XtSetValues(widgets[KRG_DEBOUNCE_SCL],argList,1);
1735 XtSetValues(widgets[KRG_DEBOUNCE_SCL],argList,1);
1737 XmScaleSetValue(widgets[KRG_DEBOUNCE_SCL],scaleVal);
1758 XmToggleButtonSetState(widgets[i], True, False);
1760 XtSetValues(widgets[TIME_OUT_SCL],argList,1);
1763 XmToggleButtonSetState(widgets[i], False, False);
1765 XtSetValues(widgets[TIME_OUT_SCL],argList,1);
1773 XtGetValues(widgets[TIME_OUT_SCL],argList,1);
1775 XmScaleSetValue(widgets[TIME_OUT_SCL],
1777 XmToggleButtonSetState(widgets[TIME_OUT_TGL], True, False);
1781 XtGetValues(widgets[TIME_OUT_SCL], argList, 1);
1782 XmScaleSetValue(widgets[TIME_OUT_SCL], minimum);
1783 XmToggleButtonSetState(widgets[TIME_OUT_TGL], False, False);
1809 XmToggleButtonSetState(widgets[i], True, False);
1812 XmToggleButtonSetState(widgets[i], False, False);
1820 XtGetValues(widgets[MOUSE_TIME_TO_MAX_SCL],argList,1);
1821 XmScaleSetValue(widgets[MOUSE_TIME_TO_MAX_SCL],
1826 XtGetValues(widgets[MOUSE_MAX_SPEED_SCL],argList,1);
1827 XmScaleSetValue(widgets[MOUSE_MAX_SPEED_SCL],
1834 XtGetValues(widgets[KRG_REPEAT_DELAY_SCL],argList,1);
1835 XmScaleSetValue(widgets[KRG_REPEAT_DELAY_SCL],
1840 XtGetValues(widgets[KRG_REPEAT_RATE_SCL],argList,1);
1841 XmScaleSetValue(widgets[KRG_REPEAT_RATE_SCL], ConvertUnitsToScaleValue(
1847 XtGetValues(widgets[KRG_SLOW_DELAY_SCL],argList,1);
1848 XmScaleSetValue(widgets[KRG_SLOW_DELAY_SCL],
1853 XtGetValues(widgets[KRG_DEBOUNCE_SCL],argList,1);
1854 XmScaleSetValue(widgets[KRG_DEBOUNCE_SCL],
1892 XtSetValues(widgets[SHIFT_LATCHED_LBL],argList,1);
1893 XtSetValues(widgets[SHIFT_LOCKED_LBL],argList,1);
1896 XtSetValues(widgets[CONTROL_LATCHED_LBL],argList,1);
1897 XtSetValues(widgets[CONTROL_LOCKED_LBL],argList,1);
1900 XtSetValues(widgets[MOD1_LATCHED_LBL],argList,1);
1901 XtSetValues(widgets[MOD1_LOCKED_LBL],argList,1);
1904 XtSetValues(widgets[MOD2_LATCHED_LBL],argList,1);
1905 XtSetValues(widgets[MOD2_LOCKED_LBL],argList,1);
1908 XtSetValues(widgets[MOD3_LATCHED_LBL],argList,1);
1909 XtSetValues(widgets[MOD3_LOCKED_LBL],argList,1);
1912 XtSetValues(widgets[MOD4_LATCHED_LBL],argList,1);
1913 XtSetValues(widgets[MOD4_LOCKED_LBL],argList,1);
1916 XtSetValues(widgets[MOD5_LATCHED_LBL],argList,1);
1917 XtSetValues(widgets[MOD5_LOCKED_LBL],argList,1);
1922 XtSetValues(widgets[SHIFT_LATCHED_LBL],argList,1);
1925 XtSetValues(widgets[SHIFT_LOCKED_LBL],argList,1);
1930 XtSetValues(widgets[CONTROL_LATCHED_LBL],argList,1);
1934 XtSetValues(widgets[CONTROL_LOCKED_LBL],argList,1);
1939 XtSetValues(widgets[MOD1_LATCHED_LBL],argList,1);
1943 XtSetValues(widgets[MOD1_LOCKED_LBL],argList,1);
1948 XtSetValues(widgets[MOD2_LATCHED_LBL],argList,1);
1952 XtSetValues(widgets[MOD2_LOCKED_LBL],argList,1);
1957 XtSetValues(widgets[MOD3_LATCHED_LBL],argList,1);
1961 XtSetValues(widgets[MOD3_LOCKED_LBL],argList,1);
1966 XtSetValues(widgets[MOD4_LATCHED_LBL],argList,1);
1970 XtSetValues(widgets[MOD4_LOCKED_LBL],argList,1);
1975 XtSetValues(widgets[MOD5_LATCHED_LBL],argList,1);
1979 XtSetValues(widgets[MOD5_LOCKED_LBL],argList,1);
1997 XtSetValues(widgets[SHIFT_LATCHED_LBL],argList,1);
2001 XtSetValues(widgets[SHIFT_LATCHED_LBL],argList,1);
2006 XtSetValues(widgets[SHIFT_LOCKED_LBL],argList,1);
2010 XtSetValues(widgets[SHIFT_LOCKED_LBL],argList,1);
2015 XtSetValues(widgets[CONTROL_LATCHED_LBL],argList,1);
2019 XtSetValues(widgets[CONTROL_LATCHED_LBL],argList,1);
2024 XtSetValues(widgets[CONTROL_LOCKED_LBL],argList,1);
2028 XtSetValues(widgets[CONTROL_LOCKED_LBL],argList,1);
2033 XtSetValues(widgets[MOD1_LATCHED_LBL],argList,1);
2037 XtSetValues(widgets[MOD1_LATCHED_LBL],argList,1);
2042 XtSetValues(widgets[MOD1_LOCKED_LBL],argList,1);
2046 XtSetValues(widgets[MOD1_LOCKED_LBL],argList,1);
2051 XtSetValues(widgets[MOD2_LATCHED_LBL],argList,1);
2055 XtSetValues(widgets[MOD2_LATCHED_LBL],argList,1);
2060 XtSetValues(widgets[MOD2_LOCKED_LBL],argList,1);
2064 XtSetValues(widgets[MOD2_LOCKED_LBL],argList,1);
2069 XtSetValues(widgets[MOD3_LATCHED_LBL],argList,1);
2073 XtSetValues(widgets[MOD3_LATCHED_LBL],argList,1);
2078 XtSetValues(widgets[MOD3_LOCKED_LBL],argList,1);
2082 XtSetValues(widgets[MOD3_LOCKED_LBL],argList,1);
2087 XtSetValues(widgets[MOD4_LATCHED_LBL],argList,1);
2091 XtSetValues(widgets[MOD4_LATCHED_LBL],argList,1);
2096 XtSetValues(widgets[MOD4_LOCKED_LBL],argList,1);
2100 XtSetValues(widgets[MOD4_LOCKED_LBL],argList,1);
2105 XtSetValues(widgets[MOD5_LATCHED_LBL],argList,1);
2109 XtSetValues(widgets[MOD5_LATCHED_LBL],argList,1);
2114 XtSetValues(widgets[MOD5_LOCKED_LBL],argList,1);
2118 XtSetValues(widgets[MOD5_LOCKED_LBL],argList,1);
2176 XtSetValues(widgets[CURRENT_BUTTON_LBL], argList, 1);
2189 XtSetValues(widgets[MB1_PRESSED_LBL], argList, 1);
2191 XtSetValues(widgets[MB1_RELEASED_LBL], argList, 1);
2195 XtSetValues(widgets[MB1_PRESSED_LBL], argList, 1);
2197 XtSetValues(widgets[MB1_RELEASED_LBL], argList, 1);
2202 XtSetValues(widgets[MB2_PRESSED_LBL], argList, 1);
2204 XtSetValues(widgets[MB2_RELEASED_LBL], argList, 1);
2208 XtSetValues(widgets[MB2_PRESSED_LBL], argList, 1);
2210 XtSetValues(widgets[MB2_RELEASED_LBL], argList, 1);
2215 XtSetValues(widgets[MB3_PRESSED_LBL], argList, 1);
2217 XtSetValues(widgets[MB3_RELEASED_LBL], argList, 1);
2221 XtSetValues(widgets[MB3_PRESSED_LBL], argList, 1);
2223 XtSetValues(widgets[MB3_RELEASED_LBL], argList, 1);
2260 XtSetValues(widgets[CURRENT_BUTTON_LBL], argList, 1);
2272 XtSetValues(widgets[MB1_PRESSED_LBL], argList, 1);
2274 XtSetValues(widgets[MB1_RELEASED_LBL], argList, 1);
2278 XtSetValues(widgets[MB1_PRESSED_LBL], argList, 1);
2280 XtSetValues(widgets[MB1_RELEASED_LBL], argList, 1);
2285 XtSetValues(widgets[MB2_PRESSED_LBL], argList, 1);
2287 XtSetValues(widgets[MB2_RELEASED_LBL], argList, 1);
2291 XtSetValues(widgets[MB2_PRESSED_LBL], argList, 1);
2293 XtSetValues(widgets[MB2_RELEASED_LBL], argList, 1);
2298 XtSetValues(widgets[MB3_PRESSED_LBL], argList, 1);
2300 XtSetValues(widgets[MB3_RELEASED_LBL], argList, 1);
2304 XtSetValues(widgets[MB3_PRESSED_LBL], argList, 1);
2306 XtSetValues(widgets[MB3_RELEASED_LBL], argList, 1);
2312 XtSetValues(widgets[MB4_PRESSED_LBL], argList, 1);
2314 XtSetValues(widgets[MB4_RELEASED_LBL], argList, 1);
2318 XtSetValues(widgets[MB4_PRESSED_LBL], argList, 1);
2320 XtSetValues(widgets[MB4_RELEASED_LBL], argList, 1);
2325 XtSetValues(widgets[MB5_PRESSED_LBL], argList, 1);
2327 XtSetValues(widgets[MB5_RELEASED_LBL], argList, 1);
2331 XtSetValues(widgets[MB5_PRESSED_LBL], argList, 1);
2333 XtSetValues(widgets[MB5_RELEASED_LBL], argList, 1);
2353 if (XmToggleButtonGadgetGetState(widgets[ENABLE_ACCESSX_TGL])) {
2362 XtSetValues(widgets[i], argList, 1);
2367 XtSetValues(widgets[i], argList, 1);
2373 if (XmToggleButtonGadgetGetState(widgets[TIME_OUT_TGL]) &&
2374 XmToggleButtonGadgetGetState(widgets[ENABLE_ACCESSX_TGL])) {
2376 XtSetValues(widgets[TIME_OUT_SCL],argList,1);
2380 XtSetValues(widgets[TIME_OUT_SCL],argList,1);
2386 XtSetValues(widgets[MOUSE_DELAY_SCL],argList,1);
2409 widgets[*id] = widget;
2527 XmTextSetString(widgets[HELP_TEXT], textString);
3016 void SpaceAndSizeButtons(Widget *widgets,
3019 void SpaceAndSizeButtons(widgets, numWidgets)
3020 Widget *widgets;
3032 if (XtWidth(widgets[i]) > widest)
3033 widest = XtWidth(widgets[i]);
3046 XtSetValues (widgets[i], argList, 4);
3136 /* Procedure called when one of the widgets indicating the AccessX */
3154 XmToggleButtonGadgetSetState(widgets[BOUNCE_KEYS_TGL],False,False);
3157 XmToggleButtonGadgetSetState(widgets[SLOW_KEYS_TGL],False,False);
3232 XmToggleButtonGadgetSetState(widgets[i], True, False);
3235 XmToggleButtonGadgetSetState(widgets[i], False, False);
3256 XtSetValues(widgets[i], argList, 2);
3284 if (XmToggleButtonGadgetGetState(widgets[i])) {
3295 XtGetValues(widgets[i], argList, 2);
3339 if (XmToggleButtonGadgetGetState(widgets[i])) {
3353 XtGetValues(widgets[i], argList, 2);
3390 XmToggleButtonGadgetSetState(widgets[i], True, False);
3393 XmToggleButtonGadgetSetState(widgets[i], False, False);
3413 XtSetValues(widgets[i], argList, 2);
3432 if (XmToggleButtonGetState(widgets[STICKY_KEYS_TGL])) {
3436 if (XmToggleButtonGetState(widgets[MOUSE_KEYS_TGL])) {
3478 widgets[n] = NULL;
3505 SpaceAndSizeButtons(&widgets[SETTINGS_BTN],1);
3510 SpaceAndSizeButtons(&widgets[CLOSE_HELP_BTN],1);
3519 SpaceAndSizeButtons(&widgets[SETTINGS_OK_BTN],5);