[Gtk-sharp-list] glade# on windows problems
Grant Goodyear
grant at grantgoodyear.org
Fri Mar 3 11:51:40 EST 2006
Grant Goodyear wrote:
> I have an exceedingly simple glade-sharp app that works fine when run
> with mono, but not when run "natively" on windows. I have mono-1.1.13.2
> installed, as well as the .net 1.1 and 2.0 frameworks and gtk# for
> windows 2.7.1 (from http://tinyurl.com/gsx4x -- incidentally, there are
> a ton of gtk# runtimes and sdks on novellforge; is there a canonical
> version that I should be using?!).
Okay, I cleaned out all of the mono and gtk# cruft on my machine
(including paths), updated to mono 1.1.13.4, and installed
gtksharp-2.4.0 from http://tinyurl.com/kcrwl
assuming that since it's linked from the mono download page that it is
the canonical version.
> From the mono command prompt:
> c:\project3> mono focus.exe <-- works perfectly
Now from a "normal" command prompt (meaning %lib% is unset, but %path%
includes "d:\GTK\2.8\lib;d:\GTK\2.8\bin", I get the focus_out_event problem:
> Unhandled Exception: Glade.HandlerNotFoundException: No handler on_entry1_focus_
> out_event found for signal focus_out_event
> at Glade.XML.SignalConnector.ConnectFunc(IntPtr native_handler_name, IntPtr o
> bjekt_ptr, IntPtr native_signal_name, IntPtr native_signal_data, IntPtr connect_
> object_ptr, Int32 after, IntPtr user_data)
> at Glade.XML.SignalConnector.glade_xml_signal_autoconnect_full(IntPtr raw, Ra
> wXMLConnectFunc func, IntPtr user_data)
> at Glade.XML.SignalConnector.Autoconnect()
> at Glade.XML.Autoconnect(Object handler)
> at Focus..ctor()
> at Focus.Main()
I assume that I have a path problem or something similar, but I'm not
sure how to resolve it. Help?
Thanks,
Grant Goodyear
More information about the Gtk-sharp-list
mailing list