+
+void ItemPtyWnd::on_rd_btn_union_clicked()
+{
+ Glib::ustring name;
+ char char_id[10];
+ sprintf(char_id,"%d",item->get_id());
+ name = "union";
+ name += char_id;
+ item->connect_vec[0].type = IN;
+ item->connect_vec[1].type = IN;
+ item->connect_vec[2].type = OUT;
+ item->set_name(name);
+ txt_item_name->set_text( item->get_name() );
+ item->is_union = true;
+}
+
+void ItemPtyWnd::on_rd_btn_division_clicked()
+{
+ Glib::ustring name;
+ char char_id[10];
+ sprintf(char_id,"%d",item->get_id());
+ name = "division";
+ name += char_id;
+ item->connect_vec[0].type = OUT;
+ item->connect_vec[1].type = OUT;
+ item->connect_vec[2].type = IN;
+ item->set_name(name);
+ txt_item_name->set_text( item->get_name() );
+ item->is_union = false;
+}