Lines Matching refs:pWidget

94 static void expandexpanders(GtkContainer *pWidget)  in expandexpanders()  argument
98 GList *pChildren = gtk_container_get_children(pWidget); in expandexpanders()
1109 GtkWidget *pWidget = 0; in getWidget() local
1113 pWidget = m_pToggles[elem]; tType = GTK_TYPE_TOGGLE_BUTTON; \ in getWidget()
1117 pWidget = m_pButtons[elem]; tType = GTK_TYPE_BUTTON; \ in getWidget()
1121 pWidget = m_pLists[elem]; tType = GTK_TYPE_COMBO_BOX; \ in getWidget()
1125 pWidget = m_pListLabels[elem]; tType = GTK_TYPE_LABEL; \ in getWidget()
1152 return pWidget; in getWidget()
1162 void HackWidthToFirst(GtkComboBox *pWidget) in HackWidthToFirst() argument
1167 gtk_widget_size_request(GTK_WIDGET(pWidget), &requisition); in HackWidthToFirst()
1168 gtk_widget_set_size_request(GTK_WIDGET(pWidget), requisition.width, -1); in HackWidthToFirst()
1172 void SalGtkFilePicker::HandleSetListValue(GtkComboBox *pWidget, sal_Int16 nControlAction, const uno… in HandleSetListValue() argument
1182 … gtk_combo_box_append_text(pWidget, rtl::OUStringToOString(sItem, RTL_TEXTENCODING_UTF8).getStr()); in HandleSetListValue()
1185 HackWidthToFirst(pWidget); in HandleSetListValue()
1197 gtk_combo_box_append_text(pWidget, in HandleSetListValue()
1201 HackWidthToFirst(pWidget); in HandleSetListValue()
1211 gtk_combo_box_remove_text(pWidget, nPos); in HandleSetListValue()
1216 gtk_combo_box_set_active(pWidget, -1); in HandleSetListValue()
1222 gtk_combo_box_get_model(pWidget), NULL); in HandleSetListValue()
1224 gtk_combo_box_remove_text(pWidget, nI); in HandleSetListValue()
1233 gtk_combo_box_set_active(pWidget, nPos); in HandleSetListValue()
1244 gtk_combo_box_get_model(pWidget), NULL); in HandleSetListValue()
1245 gtk_widget_set_sensitive(GTK_WIDGET(pWidget), nItems > 1 ? true : false); in HandleSetListValue()
1248 uno::Any SalGtkFilePicker::HandleGetListValue(GtkComboBox *pWidget, sal_Int16 nControlAction) const in HandleGetListValue() argument
1259 GtkTreeModel *pTree = gtk_combo_box_get_model(pWidget); in HandleGetListValue()
1270 gtk_tree_model_get(gtk_combo_box_get_model(pWidget), in HandleGetListValue()
1283 if (gtk_combo_box_get_active_iter(pWidget, &iter)) in HandleGetListValue()
1286 gtk_tree_model_get(gtk_combo_box_get_model(pWidget), in HandleGetListValue()
1296 gint nActive = gtk_combo_box_get_active(pWidget); in HandleGetListValue()
1314 GtkWidget *pWidget; in setValue() local
1318 if( !( pWidget = getWidget( nControlId, &tType ) ) ) in setValue()
1324 gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( pWidget ), bChecked ); in setValue()
1327 HandleSetListValue(GTK_COMBO_BOX(pWidget), nControlAction, rValue); in setValue()
1343 GtkWidget *pWidget; in getValue() local
1347 if( !( pWidget = getWidget( nControlId, &tType ) ) ) in getValue()
1350 aRetval <<= (sal_Bool) gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( pWidget ) ); in getValue()
1352 aRetval = HandleGetListValue(GTK_COMBO_BOX(pWidget), nControlAction); in getValue()
1365 GtkWidget *pWidget; in enableControl() local
1371 else if( ( pWidget = getWidget( nControlId ) ) ) in enableControl()
1376 gtk_widget_set_sensitive( pWidget, sal_True ); in enableControl()
1381 gtk_widget_set_sensitive( pWidget, sal_False ); in enableControl()
1394 GtkWidget *pWidget; in setLabel() local
1398 if( !( pWidget = getWidget( nControlId, &tType ) ) ) in setLabel()
1411 gtk_button_set_label(GTK_BUTTON(pWidget), GTK_STOCK_MEDIA_PLAY); in setLabel()
1413 gtk_button_set_label(GTK_BUTTON(pWidget), GTK_STOCK_MEDIA_STOP); in setLabel()
1415 gtk_button_set_label(GTK_BUTTON(pWidget), aTxt.getStr()); in setLabel()
1419 g_object_set( pWidget, "label", aTxt.getStr(), in setLabel()
1432 GtkWidget *pWidget; in getLabel() local
1436 if( !( pWidget = getWidget( nControlId, &tType ) ) ) in getLabel()
1439 aTxt = gtk_button_get_label( GTK_BUTTON( pWidget ) ); in getLabel()