[maemo-developers] Gtkmm's DrawingArea problem
From: Dinh Khac Thanh thanhdk at gmail.comDate: Fri May 30 09:19:53 EEST 2008
- Previous message: Compiler bug with thread-local storage
- Next message: Gtkmm's DrawingArea problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all, 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: http://www.mail-archive.com/maemo-developers@maemo.org/msg05422.html > > On Sat, 2006-09-02 at 13:14 +0300, Jarkko Palviainen wrote: > >> Hi, > >> I'm trying to build simple drawing app for Nokia 770 IT2006 but here's > >> the > >> problem: > >> When compiling and running some example, like this > >> http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch14s03.html#id2524813 > >> it goes well but just doesn't draw anything on Xephyr emulator, just > >> blank > >> window. Compiling and running in normal Debian Sarge is fine, I can see > >> those lines drawn. The problem seems to be related to on_expose_event() > >> which is not called as I tested by debug printing in it. I can't use > >> cairo > >> as I have to use glimm 2.8.9. > > > > Yes, the version of gtkmm that is in the maemo repository uses some > > special optimizations. The most obvious change is that there are no > > default signal handlers, so you must connect a signal handler instead of > > just overriding the default one. 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. Could anyone tell me how to solve this? Thnx in advance. 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. Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20080530/fc87c2ba/attachment.htm
- Previous message: Compiler bug with thread-local storage
- Next message: Gtkmm's DrawingArea problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]