[maemo-developers] [maemo-developers] Re: sounds through pygtk?
From: Danny Milosavljevic danny.milo at scratchpost.orgDate: Sun Aug 13 05:01:12 EEST 2006
- Previous message: [maemo-developers] Linux kernel source code
- Next message: [maemo-developers] 2 dekstop file + 1 program
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [maemo-developers] Linux kernel source code
- Next message: [maemo-developers] 2 dekstop file + 1 program
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
