On Thu, 22 Jun 2000, Blake Swadling wrote:

> I am a rank amateur at using glade so forgive me if these are my doing, but I find 
>that altering the signal handling function via the properties dlg has a few weird 
>behaviours.
> 
> a) if i set the signal handler to a function that already exists, it some times 
>writes a duplicate function prototype, etc.

  What I noticed in my projects is that Glade only writes on the file
interface.c, while it appends new things on callbacks.c an callbacks.h.
So, when you use glade, if you want to attach more and different things on
a signal, you only must change the name of the signal handler. If you do
some changes to the same signal handler, you only can delete the copy of
it which will appear in callbacks.c

> b) I alter it and then click update, and it appears to do so, but when I make it the 
>signal handler has not been altered in interface.c.
> This happened when i set the handler for destroy, delete_event and destroy_event to 
>gtk_true (to see if i could intercept them successfully). This worked. then i altered 
>all of
> them to my function quit_verify. I ran make and i still got gtk_true.  I repeated 
>the alteration making sure to update them and the same thing. I manually edited 
>interface.c, and
> only one of the functions had been altered here (the one that occurred first in the 
>file).

   It sonunds very strange to me the fact that the handler does not modify
itself when you click update in properties. I know it would look like a
stupid thing but do you remember to save your changes first of quit glade?
If yes, maybe there is some problem in the package you have on your PC.
 
> Cheers > 
> Blake

  I hope that I was helpful to you.
  Bye,
  Rosa 
> --
> eMail :          [EMAIL PROTECTED]
> icq uin :        4619713
> -----------------------------------------------------------------------------
> Arnold's Laws of Documentation:
>   (1) If it should exist, it doesn't.
>   (2) If it does exist, it's out of date.
>   (3) Only documentation for useless programs transcends the first two laws.
> 
> 
> 
> 
> +---------------------------------------------------------------------+
> To unsubscribe from this list, send a message to [EMAIL PROTECTED]
> with the line "unsubscribe glade-devel" in the body of the message.
> 


+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.

Reply via email to