Lines Matching refs:widget
178 static void NWAddWidgetToCacheWindow( GtkWidget* widget, int nScreen );
179 static void NWSetWidgetState( GtkWidget* widget, ControlState nState, GtkStateType nGtkState );
1027 …GtkWidget* widget = (nType == CTRL_RADIOBUTTON) ? gWidgetData[m_nScreen].gRadioWidget : gWidgetDat… in getNativeControlRegion() local
1029 gtk_widget_style_get( widget, in getNativeControlRegion()
1044 GtkWidget* widget = gWidgetData[m_nScreen].gEditBoxWidget; in getNativeControlRegion() local
1046 gtk_widget_size_request( widget, &aReq ); in getNativeControlRegion()
1058 …GtkWidget* widget = (nPart == PART_THUMB_HORZ) ? gWidgetData[m_nScreen].gHScale : gWidgetData[m_nS… in getNativeControlRegion() local
1061 gtk_widget_style_get( widget, in getNativeControlRegion()
1858 GtkWidget *widget; in NWPaintOneEditBox() local
1874 widget = gWidgetData[nScreen].gSpinButtonWidget; in NWPaintOneEditBox()
1878 widget = gWidgetData[nScreen].gScrolledWindowWidget; in NWPaintOneEditBox()
1881 widget = GTK_COMBO(gWidgetData[nScreen].gComboWidget)->entry; in NWPaintOneEditBox()
1885 widget = gWidgetData[nScreen].gEditBoxWidget; in NWPaintOneEditBox()
1894 GtkWidget* pBGWidget = widget; in NWPaintOneEditBox()
1900 NWSetWidgetState( widget, nState, stateType ); in NWPaintOneEditBox()
1906 gtk_paint_shadow( widget->style, gdkDrawable, GTK_STATE_NORMAL, GTK_SHADOW_IN, in NWPaintOneEditBox()
1907 gdkRect, widget, "entry", in NWPaintOneEditBox()
3742 static void NWSetWidgetState( GtkWidget* widget, ControlState nState, GtkStateType nGtkState ) in NWSetWidgetState() argument
3745 GTK_WIDGET_UNSET_FLAGS( widget, GTK_HAS_DEFAULT ); in NWSetWidgetState()
3746 GTK_WIDGET_UNSET_FLAGS( widget, GTK_HAS_FOCUS ); in NWSetWidgetState()
3747 GTK_WIDGET_UNSET_FLAGS( widget, GTK_SENSITIVE ); in NWSetWidgetState()
3748 GTK_WIDGET_SET_FLAGS( widget, gWidgetDefaultFlags[(long)widget] ); in NWSetWidgetState()
3751 GTK_WIDGET_SET_FLAGS( widget, GTK_HAS_DEFAULT ); in NWSetWidgetState()
3752 if ( !GTK_IS_TOGGLE_BUTTON(widget) && (nState & CTRL_STATE_FOCUSED) ) in NWSetWidgetState()
3753 GTK_WIDGET_SET_FLAGS( widget, GTK_HAS_FOCUS ); in NWSetWidgetState()
3755 GTK_WIDGET_SET_FLAGS( widget, GTK_SENSITIVE ); in NWSetWidgetState()
3756 gtk_widget_set_state( widget, nGtkState ); in NWSetWidgetState()
3765 static void NWAddWidgetToCacheWindow( GtkWidget* widget, int nScreen ) in NWAddWidgetToCacheWindow() argument
3784 gtk_container_add( GTK_CONTAINER(rData.gDumbContainer), widget ); in NWAddWidgetToCacheWindow()
3785 gtk_widget_realize( widget ); in NWAddWidgetToCacheWindow()
3786 gtk_widget_ensure_style( widget ); in NWAddWidgetToCacheWindow()
3789 gWidgetDefaultFlags[ (long)widget ] = GTK_WIDGET_FLAGS( widget ); in NWAddWidgetToCacheWindow()