Re: delete_event



Whoops, that made a lot of compiler errors...

See the attached text file.
Thanks!

For me these errors are not enough to understand your problem. You should provide the source code.
It seems like you use sigc++ templates the wrong way.
Is  on_prefs_cancel_btn_clicked a member of a class? how is it declared?

There is an example in book:

#include <gtkmm/button.h>

void on_button_clicked()
{
std::cout << "Hello World" << std::endl;
}

main()
{
Gtk::Button button("Hello World");
button.signal_clicked().connect(sigc::ptr_fun(&on_button_clicked));
}


Maybe you missed &. Try compiling this sample code: if you get errors - your dev environment
is not configured right.




--
WBR, Pavlo Korzhyk
ICQ#155870780

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]