RE: [gnomemm] CanvasItem Event Handling error.



First off, if "item" is declared to be a pointer you need to use
"item->"....maybe you could send us a better snippet of your code.

-Mike Garriss

> -----Original Message-----
> From: gao chaowei [mailto:chaoweigao hotmail com]
> Sent: Wednesday, September 25, 2002 9:51 AM
> To: gnomemm-list gnome org
> Subject: [gnomemm] CanvasItem Event Handling error.
> 
> 
> I want the canvas item to handle event. I use the statement 
>            CanvasItem *item = new CanvasEllipse(...); 
>            item.event.connect(slot(this, &some_class::some_fun)); 
> But this issue a compile error. what's the problem and how to 
> solve it? 
> Urgent 
> 
> _________________________________________________________________
> 与联机的朋友进行交流,请使用 MSN Messenger: 
> http://messenger.microsoft.com/cn/
> 
> _______________________________________________
> gnomemm-list mailing list
> gnomemm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnomemm-list
> 



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