[maemo-developers] [maemo-developers] Re: gtkmm and scratchbox: Gtk::DrawingArea problem
From: Jarkko Palviainen jarkko.palviainen at lut.fiDate: Sat Sep 9 22:29:53 EEST 2006
- Previous message: [maemo-developers] Selecting the dummy internet access in the connection manager from the command line
- Next message: [maemo-developers] Re: gtkmm and scratchbox: Gtk::DrawingArea problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, 09 Sep 2006 22:10:58 +0300, Murray Cumming <murrayc at murrayc.com> wrote: > 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. > Yep it seems to be something like that. I solved the problem using different libraries pointed out in http://home.comcast.net/~3rdshift/articles/Nokia770/Maemo.html (direct link: http://home.comcast.net/~3rdshift/articles/Nokia770/Nokia770-IT2006/deb/deb-index.html). Now they work the usual way. Actually I could not install the repository packages with depedencies at the first place, propably because of the naming of packages and versions. >> I can load and display and png image and run hello world gtkmm apps in >> sbox, so it seems to be working, but I'm really stuck with the drawing >> and >> I need to draw dots or circles on the image (a map) I'm showing. Any >> suggestions? I'm new to gtk+ and gtkmm so if any questions please ask. >> I'm >> also trying maemo.org lists.. >
- Previous message: [maemo-developers] Selecting the dummy internet access in the connection manager from the command line
- Next message: [maemo-developers] Re: gtkmm and scratchbox: Gtk::DrawingArea problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]