Re: [java-gnome-hackers] Create a Nautilus binding
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2008-07-26 07:56:07
|
On Fri, 2008-07-25 at 23:34 -0400, Jack Hong wrote: > Thanks very much Andrew! It compiles happily if I change the .defs > from 'define-interface' The canonical (and original) interface implementation was org.gnome.gtk.FileChooser and GtkFileChooser.defs, which is the interface implemented by org.gnome.gtk.FileChooserButton and friends. I suggest you look at a method like FileChooserButton's setAction(). However, you really need to discuss [with us] what interfaces you are trying to represent, how you plan to expose them, and what divergences, if any, you are anticipating to make the API more appropriate to Java developers. Arbitrarily changing something from an interface to an object in the .defs data sounds wildly inappropriate. > to 'define-object', but I'm not sure whether that's what I should do > or not. I also noticed that some types (GList Coverage of GList* of things is implemented, though you need to mark up the .defs data slightly. See Widget's getChildren() and the corresponding data in src/defs/GtkWidget.defs AfC Sydney P.S. Please stop top posting. It is considered poor etiquette in the Open Source world. And I _am_ subscribed to the mailing list. You don't need to send me my own copy of each email you send. -- Andrew Frederick Cowie Operational Dynamics is an operations and engineering consultancy focusing on IT strategy, organizational architecture, systems review, and effective procedures for change management. We actively carry out research and development in these areas on behalf of our clients, and enable successful use of open source in their mission critical enterprises, worldwide. http://www.operationaldynamics.com/ Sydney New York Toronto London |