bool Or::on_button_press_event(GdkEventButton *event)
{
- if ((event->type == GDK_BUTTON_PRESS) && ( event->button == 1))
+ if ((event->type == GDK_BUTTON_PRESS) && ( event->button == 1)) {
+ std::cout<<ID<<std::endl;
combo_entry->set_text(name);
+ }
if ((event->type == GDK_BUTTON_PRESS) && ( event->button == 2)){
image = null;
}
return true;
}
+
void Or::on_menu_popup_rotar()
{
GdkEventButton event;
Or::on_button_press_event(&event);
}
-
+void Or::on_menu_popup_conectar()
+{
+ CItem::logic_connect = true;
+ CItem::quien = ID;
+}
void Or::save(FILE *archivo)
{