Re: begginer with C++



Thanks for your reply.

onAbout callback is declared as void

mpEventBox->signal_button_press_event().connect(sigc::mem_fun(*this,
&MainWindow::onAbout));
void MainWindow::onAbout()
{
	int result = mpAboutDialog->run();
	mpAboutDialog->hide();
}

You can see the entire source there
http://cvs.sourceforge.net/viewcvs.py/winpackman/WinPackManGTK/src/MainWindow.cpp?rev=1.2&view=log
I can see what is wrong... this code is cut&paste  from there...
http://cvs.sourceforge.net/viewcvs.py/dcatalyst/dcatalyst/clients/gcatalyst/MainWindow.cpp?rev=1.10&view=markup
(I'm not a lammer, only a VB6 programmer)

Un saludo
Carlos Garcés

>
> void MainWindow::onAbout(GdkEventKey* ev);
>
> jason
>
> --
> Jason Burchfield
> CAS, Inc.
> (256) 971-6096
> Jason.Burchfield at cas-inc dot com
>
>



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