On Mon, 2010-09-27 at 12:33 -0400, Alexandre Quessy wrote: > Hello everyone, > What is the recommended way to specify key bindings, so that a user > can cutomize them in a Clutter application? > > I was thinking about using an external XML file to specify the mapping > of the keys and modifiers to the action names. This way, a user could > override the default key bindings for an application. Such a file > could be installed in /usr/share/appname/keybindings.xml, and the user > could override them in his ~/.appname/keybindings.xml file, or so. > > Documentation to the Clutter key bindings stuff: > http://docs.clutter-project.org/docs/clutter/stable/clutter-Key-Bindings.html#clutter-binding-pool-install-action > > Any hint is much appreciated.
Currently, there is no way to serialize/deserialize a ClutterBindingPool. feel free to open a bug about this - though, for consistency with the rest of Clutter, I'd probably use JSON as the serialization format, and not XML. and, obviously: patches welcome! ciao, Emmanuele. -- Emmanuele Bassi, Open Source Software Engineer Intel Open Source Technology Center _______________________________________________ clutter-app-devel-list mailing list [email protected] http://lists.clutter-project.org/listinfo/clutter-app-devel-list
