Hi,
On Wed, 26 Jul 2006 16:26:04 +0200, Thanos Panousis wrote:
> Hello and thanks for the replays,
>
> The function you are referring to is a hildon function of the C library
> right? I browsed through the the hildon module for python, using
> dir(hildon).
>
> Found nothing related to sound. Does this mean the sound functionality has
> no wrapper function in pyhildon?
Seems so:
[sbox-ARMEL: ~/src/python-hildon-0.8.6] > grep -R "play_system" .
|(1)
easy enough to add, create some def in "defs/", like
defs/hildon-system-sound.defs
with the content:
(define-method play_system_sound
(c-name "hildon_play_system_sound")
(return-type "none")
(parameters
'("const-gchar*" "title")))
and in existing file "hildon.defs" add:
(include "defs/hildon-system-sound.defs")
that should do it :)
cheers,
Danny
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers