Re: [gtk-list] problems for C++( use gtk1.2.6)



"Chiou Wei-Han" <s7410010@ntut.edu.tw> writes:
>      gtk_signal_connect( GTK_OBJECT(close_button) , "clicked" ,
>     GTK_SIGNAL_FUNC(&exit) , window );

You're casting the address of a method pointer to a function pointer;
won't work at all.

You need to use a non-member function.

Havoc



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