Re: [gtkmm] Help for clist
- From: Morten Brix Pedersen <morten wtf dk>
- To: Ottavio Campana <ottavio campana vi it>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] Help for clist
- Date: Wed, 18 Dec 2002 11:31:27 +0100
Hi,
* Ottavio Campana <ottavio campana vi it> [2002-12-18 11:26:30]:
> 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 .
Why can't you use gtkmm2?
> I can't insert a row in a clist. I've tried
>
> GMM_CLIST1->rows()->insert(1, "Palla");
rows() doesn't return a pointer. It returns a reference to a RowList -
see http://www.gtkmm.org/docs/gtk/Gtk%3A%3ACList.html. Therefor you
should correct it to:
GMM_CLIST1->rows().insert(1, "Palla");
- Morten.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]