• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/motif/xmcombo/

Lines Matching refs:newW

1405                          XmComboBoxWidget newW, 
1418 newW->combobox.Editable = current->combobox.Editable;
1419 newW->combobox.ListCtrl = current->combobox.ListCtrl;
1420 newW->combobox.EditCtrl = current->combobox.EditCtrl;
1421 newW->combobox.LabelCtrl = current->combobox.LabelCtrl;
1422 newW->combobox.SelectionPolicy = current->combobox.SelectionPolicy;
1423 newW->combobox.ListSizePolicy = current->combobox.ListSizePolicy;
1424 newW->combobox.StaticList = current->combobox.StaticList;
1433 if ( current->core.sensitive != newW->core.sensitive ) {
1434 XtSetSensitive(newW->combobox.ListCtrl, newW->core.sensitive);
1435 XtSetSensitive(newW->combobox.EditCtrl, newW->core.sensitive);
1436 XtSetSensitive(newW->combobox.ArrowCtrl, newW->core.sensitive);
1437 XtSetSensitive(newW->combobox.ListCtrl, newW->core.sensitive);
1438 if ( !newW->core.sensitive )
1439 ShowHideDropDownList(newW, NULL, False);
1445 if ( newW->combobox.ScrollBarDisplayPolicy !=
1447 if ( newW->combobox.StaticList )
1448 XtVaSetValues(newW->combobox.ListCtrl,
1449 XmNscrollBarDisplayPolicy, newW->combobox.ScrollBarDisplayPolicy,
1458 newW->combobox.VisibleItemCount ) {
1459 XtVaSetValues(newW->combobox.ListCtrl,
1460 XmNvisibleItemCount, newW->combobox.VisibleItemCount,
1465 newW->combobox.AutomaticSelection ) {
1466 XtVaSetValues(newW->combobox.ListCtrl,
1467 XmNautomaticSelection, newW->combobox.AutomaticSelection,
1477 if ( current->combobox.Font != newW->combobox.Font ) {
1478 XtVaSetValues(newW->combobox.ListCtrl,
1479 XmNfontList, newW->combobox.Font, NULL);
1480 XtVaSetValues(newW->combobox.EditCtrl,
1481 XmNfontList, newW->combobox.Font, NULL);
1486 if ( newW->manager.top_shadow_color !=
1488 if ( newW->manager.bottom_shadow_color !=
1490 if ( newW->manager.foreground !=
1492 if ( newW->core.background_pixel !=
1494 if ( Flags ) { UpdateColors(newW, Flags); Update = True; }
1497 if ( newW->combobox.ArrowCursor != current->combobox.ArrowCursor ) {
1498 if ( newW->combobox.ListVisible )
1499 XDefineCursor(XtDisplay(newW->combobox.PopupShell),
1500 XtWindow(newW->combobox.PopupShell),
1501 newW->combobox.ArrowCursor);
1515 newW->combobox.ListCtrl :
1517 newW->combobox.EditCtrl :
1518 newW->combobox.LabelCtrl),
1523 if ( newW->combobox.Editable )
1524 XtSetValues(newW->combobox.EditCtrl,
1534 XtSetValues(newW->combobox.LabelCtrl,
1551 XtSetValues(newW->combobox.ListCtrl,
1553 /*XtVaSetValues(newW->combobox.ListCtrl,
1569 if ( (newW->combobox.SquareArrow != current->combobox.SquareArrow) ||
1570 (newW->combobox.ArrowSpacingOn != current->combobox.ArrowSpacingOn) ) {
1572 DoLayout(newW);
2739 static void Initialize(Widget request, XmComboBoxWidget newW,
2755 XtAppAddActions(XtWidgetToApplicationContext((Widget) newW),
2759 newW->combobox.ConvertBitmapToPixmap = False;
2760 newW->combobox.ConvertBitmapToPixmapInsensitive = False;
2762 newW->combobox.LastSelection = 0;
2764 newW->combobox.InInit = True;
2777 if ( !newW->combobox.StaticList ) {
2778 w = (Widget) newW;
2781 newW->combobox.MyNextShell = w;
2785 (XtPointer) newW);
2794 newW->combobox.EditCtrl = XtVaCreateManagedWidget(
2795 "edit", xmTextFieldWidgetClass, (Widget) newW,
2798 XtAddCallback(newW->combobox.EditCtrl,
2801 XtAddCallback(newW->combobox.EditCtrl,
2804 XtAddCallback(newW->combobox.EditCtrl,
2807 XtAddCallback(newW->combobox.EditCtrl,
2810 (XtPointer) newW);
2811 XtAddCallback(newW->combobox.EditCtrl,
2814 (XtPointer) newW);
2815 if ( newW->combobox.Editable )
2816 XtAddCallback(newW->combobox.EditCtrl,
2819 (XtPointer) newW);
2821 XtOverrideTranslations(newW->combobox.EditCtrl,
2823 if ( !newW->combobox.Editable ) {
2824 XtOverrideTranslations(newW->combobox.EditCtrl,
2826 XtVaSetValues(newW->combobox.EditCtrl,
2830 XtOverrideTranslations(newW->combobox.EditCtrl,
2835 newW->combobox.ArrowCtrl = XtVaCreateManagedWidget(
2836 "arrow", xmArrowButtonWidgetClass, (Widget) newW,
2843 XmRemoveTabGroup(newW->combobox.ArrowCtrl);
2844 if ( newW->combobox.StaticList ) {
2845 XtVaSetValues(newW->combobox.ArrowCtrl,
2848 XtAddEventHandler(newW->combobox.ArrowCtrl,
2851 (XtPointer) newW);
2852 XtAddCallback(newW->combobox.ArrowCtrl,
2855 XtAddCallback(newW->combobox.ArrowCtrl,
2858 XtAddCallback(newW->combobox.ArrowCtrl,
2861 (XtPointer) newW);
2865 newW->combobox.LabelCtrl = XtVaCreateWidget(
2866 "label", xmLabelWidgetClass, (Widget) newW,
2867 XmNstringDirection, newW->manager.string_direction,
2869 if ( newW->combobox.ShowLabel ) {
2870 XtManageChild((Widget) newW->combobox.LabelCtrl);
2871 XtAddCallback(newW->combobox.LabelCtrl,
2874 (XtPointer) newW);
2890 if ( !newW->combobox.StaticList ) {
2891 newW->combobox.PopupShell = XtVaCreateWidget(
2892 "combobox_shell", vendorShellWidgetClass, (Widget) newW,
2897 XtAddEventHandler(newW->combobox.PopupShell,
2900 (XtPointer) newW);
2905 newW->combobox.PopupShell = (Widget) newW;
2915 XtSetArg(args[n], XmNselectionPolicy, newW->combobox.SelectionPolicy); n++;
2917 if ( !newW->combobox.StaticList ) {
2925 newW->combobox.ListSizePolicy); n++;
2927 newW->combobox.ScrollBarDisplayPolicy); n++;
2930 newW->combobox.AutomaticSelection); n++;
2932 newW->combobox.VisibleItemCount); n++;
2933 newW->combobox.ListCtrl = XmCreateScrolledList(
2934 newW->combobox.PopupShell, "list",
2943 if ( !newW->combobox.StaticList ) {
2944 XtVaSetValues(newW->combobox.ListCtrl,
2946 XtVaSetValues(XtParent(newW->combobox.ListCtrl),
2949 if ( !newW->combobox.Editable ) {
2950 XtVaSetValues(XtParent(newW->combobox.ListCtrl),
2952 XmRemoveTabGroup(newW->combobox.ListCtrl);
2956 XtManageChild(newW->combobox.ListCtrl);
2957 XtAddCallback(newW->combobox.ListCtrl,
2960 (XtPointer) newW);
2961 XtAddCallback(newW->combobox.ListCtrl,
2964 (XtPointer) newW);
2965 XtAddCallback(newW->combobox.ListCtrl,
2968 (XtPointer) newW);
2969 XtAddCallback(newW->combobox.ListCtrl,
2972 (XtPointer) newW);
2974 XtAddEventHandler(newW->combobox.ListCtrl,
2977 (XtPointer) newW);
2980 XtOverrideTranslations(newW->combobox.ListCtrl,
2983 if ( newW->combobox.StaticList && newW->combobox.Editable )
2984 XtOverrideTranslations(newW->combobox.ListCtrl,
2992 InitMirrorResources(newW);
2993 UpdateColors(newW, -1);
2994 SetValues(newW, newW, newW, wargs, ArgCount);
2996 if ( newW->combobox.ConvertBitmapToPixmap )
2997 newW->combobox.LabelPixmap =
2998 BitmapToPixmap(newW, XmNlabelPixmap,
2999 ((XmLabelRec *) newW->combobox.LabelCtrl)->
3001 if ( newW->combobox.ConvertBitmapToPixmapInsensitive )
3002 newW->combobox.LabelInsensitivePixmap =
3003 BitmapToPixmap(newW, XmNlabelInsensitivePixmap,
3004 ((XmLabelRec *) newW->combobox.LabelCtrl)->
3007 DefaultGeometry(newW, &width, &height, &dummy, &dummy);
3008 if ( newW->core.width == 0 )
3009 newW->core.width = width;
3010 if ( newW->core.height == 0 )
3011 newW->core.height = height;
3017 if ( newW->combobox.Font == NULL ) {
3018 XtVaGetValues(newW->combobox.EditCtrl,
3019 XmNfontList, &newW->combobox.Font, NULL);
3020 XtVaSetValues(newW->combobox.ListCtrl,
3021 XmNfontList, newW->combobox.Font, NULL);
3023 XtVaSetValues(newW->combobox.ListCtrl,
3024 XmNfontList, newW->combobox.Font, NULL);
3025 XtVaSetValues(newW->combobox.EditCtrl,
3026 XmNfontList, newW->combobox.Font, NULL);
3033 newW->combobox.ListVisible = False;
3034 newW->combobox.IgnoreFocusOut = False;
3035 newW->combobox.PendingFocusOut = False;
3036 newW->combobox.PendingOverrideInOut = False;
3038 newW->combobox.PassVerification = False;
3046 DoLayout(newW);
3051 newW->combobox.InInit = False;