Re: [gtkmm] Treeview: selection and color
- From: Arnaud Ligot <spyroux spyroux be>
- To: Murray Cumming <murrayc murrayc com>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] Treeview: selection and color
- Date: Wed, 04 Aug 2004 23:32:50 +0200
hum... I haven't found what I want :-/
I plan to make a new gtk widget. I have seen a good tutorial here :
http://inti.sourceforge.net/tutorial/libinti/compositewidget.html
but it seems to not use gtkmm library and I want to use it because I
want to use the power of libglademm.
do you know a good (simple) tutorial in order to build a new widget from
scratch or with an imbrication of other standard widget
thank you for your help,
Arnaud
Le mer 04/08/2004 à 08:44, Murray Cumming a écrit :
> > hum...
> >
> > I have read all of your documentation but each time, you could only get
> > the number of the row that is selected not the column number :-/ or
> > there is something I haven't understand :-)
> >
> > I have more than one column that must be "editable" so I have to know
> > the number of the line AND the number of the column where the user
> > cliched
>
> To make a cell editable, you don't respond to changes in the selection -
> you respond to the appropriate signals of the CellRenderer. Look at the
> implementations of the TreeView::append_column() template methods. I think
> they use sigc::bind to send details of the model column to the signal
> handler.
>
> 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]