Re: Problems using GtkTreeView and making stuff editable
- From: Olexiy Avramchenko <ath beast stu cn ua>
- To: Philip Van Hoof <spamfrommailing freax org>
- Cc: gtk_list gtk gtk <gtk-app-devel-list gnome org>
- Subject: Re: Problems using GtkTreeView and making stuff editable
- Date: Wed, 25 Sep 2002 17:45:58 +0300
Philip Van Hoof wrote:
Hi there,
I want to create a GtkTreeView widget with two editable textcolumns
All seems to work and the textfields are editable but when I edit them
and then press 'enter' or 'tab' then the original text is back in
place (so I can edit it, but after editing all changes are discarded).
What am I doing wrong? :-\
You dont save the changes you did. You have to connect to
GtkCellRendererText "edited" signal. Look at gtk-demo source
("demos/gtk-demo/editable_cells.c" file), you can also browse
that source through 'gtk-demo' program.
Olexiy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]