problems subclassing Gtk::Window



Hi,

I'm trying to subclass Gtk::Window (using GTK-- 2.5.5), and I have the following problem.

If I override the child handling functions, on_add, on_remove, child_type_vfunc, forall_vfunc, so that I would handle the only child widget for my window, I can't get the on_expose_event function of the child to execute. not even if I call Gtk::Window::on_expose_event or propagate_expose from my overridden on_expose_event function.

OTOH, if I don't override the child handling functions, my overridden on_expose_event never gets called, thus I can't draw the custom parts of my window.

I'm quite clueless now, on how to go forward...


Akos




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