Re: [gtkmm] Editable CellRendererText with custom checks
- From: Murray Cumming <murrayc murrayc com>
- To: Roger Leigh <roger whinlatter uklinux net>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Editable CellRendererText with custom checks
- Date: Sun, 29 Feb 2004 20:17:22 +0100
On Sun, 2004-02-29 at 00:40, Roger Leigh wrote:
> The manual says this:
>
> ,----
> | Implementing custom logic for editable cells.
> | [...]
> | To achieve this, you should use the normal Gtk::TreeView
> | insert_column() and append_column() methods, then use
> | get_column_cell_renderer() to get the Gtk::CellRenderer used by that
> | column.
> |
> | You should cast that Gtk::CellRenderer* to the specific CellRenderer
> | that you expect, and then connect to the appropriate "edited"
> | signal.
> `----
>
> I've done what is said above: I've used plain append_column(), got the
> CellRenderer and connected a handler to signal_edited. However, if I
> don't set the "editable" property, I can't edit.
OK, I have added that to the text in the book. Thanks.
--
Murray Cumming
www.murrayc.com
murrayc murrayc com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]