delete_event para que tambien salga bien cuando lo mata el WM :)
virtual void on_btn_pause_clicked();
virtual bool on_item_clicked(GdkEventButton *, ViewItem *);
virtual bool on_workplace_expose_event(GdkEventExpose *);
virtual void on_btn_pause_clicked();
virtual bool on_item_clicked(GdkEventButton *, ViewItem *);
virtual bool on_workplace_expose_event(GdkEventExpose *);
+ virtual bool on_delete_event(GdkEventAny *);
// Callbacks para las conexiones
void on_conexion_finished();
// Callbacks para las conexiones
void on_conexion_finished();
void Principal::on_mnu_file_exit()
{
void Principal::on_mnu_file_exit()
{
+ on_mnu_file_disconnect();
+bool Principal::on_delete_event(GdkEventAny *e)
+{
+ on_mnu_file_exit();
+ return false;
+}
+
void Principal::on_btn_activar_clicked()
{
if ((conexion == NULL) || (last_selected == NULL)) return;
void Principal::on_btn_activar_clicked()
{
if ((conexion == NULL) || (last_selected == NULL)) return;