I’m trying to use the java-gstreamer library. They’re using this class
with some interface methods. I want to add the methods via jruby in an
How can I do this?
I’ve now got this: http://pastie.caboo.se/170566
But I would rather not make a seperate class for each method. That’s
Why did they do that? Wouldn’t it be just easier to have a class
Callbacks (or something) with in it all the methods?
I read somewhere I can do this:
implement MenuListener #=> creates empty methods menuCanceled,
def menuSelected(event) #=> the one we care about
but then I have to make a class for every calllback too!