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



_Maybe_ signal handlers can not be pure virtual. But I would prefer
someone to test that theory with another signal, in a simpler test case.

On Mon, 2003-09-29 at 19:31, Silviu D Minut wrote:
> > 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.
> 
> 
> 
> 
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
-- 
Murray Cumming
murrayc usa net
www.murrayc.com





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