Re: Difference ?



>From gtktypeutils.h:

#define GTK_SIGNAL_FUNC(f)  ((GtkSignalFunc) f)

So they do exactly the same thing.

Brian

On Mon, 23 Aug 1999, Andreas Scherf wrote:

> Were is the diffrence between these two ways of Signal connections ?
> 
> gtk_signal_connect (GTK_OBJECT (print_button),
> 		      "clicked",
> 		      (GtkSignalFunc) print_clist,p_obj);
> 
> gtk_signal_connect (GTK_OBJECT (print_button),
> 		      "clicked",
> 		      GTK_SIGNAL_FUNC (printing_clist), p_obj);
>  
> Or which method should i use ??
> 
> Andreas Scherf
> - "If you kiss me, I'll turn into a beautiful princess."
> - "Look, I'm a computer programmer. I dont have time for girls,
> but a talking frog is very very cool."
> +--------------------------------------------+
> I EMail    : scherfa@fh-trier.de             I  
> I Homepage : http://www.fh-trier.de/~scherfa I
> +--------------------------------------------+
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]