[maemo-developers] [maemo-developers] Re: sounds through pygtk?

From: Danny Milosavljevic danny.milo at scratchpost.org
Date: Sun Aug 13 05:01:12 EEST 2006

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" .

easy enough to add, create some def in "defs/", like 


with the content:

(define-method play_system_sound
  (c-name "hildon_play_system_sound")
  (return-type "none")
    '("const-gchar*" "title")))

and in existing file "hildon.defs" add:

(include "defs/hildon-system-sound.defs")

that should do it :)


More information about the maemo-developers mailing list