mail-archives/gtk-sharp-list/2004-February/003313.html

85 строки
2.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] Glade# handler issue
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:josh_gerdes%40yahoo.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="003306.html">
<LINK REL="Next" HREF="003307.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] Glade# handler issue
</H1>
<B>J. Gerdes
</B>
<A HREF="mailto:josh_gerdes%40yahoo.com"
TITLE="[Gtk-sharp-list] Glade# handler issue">josh_gerdes@yahoo.com
</A><BR>
<I>Mon, 2 Feb 2004 17:52:11 -0800 (PST)</I>
<P><UL>
<LI> Previous message: <A HREF="003306.html">[Gtk-sharp-list] Gtk-sharp on OS X
</A></li>
<LI> Next message: <A HREF="003307.html">[Gtk-sharp-list] RE: Mono Kickstart Book
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3313">[ date ]</a>
<a href="thread.html#3313">[ thread ]</a>
<a href="subject.html#3313">[ subject ]</a>
<a href="author.html#3313">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>I am using Glade# for windows v2.0.1 and I have a
problem when trying to assign the same event handler
to two different buttons. I have added the signal
clicked to both buttons with the the same handler. It
works fine if I have just one button associated with
the handler. Here's the error I get when running the
application:
Unhandled Exception: System.NullReferenceException: A
null value was found where
an object instance was required
in (unmanaged) (wrapper managed-to-native)
.SignalConnector:glade_xml_signal_aut
oconnect_full
(intptr,Glade.XML/SignalConnector/RawXMLConnectFunc,intptr)
in &lt;0x00004&gt; (wrapper managed-to-native)
.SignalConnector:glade_xml_signal_autoc
onnect_full
(intptr,Glade.XML/SignalConnector/RawXMLConnectFunc,intptr)
in &lt;0x00052&gt; .SignalConnector:Autoconnect ()
in &lt;0x0003d&gt; Glade.XML:Autoconnect (object)
in &lt;0x00056&gt; Gerdes.Apps.GladeCalc:.ctor (string[])
in &lt;0x00026&gt; Gerdes.Apps.GladeCalc:Main (string[])
Any thoughts?
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
<A HREF="http://webhosting.yahoo.com/ps/sb/">http://webhosting.yahoo.com/ps/sb/</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="003306.html">[Gtk-sharp-list] Gtk-sharp on OS X
</A></li>
<LI> Next message: <A HREF="003307.html">[Gtk-sharp-list] RE: Mono Kickstart Book
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3313">[ date ]</a>
<a href="thread.html#3313">[ thread ]</a>
<a href="subject.html#3313">[ subject ]</a>
<a href="author.html#3313">[ author ]</a>
</LI>
</UL>
</body></html>