[maemo-developers] Porting fltk-app
From: Eero Tamminen eero.tamminen at nokia.comDate: Mon Sep 10 11:43:06 EEST 2007
- Previous message: Porting fltk-app
- Next message: Porting fltk-app
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, ext Tapani Pälli wrote: >> I am trying to port an FLTK (www.fltk.org) application to N770/N800. I >> got FLTK compiled and the application as well, but when I run the >> application, it is not managed by Matchbox. That is, the program is not >> shown in the taskbar and the keyboard will not pop up. >> >> I have tried to hack FLTK according to the code snippets >> https://garage.maemo.org/snippet/detail.php?type=snippet&id=3 and >> https://garage.maemo.org/snippet/detail.php?type=snippet&id=4 but >> without luck. >> >> What do I need in order for Matchbox being aware of my program? > > The window is being managed by matchbox. Maemo input-methods (keyboard, > hwr) use their own protocol to communicate directly with gtk-widgets. > You have to implement this protocol in text-entry fltk-widgets. Basically it means sending an X to the input method window when the widget wants the input method to show itself. In the Maemo Gtk this happens when user taps to a widget. Maemo Input Method framework was just opened, so now other widget sets like Fltk or Qt can be fully ported to Maemo. The IM protocol source for widget <-> input method communication is here: https://stage.maemo.org/svn/maemo/projects/haf/trunk/hildon-input-method-framework/src/ > In order > to get program shown in taskbar (which is a pager, not a component of > window manager) you have to provide valid .desktop file. Instructions to > do this is in maemo.org documentation. - Eero
- Previous message: Porting fltk-app
- Next message: Porting fltk-app
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]