<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/1.0.3.99">
</HEAD>
<BODY>
Hello,
<BR>
<BR>
I'm running into a problem.
<BR>
I've created a small test dialog.
<BR>
The user types something in, clicks the button and it returns a result.
<BR>
The form works if I just run it.
<BR>
If I load it as a module then use xx = prog() it works the first time.
<BR>
The second time I use xx = prog() I get
<BR>
<BR>
X Error: BadPixmap (invalid Pixmap parameter) 4
<BR>
Major opcode: 56
<BR>
Resource id: 0x3c00018
<BR>
X Error: BadPixmap (invalid Pixmap parameter) 4
<BR>
Major opcode: 56
<BR>
Resource id: 0x3c00018
<BR>
<BR>
the image of the pushbutton is black and the form does not work.
<BR>
<BR>
I then tried to attach the destroy signal to the form and print a message. After I did this, when I clicked the button , I get a core dump.
<BR>
If I comment out the signal, I don't get the core dump.
<BR>
<BR>
<BR>
Thanks for any help ..
<BR>
<BR>
Tony Corrente
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</BODY>
</HTML>