Rob Shortt wrote:
> Patrick Devine wrote:
> 
>>I ran into the same problem when I looked at doing this about 6 months ago 
>>and haven't had time to pick it back up again.  Pygtk support would be 
>>really, really, really nice to have.
> 
> 
> I agree.  I've been working all day at this: cairo-1.3.10 snapshot, 
> pycairo from CVS; pango, gtk+, pygobject, pygtk from SVN.
> 
> I spent some time on gtk+ figuring out how the symbols work there:
> 
> Index: gdk/gdk.symbols
> ===================================================================
> --- gdk/gdk.symbols     (revision 17133)
> +++ gdk/gdk.symbols     (working copy)
> @@ -796,6 +796,7 @@
>   gdk_keyval_is_upper G_GNUC_CONST
>   gdk_keyval_to_lower G_GNUC_CONST
>   gdk_keyval_to_upper G_GNUC_CONST
> +gdk_keyval_convert_case
>   #endif
>   #endif
> 
> 
> Basicly I think that tells it to use the gdk_keyval_convert_case from 
> gdk/gdkkeys.c and not one implimented in gdk/directfb.
> 
> I thought I would be home free now but python -c "import gtk" segfaults 
> on me now, for what reason is unknown.. it may not even be related.  I'm 
> starting to get discouraged here but willing to continue if others are 
> on board.  I may put the stub of gdk_keyval_convert_case back into 
> gdkkeys-directfb.c and move the symbols entry to correspond, maybe that 
> will help.

Hi

Grep'ing the directfb dir and looking at the directfb TODO file, i see 
that gdk_keyval_convert_case() has not been implemented yet: since Mike 
Emmel should be commiting a round of patches i sent him recently, could 
you try to write a patch that provides the missing gdk function without 
relying on XConvertCase (do we have somthing similar in DFB ?).
For the short term a simple empty stub may do.

About the crash you are experiencing with python gtk bindings, could it 
be that's because those bindings are bound to gtk/x11 and not gtk/dfb ? 
pherhaps you need rebuilding against gtk/dfb? just a hypotesis..

cheers

Attilio

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to