[gnomemm] how to use isA() and get_type method
- From: "gao chaowei" <chaoweigao hotmail com>
- To: gnomemm-list gnome org
- Subject: [gnomemm] how to use isA() and get_type method
- Date: Thu, 26 Sep 2002 02:08:35 +0800
I want to find the type of a canvas item. I have see CanvasItem is two
method
Gnome::CanvasItem::get_type();
Gnome::CanvasItem::isA(Gtk::Object * checkcast);
Anybody can tell me how to use the two mathods? for examples, to check the
item is of CanvasPolygon type or not. Please give me a piece of code :-)
Urgent
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:
http://messenger.microsoft.com/cn/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]