Re: [gtkmm] Help for clist
- From: Ottavio Campana <ottavio campana vi it>
- To: Morten Brix Pedersen <morten wtf dk>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] Help for clist
- Date: Wed, 18 Dec 2002 12:26:35 +0100
On Wed, Dec 18, 2002 at 12:14:29PM +0100, Morten Brix Pedersen wrote:
> As you can see from the error, you are trying to call a function with an
> int as the first argument, while that actually should be a Row or a
> RowIterator.
>
> A quick glance at the documentation tells me that you can get a Row by
> doing: GMM_CLIST1->row(rownumber), thus your code should be:
>
> GMM_CLIST1->rows().insert(GMM_CLIST1->row(1), "Palla");
I've already tried even it:
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../low -I../medium -g -O2
-I/usr/lib/gtkmm/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/sigc++-1.0/include
-I/usr/include/sigc++-1.0 -DDEBUG -c window1.cc
/usr/include/gtk--/base.h: In function `static const char *const *Gtk::SArray_Helpers::Traits<char
*>::get_data(const char *)':
/usr/include/gtk--/base.h:704: instantiated from `Gtk::SArray_Helpers::SArray::SArray<char[6]>(const char (&)[6])'
window1.cc:55: instantiated from here
/usr/include/gtk--/base.h:655: const_cast from `const char *' to `const char *const *'
make: *** [window1.o] Error 1
bott dirac:~/Progetti/nanuccoli/src/trainer >
Bye
--
Non c'è più forza nella normalità, c'è solo monotonia.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]