Thread: [java-gnome-hackers] Update
Brought to you by:
afcowie
From: Jeffrey M. <ku...@zo...> - 2003-12-23 14:30:48
|
For the build yesterday I did the following: Added new classes from GTK 2.3: ColorButton ComboBox ComboBoxEntry EntryCompletion FileChooserAction (needed for FileChooser) FileChooserError (needed for FileChooser) BindingSet Added two new methods to Entry to utilize the EntryCompletion class. I deprecated the following classes: gtk.Combo (replaced by ComboBox) gnome.Entry gnome.ColorPicker (replaced by ColorButton) Since the build I have done the following: Added the following new classes: Action (glue code) ActionGroup (glue code) Expander (glue code and JNI) The following items need to be completed. Please let the list know if you intend to work on one of these items so we do not duplicate work. 1) Javadoc comments need to be added to ComboBox, ComboBoxEntry, ColorButton, EntryCompletion and the two new methods for Entry. 2) Complete the public interface for BindingSet 3) Complete the JNI code for Action and ActionGroup (I will do this) 4) Write the public interface for Action, ActionGroup and Expander. 5) Update the examples with these new classes. There are many additional classes that we will need to add in order to support the latest gtk but I think we should complete these first. Let me know what you think. -Jeff |
From: Jeffrey M. <Jef...@Br...> - 2004-01-08 20:05:30
|
I have just compiled the latest garnome (D&DE 2.5.2) and compiled the latest java-gnome. Everything seems to be working file. As you have seen, I am working on the Action/ActionGroup/UIManager classes. This is turning out to be somewhat complicated but I finally think I have it under control. I think I have ActionGroup working with the ActionEntry and the ToggleActionEntry classes. All that is remaining is the Radio set of classes. Then I should be able to complete the UIManager class. I hope to complete all of this sometime in the next two days. -Jeff |
From: Luca De R. <pie...@li...> - 2004-01-08 20:49:20
|
Il gio, 2004-01-08 alle 21:05, Jeffrey Morgan ha scritto: > I have just compiled the latest garnome (D&DE 2.5.2) and compiled the latest > java-gnome. Everything seems to be working file. > > As you have seen, I am working on the Action/ActionGroup/UIManager classes. Great, I'm glad you've completed the Action constructor;) -- Luca De Rugeriis <pie...@li...> |
From: Mark H. <mh...@ca...> - 2004-01-09 08:34:04
|
Thanks Jeff. You are doing an amazing job. Hopefully I'll get a new garnome at the weekend - I'm sure java-gnome will be at the top of my list of distractions from real work :) -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Jeffrey M. <ku...@zo...> - 2003-12-25 00:16:49
|
On Tue, 2003-12-23 at 09:23, Jeffrey Morgan wrote: > The following items need to be completed. Please > let the list know if you intend to work on one of > these items so we do not duplicate work. > > 1) Javadoc comments need to be added to ComboBox, > ComboBoxEntry, ColorButton, EntryCompletion and > the two new methods for Entry. I will do this. I will also add the appropriate event handling for these classes. > > 2) Complete the public interface for BindingSet > > 3) Complete the JNI code for Action and ActionGroup > (I will do this) This is completed and checked into cvs. > > 4) Write the public interface for Action, ActionGroup > and Expander. > > 5) Update the examples with these new classes. > > There are many additional classes that we will need > to add in order to support the latest gtk but I think > we should complete these first. Let me know what you > think. > > -Jeff > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > java-gnome-hackers mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers > |
From: Luca De R. <pie...@li...> - 2003-12-26 15:19:50
|
Il gio, 2003-12-25 alle 01:09, Jeffrey Morgan ha scritto: > On Tue, 2003-12-23 at 09:23, Jeffrey Morgan wrote: > > The following items need to be completed. Please > > let the list know if you intend to work on one of > > these items so we do not duplicate work. > > > > 1) Javadoc comments need to be added to ComboBox, > > ComboBoxEntry, ColorButton, EntryCompletion and > > the two new methods for Entry. > > I will do this. I will also add the appropriate > event handling for these classes. > > > > > 2) Complete the public interface for BindingSet I'm managing to write this, but I need help, so straight to the question: native static final protected int gtk_binding_set_find(String setName); I'm guessing this is an overloaded constructor (gtk docs doesn't help a lot), but it has the same signature of native static final protected int gtk_binding_set_new(String setName); so I really need some pointers to make any further step. Consider that any hints (generic or whatever) will be very helpful, cause I've no experience with jni. I'm really willing to help with new classes, so once I'll get the hang on it, I'll be able to complete further public interfaces a lot quicker. > > 3) Complete the JNI code for Action and ActionGroup > > (I will do this) > > This is completed and checked into cvs. > > > > > 4) Write the public interface for Action, ActionGroup > > and Expander. > > > > 5) Update the examples with these new classes. > > > > There are many additional classes that we will need > > to add in order to support the latest gtk but I think > > we should complete these first. Let me know what you > > think. > > > > -Jeff -- Luca De Rugeriis <pie...@li...> |
From: Jeffrey M. <ku...@zo...> - 2003-12-26 16:19:05
|
On Fri, 2003-12-26 at 10:18, Luca De Rugeriis wrote: > > > 2) Complete the public interface for BindingSet > I'm managing to write this, but I need help, so straight to the > question: > > native static final protected int gtk_binding_set_find(String setName); > > I'm guessing this is an overloaded constructor (gtk docs doesn't help a > lot), but it has the same signature of > > native static final protected int gtk_binding_set_new(String setName); > > so I really need some pointers to make any further step. > Consider that any hints (generic or whatever) will be very helpful, > cause I've no experience with jni. > > I'm really willing to help with new classes, so once I'll get the hang > on it, I'll be able to complete further public interfaces a lot quicker. Sometimes we just have to guess what the gtk developers had in mind. GtkBindingSet is not documented so it falls into this category. It looks like this method will return a binding set that matches the provided name or NULL. I would make a static method that does just that. Something like static public findBindingSet(String setName) { return new BindingSet(gtk_binding_set_find(setName)); } This assumes that you have created a constructor that takes the handle. Please don't hesitate asking any questions on this list. My goal is to make sure as many people understand the bindings as possible. This will only allow us to move faster as more people are working on the bulk of the code. -Jeff |
From: Mark H. <mh...@ca...> - 2003-12-26 17:12:47
|
> > native static final protected int gtk_binding_set_new(String setName); Looking at the gtk docs, this is most probably mapped to GtkBindingSet* gtk_binding_set_find (const gchar *set_name); So the int return value is a handle, or NULL. BindingSet is not documented. The most useful comment I've found is: "It isn't documented. There are two major examples to look at: GtkCList and my GtkTextView. It's quite straightforward, if you look at the examples." This leads me to think that this is probably something internal to gtk and so not something we should be wrapping. If I am wrong, then from looking at the api, it looks like something that would be used by very few people and would be difficult to translate to java; in which case, writing bindings for it may be questionable. It would be a good idea to look at what some of the other bindings have done with this class (but remembering that some other bindings try to just copy everything rather than make an api more suited to their language) -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Luca De R. <pie...@li...> - 2003-12-26 18:12:46
|
Il ven, 2003-12-26 alle 17:11, Jeffrey Morgan ha scritto: > > Sometimes we just have to guess what the gtk developers had in > mind. GtkBindingSet is not documented so it falls into this category. > It looks like this method will return a binding set that matches > the provided name or NULL. I would make a static method that does > just that. Something like > > static public findBindingSet(String setName) { > return new BindingSet(gtk_binding_set_find(setName)); > } > > This assumes that you have created a constructor that takes the > handle. Of course a static method is the best solution.(silly me!) I will send the any progress I'll made, in order to check if I'm in the right direction. Mark, maybe I've chosen a weird class to start with. However I'll try to write down some methods so I can see if I've got the idea. > Please don't hesitate asking any questions on this list. My goal > is to make sure as many people understand the bindings as possible. > This will only allow us to move faster as more people are working > on the bulk of the code. Yeah, there will be further questions... After some months spent with you, I think time has come to understand how j-g works ;) -- Luca De Rugeriis <pie...@li...> |
From: Luca De R. <pie...@li...> - 2003-12-26 18:31:59
|
/** * Construct a new BindingSet using a handle to a native resource. */ public BindingSet(int handle) { this.handle = handle; } /** * Construct a new BindingSet object. * @param setName */ public BindingSet(String setName) { handle = gtk_binding_set_new(setName); } static public BindingSet findBindingSet(String setName) { return new BindingSet(gtk_binding_set_find(setName)); } Is the first constructor correct? -- Luca De Rugeriis <pie...@li...> |
From: Jeffrey M. <ku...@zo...> - 2003-12-26 18:35:23
|
On Fri, 2003-12-26 at 13:31, Luca De Rugeriis wrote: > /** > * Construct a new BindingSet using a handle to a native resource. > */ > public BindingSet(int handle) { > this.handle = handle; > } > > /** > * Construct a new BindingSet object. > * @param setName > */ > public BindingSet(String setName) { > handle = gtk_binding_set_new(setName); > } > > static public BindingSet findBindingSet(String setName) { > return new BindingSet(gtk_binding_set_find(setName)); > } > > Is the first constructor correct? Yes. All of the methods look correct. |
From: Luca De R. <pie...@li...> - 2003-12-26 19:27:57
|
Il ven, 2003-12-26 alle 19:31, Luca De Rugeriis ha scritto: Fine ;) Next one: native static final protected boolean gtk_bindings_activate(int object, int keyval, int modifier); I guess I could wrap this function with the following: public boolean activateBindings(int keyval, int modifier) { return gtk_bindings_activate(handle, keyval, modifier); } Is it right? Jeff, do you prefer this.handle? Is that int referring to the object's handle at all? I'm guessing that the returned value is to tell if the method invocation went well. Is this right? -- Luca De Rugeriis <pie...@li...> |
From: Jeffrey M. <ku...@zo...> - 2003-12-26 19:56:59
|
On Fri, 2003-12-26 at 14:26, Luca De Rugeriis wrote: > Il ven, 2003-12-26 alle 19:31, Luca De Rugeriis ha scritto: > Fine ;) > Next one: > native static final protected boolean gtk_bindings_activate(int object, int keyval, int modifier); > > I guess I could wrap this function with the following: > > public boolean activateBindings(int keyval, int modifier) { > return gtk_bindings_activate(handle, keyval, modifier); > } The keyval should be one of the public members of gdk.KeySymbol and the modifer should be of type gdk.ModifierType. The body should be as: return gtk_bindings_activate(handle, keyval, modifier.getValue); > > Is it right? Jeff, do you prefer this.handle? Is that int referring to > the object's handle at all? Yes. > > I'm guessing that the returned value is to tell if the method invocation > went well. Is this right? I believe so. -Jeff |
From: Luca De R. <pie...@li...> - 2003-12-26 20:36:32
|
Il ven, 2003-12-26 alle 20:49, Jeffrey Morgan ha scritto: > On Fri, 2003-12-26 at 14:26, Luca De Rugeriis wrote: > > Il ven, 2003-12-26 alle 19:31, Luca De Rugeriis ha scritto: > > Fine ;) > > Next one: > > native static final protected boolean gtk_bindings_activate(int object, int keyval, int modifier); > > > > I guess I could wrap this function with the following: > > > > public boolean activateBindings(int keyval, int modifier) { > > return gtk_bindings_activate(handle, keyval, modifier); > > } > > The keyval should be one of the public members of gdk.KeySymbol and the > modifer should be of type gdk.ModifierType. The body should be as: > > return gtk_bindings_activate(handle, keyval, modifier.getValue); :) I was asking myself how one can manage ascii key values by hand! This shows how little I know about gdk/gtk and company. The result is: public boolean activateBindings(KeySymbol keyval, ModifierType modifier) { return gtk_bindings_activate(handle, keyval, modifier.getValue()); } but how I can pass the keyval in question? There is no keyval.getValue or something. -- Luca De Rugeriis <pie...@li...> |
From: Luca De R. <pie...@li...> - 2003-12-26 20:43:23
|
Il ven, 2003-12-26 alle 21:35, Luca De Rugeriis ha scritto: > Il ven, 2003-12-26 alle 20:49, Jeffrey Morgan ha scritto: > > On Fri, 2003-12-26 at 14:26, Luca De Rugeriis wrote: > > > Il ven, 2003-12-26 alle 19:31, Luca De Rugeriis ha scritto: > > > Fine ;) > > > Next one: > > > native static final protected boolean gtk_bindings_activate(int object, int keyval, int modifier); > > > > > > I guess I could wrap this function with the following: > > > > > > public boolean activateBindings(int keyval, int modifier) { > > > return gtk_bindings_activate(handle, keyval, modifier); > > > } > > > > The keyval should be one of the public members of gdk.KeySymbol and the > > modifer should be of type gdk.ModifierType. The body should be as: > > > > return gtk_bindings_activate(handle, keyval, modifier.getValue); > :) I was asking myself how one can manage ascii key values by hand! > This shows how little I know about gdk/gtk and company. > > The result is: > > public boolean activateBindings(KeySymbol keyval, ModifierType modifier) { > return gtk_bindings_activate(handle, keyval, modifier.getValue()); > } > > but how I can pass the keyval in question? There is no keyval.getValue > or something. Could the following code work? public boolean activateBindingSet(KeySymbol keyval, ModifierType modifier) { return gtk_binding_set_activate(handle, Integer.parseInt(keyval.toString()), modifier.getValue(), handle); } -- Luca De Rugeriis <pie...@li...> |
From: Luca De R. <pie...@li...> - 2003-12-26 21:31:29
|
Il ven, 2003-12-26 alle 21:42, Luca De Rugeriis ha scritto: > Il ven, 2003-12-26 alle 21:35, Luca De Rugeriis ha scritto: > > Il ven, 2003-12-26 alle 20:49, Jeffrey Morgan ha scritto: > > > On Fri, 2003-12-26 at 14:26, Luca De Rugeriis wrote: > > > > Il ven, 2003-12-26 alle 19:31, Luca De Rugeriis ha scritto: > > > > Fine ;) > > > > Next one: > > > > native static final protected boolean gtk_bindings_activate(int object, int keyval, int modifier); > > > > > > > > I guess I could wrap this function with the following: > > > > > > > > public boolean activateBindings(int keyval, int modifier) { > > > > return gtk_bindings_activate(handle, keyval, modifier); > > > > } > > > > > > The keyval should be one of the public members of gdk.KeySymbol and the > > > modifer should be of type gdk.ModifierType. The body should be as: > > > > > > return gtk_bindings_activate(handle, keyval, modifier.getValue); > > :) I was asking myself how one can manage ascii key values by hand! > > This shows how little I know about gdk/gtk and company. > > > > The result is: > > > > public boolean activateBindings(KeySymbol keyval, ModifierType modifier) { > > return gtk_bindings_activate(handle, keyval, modifier.getValue()); > > } > > > > but how I can pass the keyval in question? There is no keyval.getValue > > or something. > Could the following code work? > > public boolean activateBindingSet(KeySymbol keyval, ModifierType modifier) { > return gtk_binding_set_activate(handle, Integer.parseInt(keyval.toString()), modifier.getValue(), handle); > } Obiouvsly it doesn't work, cause the toString function is not overrided. I think it is a pure java question not j-g: The KeySymbol class contains static ints only. How can I pass one of them trough the method's argument? -- Luca De Rugeriis <pie...@li...> |
From: Jeffrey M. <ku...@zo...> - 2003-12-27 01:47:34
|
On Fri, 2003-12-26 at 16:30, Luca De Rugeriis wrote: > Obiouvsly it doesn't work, cause the toString function is not overrided. > I think it is a pure java question not j-g: > The KeySymbol class contains static ints only. How can I pass one of > them trough the method's argument? The method should take an integer and the user would type something like KeySymbol.F12. Just make sure that the javadoc clearly states that the int is one of the public members of KeySymbol. -Jeff |
From: Luca De R. <pie...@li...> - 2003-12-27 04:01:00
|
Il sab, 2003-12-27 alle 02:40, Jeffrey Morgan ha scritto: > On Fri, 2003-12-26 at 16:30, Luca De Rugeriis wrote: > > Obiouvsly it doesn't work, cause the toString function is not overrided. > > I think it is a pure java question not j-g: > > The KeySymbol class contains static ints only. How can I pass one of > > them trough the method's argument? > > The method should take an integer and the user > would type something like KeySymbol.F12. Just > make sure that the javadoc clearly states that > the int is one of the public members of KeySymbol. Thanks, it was easier than it seems ;) -- Luca De Rugeriis <pie...@li...> |
From: Mark H. <mh...@ca...> - 2003-12-27 11:41:52
|
On Sat, Dec 27, 2003 at 04:59:07AM +0100, Luca De Rugeriis wrote: > public BindingSet(int handle) { > this.handle = handle; Does this really need to be public? It should only be used internally by java-gnome. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Jeffrey M. <ku...@zo...> - 2003-12-27 12:28:43
|
On Sat, 2003-12-27 at 06:41, Mark Howard wrote: > On Sat, Dec 27, 2003 at 04:59:07AM +0100, Luca De Rugeriis wrote: > > public BindingSet(int handle) { > > this.handle = handle; > > Does this really need to be public? It should only be used internally by java-gnome. I agree with you Mark that we should limit access as much as possible. The only problem I see is with limiting access to this method is when another class needs to create a BindingSet object from a handle returned from a native call. In that case the Constructor would need to be public. We can start with this method as private and change it if we need further access. -Jeff |
From: Luca De R. <pie...@li...> - 2003-12-27 14:47:37
|
Il sab, 2003-12-27 alle 13:21, Jeffrey Morgan ha scritto: > On Sat, 2003-12-27 at 06:41, Mark Howard wrote: > > On Sat, Dec 27, 2003 at 04:59:07AM +0100, Luca De Rugeriis wrote: > > > public BindingSet(int handle) { > > > this.handle = handle; > > > > Does this really need to be public? It should only be used internally by java-gnome. > > I agree with you Mark that we should limit access as much as possible. > The only problem I see is with limiting access to this method is when > another class needs to create a BindingSet object from a handle returned > from a native call. In that case the Constructor would need to be > public. We can start with this method as private and change it if > we need further access. I'll commit the changes asap. -- Luca De Rugeriis <pie...@li...> |
From: Luca De R. <pie...@li...> - 2003-12-27 14:50:32
|
Il sab, 2003-12-27 alle 15:46, Luca De Rugeriis ha scritto: > Il sab, 2003-12-27 alle 13:21, Jeffrey Morgan ha scritto: > > On Sat, 2003-12-27 at 06:41, Mark Howard wrote: > > > On Sat, Dec 27, 2003 at 04:59:07AM +0100, Luca De Rugeriis wrote: > > > > public BindingSet(int handle) { > > > > this.handle = handle; > > > > > > Does this really need to be public? It should only be used internally by java-gnome. > > > > I agree with you Mark that we should limit access as much as possible. > > The only problem I see is with limiting access to this method is when > > another class needs to create a BindingSet object from a handle returned > > from a native call. In that case the Constructor would need to be > > public. We can start with this method as private and change it if > > we need further access. I'm agree, information hiding is essential. I have leave the construtor public cause I've seen other classess do so, but I was asking why there is the need fot it to be public. This e-mail clears the thing, thanks. -- Luca De Rugeriis <pie...@li...> |
From: Luca De R. <pie...@li...> - 2003-12-26 19:48:22
|
Il ven, 2003-12-26 alle 20:26, Luca De Rugeriis ha scritto: /** * Construct a new BindingSet using a handle to a native resource. */ public BindingSet(int handle) { this.handle = handle; } /** * Construct a new BindingSet object. * @param setName */ public BindingSet(String setName) { handle = gtk_binding_set_new(setName); } static public BindingSet findBindingSet(String setName) { return new BindingSet(gtk_binding_set_find(setName)); } public boolean activateBindings(int keyval, int modifier) { return gtk_bindings_activate(object???, keyval, modifier); } public boolean activateBindingSet(int keyval, int modifier) { return gtk_binding_set_activate(handle, keyval, modifier, object???); } public void clearEntry(int keyval, int modifier) { gtk_binding_entry_clear(handle, keyval, modifier); } public void addPath(int pathType, String pathPattern, int priority) { gtk_binding_set_add_path(handle, pathType, pathPattern, priority); } /**************************************** * BEGINNING OF JNI CODE ****************************************/ native static final protected int gtk_binding_set_new(String setName); native static final protected int gtk_binding_set_find(String setName); native static final protected boolean gtk_bindings_activate(int object, int keyval, int modifier); native static final protected boolean gtk_binding_set_activate(int bindingSet, int keyval, int modifier, int object); native static final protected void gtk_binding_entry_clear(int bindingSet, int keyval, int modifier); native static final protected void gtk_binding_set_add_path(int bindingSet, int pathType, String pathPattern, int priority); /**************************************** * END OF JNI CODE ****************************************/ This is what I've wrote. However I'm very unsure what the object int is referring to. I've guessed that the BindingSet int is referring to this.handle, so what is the object int's role? -- Luca De Rugeriis <pie...@li...> |
From: Jeffrey M. <ku...@zo...> - 2003-12-26 20:01:15
|
On Fri, 2003-12-26 at 14:47, Luca De Rugeriis wrote: > Il ven, 2003-12-26 alle 20:26, Luca De Rugeriis ha scritto: > /** > * Construct a new BindingSet using a handle to a native resource. > */ > public BindingSet(int handle) { > this.handle = handle; > } > > /** > * Construct a new BindingSet object. > * @param setName > */ > public BindingSet(String setName) { > handle = gtk_binding_set_new(setName); > } > > static public BindingSet findBindingSet(String setName) { > return new BindingSet(gtk_binding_set_find(setName)); > } > > public boolean activateBindings(int keyval, int modifier) { > return gtk_bindings_activate(object???, keyval, modifier); > } Not exactly sure what this object is. Need to look at the source to determine. > > public boolean activateBindingSet(int keyval, int modifier) { > return gtk_binding_set_activate(handle, keyval, modifier, object???); > } See my previous email. > > public void clearEntry(int keyval, int modifier) { > gtk_binding_entry_clear(handle, keyval, modifier); > } See my previous email. > > public void addPath(int pathType, String pathPattern, int priority) { > gtk_binding_set_add_path(handle, pathType, pathPattern, priority); > } First parameter is of type PatyType and third parameter is of type PathPriorityType. > This is what I've wrote. However I'm very unsure what the object int is > referring to. I've guessed that the BindingSet int is referring to > this.handle, so what is the object int's role? -Jeff |
From: Luca De R. <pie...@li...> - 2003-12-27 04:00:06
|
This is the finished class (javadocs apart): /* * Java-Gnome Bindings Library * * Copyright 1998-2002 the Java-Gnome Team, all rights reserved. * * The Java-Gnome bindings library is free software distributed under * the terms of the GNU Library General Public License version 2. */ package org.gnu.gtk; import org.gnu.gdk.ModifierType; import org.gnu.glib.Boxed; /** * Key bindings for individual widgets */ public class BindingSet extends Boxed { /** * Construct a new BindingSet using a handle to a native resource. */ public BindingSet(int handle) { this.handle = handle; } /** * Construct a new BindingSet object. * @param setName */ public BindingSet(String setName) { handle = gtk_binding_set_new(setName); } static public BindingSet findBindingSet(String setName) { return new BindingSet(gtk_binding_set_find(setName)); } public boolean activateBindings(int keyval, ModifierType modifier) { return gtk_bindings_activate(handle, keyval, modifier.getValue()); } public boolean activateBindingSet(int keyval, ModifierType modifier) { return gtk_binding_set_activate(handle, keyval, modifier.getValue(), handle); } public void clearEntry(int keyval, ModifierType modifier) { gtk_binding_entry_clear(handle, keyval, modifier.getValue()); } public void addPath(PathType pathType, String pathPattern, PathPriorityType priority) { gtk_binding_set_add_path(handle, pathType.getValue(), pathPattern, priority.getValue()); } /**************************************** * BEGINNING OF JNI CODE ****************************************/ native static final protected int gtk_binding_set_new(String setName); native static final protected int gtk_binding_set_find(String setName); native static final protected boolean gtk_bindings_activate(int object, int keyval, int modifier); native static final protected boolean gtk_binding_set_activate(int bindingSet, int keyval, int modifier, int object); native static final protected void gtk_binding_entry_clear(int bindingSet, int keyval, int modifier); native static final protected void gtk_binding_set_add_path(int bindingSet, int pathType, String pathPattern, int priority); /**************************************** * END OF JNI CODE ****************************************/ } If you don't find any error, I'll write some comments and commit the changes ;) -- Luca De Rugeriis <pie...@li...> |