Table Of Contents

Previous topic

What is Emotion?

Next topic

efl.emotion.Emotion Class

efl.emotion Module

Module level functions

efl.emotion.extension_may_play_get None

extension_may_play_get(filename) Do we have a chance to play that file?

This just actually look at the extention of the file, it doesn’t check the mime-type nor if the file is actually sane. So this is just an hint for your application.

param filename:A filename that we want to know if Emotion can play.
type filename:str

New in version 1.8.

efl.emotion.init None

init()

efl.emotion.on_event None

on_event(event_name)

efl.emotion.shutdown None

shutdown()

efl.emotion.webcams_get None

webcams_get() Get a list of active and available webcam.

return:the list of tuple (webcam name, webcam device)

New in version 1.8.