Hi all,<br><br>I wrote a simple program using gtkmm's DrawingArea widget. It turns out fine (no error) but does not show up in Xephys window. After searching Google I got this:<br><a href="http://www.mail-archive.com/maemo-developers@maemo.org/msg05422.html"><br>
http://www.mail-archive.com/maemo-developers@maemo.org/msg05422.html</a><br><pre>> > On Sat, 2006-09-02 at 13:14 +0300, Jarkko Palviainen wrote:<br>> >> Hi,<br>> >> I'm trying to build simple drawing app for Nokia 770 IT2006 but here's <br>
> >> the<br>> >> problem:<br>> >> When compiling and running some example, like this<br>> >> <a rel="nofollow" href="http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch14s03.html#id2524813">http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch14s03.html#id2524813</a><br>
> >> it goes well but just doesn't draw anything on Xephyr emulator, just <br>> >> blank<br>> >> window. Compiling and running in normal Debian Sarge is fine, I can see<br>> >> those lines drawn. The problem seems to be related to on_expose_event()<br>
> >> which is not called as I tested by debug printing in it. I can't use <br>> >> cairo<br>> >> as I have to use glimm <a href="http://2.8.9.">2.8.9.</a><br>> ><br>> > Yes, the version of gtkmm that is in the maemo repository uses some<br>
> > special optimizations. The most obvious change is that there are no<br>> > default signal handlers, so you must connect a signal handler instead of<br>> > just overriding the default one.<br></pre>which I think is my problem (I check on_expose_event and it is not called). But I couldn't find the solution from that link.<br>
Could anyone tell me how to solve this? Thnx in advance.<br><br>Btw, anyone has experiences on using Gnome Canvas in maemo? I am thinking of switching to Gnome Canvas since using Drawing Area/Gdk's Pixmap is a pain to me.<br>
<br>Regards<br clear="all"><br><br>