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

95 строки
3.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] Closing an About window
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:skaufman%40elite.net">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="003290.html">
<LINK REL="Next" HREF="003292.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] Closing an About window
</H1>
<B>Samuel Kaufman
</B>
<A HREF="mailto:skaufman%40elite.net"
TITLE="[Gtk-sharp-list] Closing an About window">skaufman@elite.net
</A><BR>
<I>Sat, 31 Jan 2004 17:54:19 -0800</I>
<P><UL>
<LI> Previous message: <A HREF="003290.html">[Gtk-sharp-list] Closing an About window
</A></li>
<LI> Next message: <A HREF="003292.html">[Gtk-sharp-list] Closing an About window
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3291">[ date ]</a>
<a href="thread.html#3291">[ thread ]</a>
<a href="subject.html#3291">[ subject ]</a>
<a href="author.html#3291">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>--=-BxqvixNrb4nFrLMoSjr7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
I don't think you'd want to destroy the dialog while it's one of it's
event handlers. I'm not an expert, but try it after your call to Run().
El s=E1b, 31-01-2004 a las 17:39, Kevin Breit escribi=F3:
&gt;<i> Hey,
</I>&gt;<i> I am using an About window in my Gtk# program. When I close it, I get
</I>&gt;<i> the following console output:
</I>&gt;<i>=20
</I>&gt;<i> (&lt;unknown&gt;:7733): GLib-GObject-WARNING **: gsignal.c:2010: instance
</I>&gt;<i> `0x8317f08' has no handler with id `70'
</I>&gt;<i>=20
</I>&gt;<i> The code to close the window is the following:
</I>&gt;<i>=20
</I>&gt;<i> private void OnAboutClose (object o, EventArgs args)
</I>&gt;<i> {
</I>&gt;<i> ab.Destroy();
</I>&gt;<i> }
</I>&gt;<i>=20
</I>&gt;<i> What am I missing?
</I>&gt;<i>=20
</I>&gt;<i> Kevin Breit
</I>
--=-BxqvixNrb4nFrLMoSjr7
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
digitalmente
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQBAHFxLbukrDfd+Q4gRArQ4AJ0eYGRE68AX3UM0zw8e6TpzEnCmBgCdE51G
KOJwZMoxwVMyrLXtLxwJD+M=
=tQQH
-----END PGP SIGNATURE-----
--=-BxqvixNrb4nFrLMoSjr7--
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="003290.html">[Gtk-sharp-list] Closing an About window
</A></li>
<LI> Next message: <A HREF="003292.html">[Gtk-sharp-list] Closing an About window
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3291">[ date ]</a>
<a href="thread.html#3291">[ thread ]</a>
<a href="subject.html#3291">[ subject ]</a>
<a href="author.html#3291">[ author ]</a>
</LI>
</UL>
</body></html>