Re: help on array of widgets
- From: Mj Mendoza IV <mjmendoza konsolscript org>
- To: gtkmm-list gnome org
- Subject: Re: help on array of widgets
- Date: Thu, 28 Jul 2011 10:37:26 +0800 (SGT)
> Probably the original poster needs to explain what purpose he is trying
> to achieve in storing widgets in a vector. There is probably a
> fundamental design error present.
Hi Chris,
What I had in mind is like GIMP's Layer Dock where, a layer can be added, removed and rearranged. To keep my learning simple, I experimented with Buttons first. What I opted to do is a vector of Buttons, which failed obviously. So with Yann's suggestion, I'm currently using vector of Button pointers instead.
Do you have any better design in mind?
Regards.
Mj Mendoza
IV,
Developer, KonsolScript
http://www.konsolscript.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]