Re: [gtkmm] on_realize()!=signal_realize() ? , was: glade-2 + on_realize()



> It's hard to know what your problem is. Is it even a compiler problem or
> a runtime problem?

The code compiles fine. It's a runtime problem. Would it help if I
provided the my_application.glade file?

I'm trying to make a handler for the realize signal, and it seems the
handler is not being called. Schematically, the situation is this:

Gtk::Window
    |
window1_glade
	virtual void on_realize_handler() = 0;
    |
window1
        void on_realize_handler() { cout << "Hello World" << endl; };

When I run the application, the window shows but "Hello World" doesn't, so
I figure the handler is not being called.








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