Is it possible in pygobject (or Gtk) to draw on top of the children widgets of a Gtk.Container widget (for example a VBox)?
I know I can connect to the 'draw' signal of any widget for custom drawing. But the callback is called before the normal widget drawing.
So any "custom" drawing is left behind the children of the container, unless the callback function connected to the draw signal return True, in which case the signal is not propagated and the container does not draw its children; but that is not what I want.
I need to draw after the container has drawn its children.
I know that other than responding to the draw signal, I can override the do_draw method in a subclass, but then again the container does not draw its children. I would have to call the parent class draw method but I don't know how.
I tried to call super().do_draw and super().draw() but I got stack overflow error, meaning that my do_draw function is calling itself.
Do you know some solution?