helloworld.cc tutorial
- From: "Brian J. Rohan" <bjrohan home com>
- To: "gtk-list redhat com" <gtk-list redhat com>
- Subject: helloworld.cc tutorial
- Date: Wed, 29 Mar 2000 20:24:33 +0000
In the helloworld example of the gtk-- tutorial found at
sourceforge.com, the function delete_event_impl is overriden:
int HelloWorld::delete_event_impl (GdkEventAny *event)
{
cout << "delete event occured" << endl;
return true;
}
but when I press the closed button on the window while the program is
running , Hello World is printed to the terminal. I was under the
impression that "delete event occured" would be printed to the terminal
instead. Why is this?
Brian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]