[gcompris-devel] Assetml call usage in gcompris / python bindings missing

Olivier Samyn osamyn at easynet.be
Thu Jan 22 02:06:03 UTC 2004


Hello,

>Hum, it seem that we miss the python bindings for this.
>
>Olivier, we miss the bindings for these calls in gameutils.c:
>gcompris_load_pixmap_asset
>gcompris_get_asset_file
>Hehe, these are the ones I had for sure in the lost email.
>
>  
>
Bruno did you read the lastest ChangeLog ? it seems someone coded new 
functions ;)

 osamyn 1.254 <http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&root=/cvs/gnome&subdir=gcompris&command=DIFF_FRAMESET&file=ChangeLog&rev2=1.254&rev1=1.253> 2004-01-21  Olivier Samyn  <osamyn at easynet.be>
   2              
   3              	* docs/C/python.html: synced docs with code
   4              	* docs/C/python.xml: synced docs with code
   5              	* src/boards/py-mod-gcompris.c: (py_gcompris_bar_set_repeat_icon),
   6              	(py_gcompris_get_user_default_locale),
   7              	(py_gcompris_log_set_reason), (py_gcompris_log_end): wrapped some
   8              new functions
   9              	* src/boards/py-mod-utils.c: (py_gcompris_item_rotate_relative),
  10              	(py_gcompris_item_rotate_relative_with_center),
  11              	(py_gcompris_load_pixmap_asset), (py_gcompris_get_asset_file):
  12              wrapped some new functions

It seems there are some new functions in the gcompris.utils python package:
py_gcompris_load_pixmap_asset
py_gcompris_get_asset_file

calls: 
gcompris.utils.load_pixmap_asset(dataset, categories, mimetype, name)
gcompris.utils.get_asset_file(dataset, categories, mimetype, name)

The python xml doc file is uptodate but it seems I forgot something when creating the html file... 
Will check this today after work :)

The latest log functions have also been added ;)

And I will try to solve the keyboard problem this week-end (or before if 
I found time)

Olivier Samyn...




More information about the Gcompris-devel mailing list