composite widget and custom draw with cairo



Hello.

I managed to modify the tictactoe example so that I could draw on top of the 3x3 button grid with cairo. I followed the tutorial of creating custom widgets and added expose event to the tictactoe.

But when I replaced the buttons with my own custom widgets based on GtkDrawingArea, the tictactoe's expose even was not called anymore.

My custom widget uses cairo also and has its own expose event.

I need to draw on top of the custom child widgets. Any Ideas what could be the problem?


Tommi



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