Hi,
I am just starting some tests with Java GNOME and am stuck with a weird
yet probably basic problem (Java Gnome 0.7.0 on Debian sid and IBM JSDK
1.3 - the samples are running OK.).
My application tries to define a call back for the "insert_text" signal
of a GtkText widget:
public class Edit
{
public Edit ()
{
LibGladeGnome glade = new LibGladeGnome(this, "project1.glade", "window1");
GtkText textWindow = (GtkText) glade.getWidget("textWindow");
textWindow.signalConnect("insert_text", this);
}
.../...
public void insert_text (java.lang.String text, gnu.gtk.GtkObject
window )
{
System.out.println("text inserted");
}
However, at run time, my insert_text method isn't found:
vdv@evlist:~/Projects/project1$ java Edit
*** ERROR ***: Java-GNOME - cannot find callback method insert_text in
the specified object with signature
(Ljava/lang/String;ILgnu/gtk/GtkObject;)V
*** ERROR ***: Java-GNOME - exception is:
Exception in thread "main" java.lang.NoSuchMethodError: insert_text
at gnu.gdk.BaseObject.signalConnect(Native Method)
at Edit.<init>(Edit.java:12)
at Edit.main(Edit.java:77)
** WARNING **: Java-GNOME - signal will not be mapped
Any hints?
Thanks
Eric
--
See you in Scottsdale, Arizona.
http://xmlconnections.com/xml/xmlfall2001/speakers.asp#evandervlist
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
http://xsltunit.org http://4xt.org http://examplotron.org
------------------------------------------------------------------------
|