Re: help on array of widgets



Le 27/07/2011 09:46, Mj Mendoza IV a écrit :
Hi all,

How do you implement a array of widgets? Ex. how is layers in GIMP
implemented?

I tried using vectors but I get a weird error.

If you are looking for a way to store your widgets in memory, you cannot put them directly in a vector, since vectors copy objects and widgets instances cannot be copied. You can instead store pointers to your widgets.

Regards.

Mj Mendoza IV,
Developer, KonsolScript
http://www.konsolscript.org

Guillaume


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