Linked by Thom Holwerda on Wed 7th Feb 2007 09:09 UTC, submitted by ronaldst
KDE "Like the previously featured articles on new KDE 4 technologies for Job Processes or SVG Widgets, today we feature the shiny new multimedia technology Phonon. Phonon is designed to take some of the complications out of writing multimedia applications in KDE 4, and ensure that these applications will work on a multitude of platforms and sound architectures. Unfortunately, writing about a sound technology produces very few snazzy screenshots, so instead this week has a few more technical details. Read on for the details."
Permalink for comment 210233
To read all comments associated with this story, please click here.
RE[6]: are the Gnome crowd......
by jkroon on Wed 7th Feb 2007 20:21 UTC in reply to "RE[5]: are the Gnome crowd......"
jkroon
Member since:
2006-03-20

Well, I have. The steps are these:

1. Create your new library written in C using GObject's type system.
2. Create a language independent .defs-file that describes the class-hierarchy.
3. Use the .defs-file with tools for automatically generating the language binding code. Python has one in PyGTK, C++ has one in gtkmm (I think), C# has one in Gtk#, Java is in progress.

The Java bindings for Gtk were until recently _manually_ written, in the same way I'm guessing that most of the wrappers for C++ libs are created, although I'm investigating "smoke". Looking at it from an engineer's point of view it should be pretty obvious which method is preferred.

Reply Parent Score: 1