Re: delete_event
- From: "Pavlo Korzhyk" <pavlo korzhyk gmail com>
- To: weijie <weijie90 gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: delete_event
- Date: Sat, 25 Nov 2006 16:32:47 +0200
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]