Re: Two dimensional arrays?
- From: Murray Cumming <murrayc murrayc com>
- To: Alex Buell <alex buell munted org uk>
- Cc: GTKmm Mailing List <gtkmm-list gnome org>
- Subject: Re: Two dimensional arrays?
- Date: Thu, 27 Apr 2006 09:31:30 +0200
On Thu, 2006-04-27 at 08:21 +0100, Alex Buell wrote:
> Hi!
>
> I've been trying to create a two dimensional array of Gtk::Entry using
> std::vector< std::vector<type> >. This works well enough if I do the
> following:
>
> Gtk::Entry m_Entry[9][9];
>
> But if I do:
>
> std::vector< std::vector<Gtk::Entry> > m_Entry;
You can't do this. gtkmm widgets don't have copy constructors, because
copy constructors would be meaningless.
You probably want to use std::vector<Gtk::Entry*>.
[snip]
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]