Lines Matching refs:combo_box

115 static void  gimp_item_combo_box_populate  (GimpIntComboBox            *combo_box);
116 static void gimp_item_combo_box_model_add (GimpIntComboBox *combo_box,
131 static void gimp_item_combo_box_changed (GimpIntComboBox *combo_box);
154 gimp_drawable_combo_box_init (GimpDrawableComboBox *combo_box) in gimp_drawable_combo_box_init() argument
156 gtk_drag_dest_set (GTK_WIDGET (combo_box), in gimp_drawable_combo_box_init()
163 g_object_set_data_full (G_OBJECT (combo_box), "gimp-item-combo-box-private", in gimp_drawable_combo_box_init()
208 gimp_channel_combo_box_init (GimpChannelComboBox *combo_box) in gimp_channel_combo_box_init() argument
210 gtk_drag_dest_set (GTK_WIDGET (combo_box), in gimp_channel_combo_box_init()
217 g_object_set_data_full (G_OBJECT (combo_box), "gimp-item-combo-box-private", in gimp_channel_combo_box_init()
255 gimp_layer_combo_box_init (GimpLayerComboBox *combo_box) in gimp_layer_combo_box_init() argument
257 gtk_drag_dest_set (GTK_WIDGET (combo_box), in gimp_layer_combo_box_init()
264 g_object_set_data_full (G_OBJECT (combo_box), "gimp-item-combo-box-private", in gimp_layer_combo_box_init()
302 gimp_vectors_combo_box_init (GimpVectorsComboBox *combo_box) in gimp_vectors_combo_box_init() argument
304 gtk_drag_dest_set (GTK_WIDGET (combo_box), in gimp_vectors_combo_box_init()
311 g_object_set_data_full (G_OBJECT (combo_box), "gimp-item-combo-box-private", in gimp_vectors_combo_box_init()
350 GimpIntComboBox *combo_box; in gimp_item_combo_box_new() local
353 combo_box = g_object_new (type, in gimp_item_combo_box_new()
358 private = GET_PRIVATE (combo_box); in gimp_item_combo_box_new()
363 gimp_item_combo_box_populate (combo_box); in gimp_item_combo_box_new()
365 g_signal_connect (combo_box, "changed", in gimp_item_combo_box_new()
369 return GTK_WIDGET (combo_box); in gimp_item_combo_box_new()
373 gimp_item_combo_box_populate (GimpIntComboBox *combo_box) in gimp_item_combo_box_populate() argument
381 model = gtk_combo_box_get_model (GTK_COMBO_BOX (combo_box)); in gimp_item_combo_box_populate()
390 if (GIMP_IS_DRAWABLE_COMBO_BOX (combo_box) || in gimp_item_combo_box_populate()
391 GIMP_IS_LAYER_COMBO_BOX (combo_box)) in gimp_item_combo_box_populate()
394 gimp_item_combo_box_model_add (combo_box, GTK_LIST_STORE (model), in gimp_item_combo_box_populate()
400 if (GIMP_IS_DRAWABLE_COMBO_BOX (combo_box) || in gimp_item_combo_box_populate()
401 GIMP_IS_CHANNEL_COMBO_BOX (combo_box)) in gimp_item_combo_box_populate()
404 gimp_item_combo_box_model_add (combo_box, GTK_LIST_STORE (model), in gimp_item_combo_box_populate()
410 if (GIMP_IS_VECTORS_COMBO_BOX (combo_box)) in gimp_item_combo_box_populate()
413 gimp_item_combo_box_model_add (combo_box, GTK_LIST_STORE (model), in gimp_item_combo_box_populate()
423 gtk_combo_box_set_active_iter (GTK_COMBO_BOX (combo_box), &iter); in gimp_item_combo_box_populate()
427 gimp_item_combo_box_model_add (GimpIntComboBox *combo_box, in gimp_item_combo_box_model_add() argument
434 GimpItemComboBoxPrivate *private = GET_PRIVATE (combo_box); in gimp_item_combo_box_model_add()
468 if (GIMP_IS_VECTORS_COMBO_BOX (combo_box)) in gimp_item_combo_box_model_add()
494 gimp_item_combo_box_model_add (combo_box, store, in gimp_item_combo_box_model_add()
561 gimp_item_combo_box_changed (GimpIntComboBox *combo_box) in gimp_item_combo_box_changed() argument
565 if (gimp_int_combo_box_get_active (combo_box, &item_ID)) in gimp_item_combo_box_changed()
573 model = gtk_combo_box_get_model (GTK_COMBO_BOX (combo_box)); in gimp_item_combo_box_changed()
575 g_signal_stop_emission_by_name (combo_box, "changed"); in gimp_item_combo_box_changed()
586 gimp_item_combo_box_populate (combo_box); in gimp_item_combo_box_changed()