Re: [gnomemm] Gnome Item Coordinates
- From: Ole Laursen <olau hardworking dk>
- To: gnomemm-list gnome org
- Subject: Re: [gnomemm] Gnome Item Coordinates
- Date: 14 Jan 2003 18:09:10 +0100
Deepak Chandran <DeepakC dpsl net> writes:
[...]
> We want the "table" (rect and lines) to be resized on certain event. Hence,
> in the signal handler,
> We create the GnomeCanvasGroup pointer and traverse the
> GnomeCanvasGroup::item_list.
> To access the individual items in the group we type cast them to their
> repective Item class using Glib::wrap() method.
If I were you, I think I'd store pointers to the items myself (or
pointers to classes wrapping them). Then you could implement resizing
with a little polymorphic magic in a type-safe manner.
--
Ole Laursen
http://www.cs.auc.dk/~olau/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]