Re: [java-gnome-hackers] TreeModel rows-reordered
Brought to you by:
afcowie
From: Jeffrey M. <ku...@zo...> - 2004-02-29 23:40:38
|
This is the problem that I was afraid of. This is due the what I explained in my original email. Our bindings event handling doesn't know how to handle an array of ints so it thinks it is an int. This is why you are getting the message. We now have until Wednesday so I should be able to address this over the next day or so. -Jeff On Sun, 2004-02-29 at 13:57, Mark Howard wrote: > ListStore and TreeStore weren't calling > super.intializeEventHandlers(). I've added this but there's another > problem: > > ** WARNING **: Java-GNOME - cannot find callback method handleRowsReordered in the specified object with signature (III)V > > this causes an exception: > Exception in thread "main" java.lang.RuntimeException: > at org.gnu.glib.GObject.addEventHandler(Native Method) > at org.gnu.glib.EventMap.initialize(EventMap.java:62) > at org.gnu.gtk.TreeModel.initializeEventHandlers(TreeModel.java:253) > at org.gnu.gtk.ListStore.<init>(ListStore.java:50) > at dataTable.TableExample.<init>(TableExample.java:35) > at dataTable.TableExample.main(TableExample.java:112) > > TreeModel has void handleRowsReordered( int, int, int[] ); > > It seems we have another day or two for the release. I've not had chance > to look at the destroy and delete signals - could you possibly do this? > > On Sun, Feb 29, 2004 at 09:29:24AM -0500, Jeffrey Morgan wrote: > > On Sun, 2004-02-29 at 09:06, Mark Howard wrote: > > > On Sun, Feb 29, 2004 at 08:43:15AM -0500, Jeffrey Morgan wrote: > > > > Do you know if the event was fired in the native layer? > > > > > > It should have been according to the docs for setReorderable(bool). How > > > can I find out? > > > > > > > All signals pass through the method jg_signal_cb in > > org_gnu_glib_GObject.c. You might try to add some > > printf statements here. I am about to leave for about > > eight hours so I will not be able to help you on this. > > Please post to this list with your results and I will > > try to pick up where you leave off when I return. > > > > -Jeff > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > java-gnome-hackers mailing list > > jav...@li... > > https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers > > |