[gtkmm] Help for clist



Hi,

I'm trying to develop an application  with gtkmm 1.2.8 (I cannot use the
new gtkmm2).  I'm quite  expert programming  in C,  but I'm  having some
troubles with the C++ bindings .

I can't insert a row in a clist. I've tried 

GMM_CLIST1->rows()->insert(1, "Palla");

but  it doesn't  work (by  the  way, I've  generated the  gui code  with
glademm).

Here's the error:

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
window1.cc: In method `void window1::on_connetti1_activate()':
window1.cc:55: base operand of `->' has non-pointer type
`Gtk::CList_Helpers::RowList'
make: *** [window1.o] Error 1
bott dirac:~/Progetti/nanuccoli/src/trainer >

I cannot  find the  error, I've tried  to look for  source code  to copy
(thanks gpl) but I havent find anything...

Can you please help me?

Thank you! :-)

-- 
Non c'è più forza nella normalità, c'è solo monotonia.



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