I'm wondering how I can trace and debug the gtk event object or some of
the built in constructors.
1 #include "onewindow.h"
2 #include <iostream>
3 #include <gtkmm/stock.h>
4
5 Onewindow::Onewindow()
6 :m_button(Gtk::Stock::OK) //Create a new button on
initialization line
7 {
8
//m_button.add_pixlabel("/usr/local/share/gtk-gnutella/pixmaps/download.xpm","cool
button");
9
10 set_title("Pixeled Button");
11 set_border_width(18);
12
13 //connect signal when button clicked
14 m_button.signal_clicked().connect(sigc::mem_fun(*this,
15 &Onewindow::clicked));
16
17 //pack the button into the window
18 add(m_button);
19
20 //show the widget
21 show_all_children();
22 }
23
I want to debug and trace line 5 and 6 for example here, but ddd won't
enter the Button constructor.
Ruben Safir
http://www.brooklyn-living.com
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list