Problems with gtk-- Gtk_Main::idle
- From: Lukas Knutsson <lukas spray se>
- To: "'gtk-list redhat com'" <gtk-list redhat com>
- Subject: Problems with gtk-- Gtk_Main::idle
- Date: Mon, 21 Sep 1998 12:07:14 +0200
This has me stumped ! What am I missing here? The following code fragment
below does not compile. Anybody have any suggestions ? This problem appears
so simple am I sure that I have misunderstood something here.
********************************************
#include <iostream>
class MyApp {
public:
gint duh() {return 1;}
};
void main(int argc, char* argv[]) {
Gtk_Main m(&argc, &argv);
MyApp app;
connect_to_method(Gtk_Main::idle, &app, &(MyApp::duh));
cout << "Hello !\n";
}
********************************************
This genrates an error message that says roughly,
..no matching function for call to connect_to_method
/Lukas Knutsson
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]