Re: [gtkmm] Customized CellRenderers
- From: Murray Cumming <murrayc murrayc com>
- To: Leandro Fanzone <leandro hasar com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Customized CellRenderers
- Date: Tue, 20 Apr 2004 15:24:58 +0200
On Tue, 2004-04-20 at 14:36, Leandro Fanzone wrote:
> Well, if nobody knows how to do this, at least can anybody tell me if
> someone is working on bug #102853,
That bug is marked as fixed (in gtkmm 2.4, I suppose), and it mentions a
workaround - use append_column() and handle the cellrender signals
yourself.
[snip]
> > I'm working on writing an editable ListView, much like a database
> > table editing tool. I would like to implement a new CellRenderer that
> > prevents users from entering letters on an integer field on the fly
> > (instead of checking this after the editing was done),
I suggest that you ask on gtk-list. You probably need to derive a new
CellRenderer, though I think a numeric_only property would be useful on
the regular CellRendererText.
> and also a
> > CellRenderer for TreeModelColumns with a float/double value. The
> > available documentation wasn't enough for me; can someone point me to
> > an example (I'm sure this has been done a thousand times before)
If you can find an example of an application that does this, then that
would be a start.
> or to
> > an outline of the steps I should follow?
> > Thank you very much.
--
Murray Cumming
www.murrayc.com
murrayc murrayc com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]