Lines Matching refs:pWidget

94 static void expandexpanders(GtkContainer *pWidget)  in expandexpanders()  argument
98 GList *pChildren = gtk_container_get_children(pWidget); in expandexpanders()
1108 GtkWidget *pWidget = 0; in getWidget() local
1112 pWidget = m_pToggles[elem]; tType = GTK_TYPE_TOGGLE_BUTTON; \ in getWidget()
1116 pWidget = m_pButtons[elem]; tType = GTK_TYPE_BUTTON; \ in getWidget()
1120 pWidget = m_pLists[elem]; tType = GTK_TYPE_COMBO_BOX; \ in getWidget()
1124 pWidget = m_pListLabels[elem]; tType = GTK_TYPE_LABEL; \ in getWidget()
1151 return pWidget; in getWidget()
1161 void HackWidthToFirst(GtkComboBox *pWidget) in HackWidthToFirst() argument
1166 gtk_widget_size_request(GTK_WIDGET(pWidget), &requisition); in HackWidthToFirst()
1167 gtk_widget_set_size_request(GTK_WIDGET(pWidget), requisition.width, -1); in HackWidthToFirst()
1171 void SalGtkFilePicker::HandleSetListValue(GtkComboBox *pWidget, sal_Int16 nControlAction, const uno… in HandleSetListValue() argument
1181 … gtk_combo_box_append_text(pWidget, rtl::OUStringToOString(sItem, RTL_TEXTENCODING_UTF8).getStr()); in HandleSetListValue()
1184 HackWidthToFirst(pWidget); in HandleSetListValue()
1196 gtk_combo_box_append_text(pWidget, in HandleSetListValue()
1200 HackWidthToFirst(pWidget); in HandleSetListValue()
1210 gtk_combo_box_remove_text(pWidget, nPos); in HandleSetListValue()
1215 gtk_combo_box_set_active(pWidget, -1); in HandleSetListValue()
1221 gtk_combo_box_get_model(pWidget), NULL); in HandleSetListValue()
1223 gtk_combo_box_remove_text(pWidget, nI); in HandleSetListValue()
1232 gtk_combo_box_set_active(pWidget, nPos); in HandleSetListValue()
1243 gtk_combo_box_get_model(pWidget), NULL); in HandleSetListValue()
1244 gtk_widget_set_sensitive(GTK_WIDGET(pWidget), nItems > 1 ? true : false); in HandleSetListValue()
1247 uno::Any SalGtkFilePicker::HandleGetListValue(GtkComboBox *pWidget, sal_Int16 nControlAction) const in HandleGetListValue() argument
1258 GtkTreeModel *pTree = gtk_combo_box_get_model(pWidget); in HandleGetListValue()
1269 gtk_tree_model_get(gtk_combo_box_get_model(pWidget), in HandleGetListValue()
1282 if (gtk_combo_box_get_active_iter(pWidget, &iter)) in HandleGetListValue()
1285 gtk_tree_model_get(gtk_combo_box_get_model(pWidget), in HandleGetListValue()
1295 gint nActive = gtk_combo_box_get_active(pWidget); in HandleGetListValue()
1313 GtkWidget *pWidget; in setValue() local
1317 if( !( pWidget = getWidget( nControlId, &tType ) ) ) in setValue()
1323 gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( pWidget ), bChecked ); in setValue()
1326 HandleSetListValue(GTK_COMBO_BOX(pWidget), nControlAction, rValue); in setValue()
1342 GtkWidget *pWidget; in getValue() local
1346 if( !( pWidget = getWidget( nControlId, &tType ) ) ) in getValue()
1349 aRetval <<= (sal_Bool) gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( pWidget ) ); in getValue()
1351 aRetval = HandleGetListValue(GTK_COMBO_BOX(pWidget), nControlAction); in getValue()
1364 GtkWidget *pWidget; in enableControl() local
1370 else if( ( pWidget = getWidget( nControlId ) ) ) in enableControl()
1375 gtk_widget_set_sensitive( pWidget, sal_True ); in enableControl()
1380 gtk_widget_set_sensitive( pWidget, sal_False ); in enableControl()
1393 GtkWidget *pWidget; in setLabel() local
1397 if( !( pWidget = getWidget( nControlId, &tType ) ) ) in setLabel()
1410 gtk_button_set_label(GTK_BUTTON(pWidget), GTK_STOCK_MEDIA_PLAY); in setLabel()
1412 gtk_button_set_label(GTK_BUTTON(pWidget), GTK_STOCK_MEDIA_STOP); in setLabel()
1414 gtk_button_set_label(GTK_BUTTON(pWidget), aTxt.getStr()); in setLabel()
1418 g_object_set( pWidget, "label", aTxt.getStr(), in setLabel()
1431 GtkWidget *pWidget; in getLabel() local
1435 if( !( pWidget = getWidget( nControlId, &tType ) ) ) in getLabel()
1438 aTxt = gtk_button_get_label( GTK_BUTTON( pWidget ) ); in getLabel()