]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/src/splitter.cpp
-Se carga la lista de items al ir haciendo click sobre ellos
[z.facultad/75.42/plaqui.git] / Constructor / src / splitter.cpp
index d0dc0638c43b9def7322ce0bc79ea1f9e61a7455..6cd6b3c05a98ba30ae8d74b4ac054cdc4b89fe27 100644 (file)
@@ -40,7 +40,10 @@ Splitter::~Splitter()
 bool Splitter::on_button_press_event(GdkEventButton *event)
 {
        if ((event->type == GDK_BUTTON_PRESS) && ( event->button == 1)) {
-               combo_entry->set_text(name);
+               list_pointed->push_back(name);
+               combo_entry->set_popdown_strings(*list_pointed);
+               combo_entry->get_entry()->set_text (name);
+               workplace->queue_draw();
                WorkPlace::pointed = ID;
        }