Re: GtkCellRendererCombo example?

2004-11-08 Thread Matthias Clasen
On Sun, 2004-11-07 at 15:00, Murray Cumming wrote: Matthias wrote: What problem are you seeing ? I have it working now, http://cvs.gnome.org/viewcvs/gtkmm/examples/book/treeview/combo_renderer/ and I really like it's simplicity compared to the hacky thing that I've been using so far.

Re: GtkCellRendererCombo example?

2004-11-08 Thread Matthias Clasen
On Mon, 2004-11-08 at 08:44, Diego Zuccato wrote: Murray Cumming wrote: 3. There's no way to have a Combo cell renderer that has multiple columns, such as the choice and a description of the choice. But I guess this would require access to the whole GtkComboBox API. IMVHO GtkComboBox

Re: GtkCellRendererCombo example?

2004-11-08 Thread Matthias Clasen
On Sun, 2004-11-07 at 15:00, Murray Cumming wrote: 2. I can't bind a GtkTreeModel* model column to the cell renderer's model property, maybe because the base type is reported as G_TYPE_INTERFACE instead of G_TYPE_OBJECT, in _gtk_tree_data_list_value_to_node(). Maybe we could assuming that all

Re: GtkCellRendererCombo example?

2004-11-08 Thread Murray Cumming
On Sun, 2004-11-07 at 15:00, Murray Cumming wrote: 2. I can't bind a GtkTreeModel* model column to the cell renderer's model property, maybe because the base type is reported as G_TYPE_INTERFACE instead of G_TYPE_OBJECT, in _gtk_tree_data_list_value_to_node(). Maybe we could assuming that

Re: GtkCellRendererCombo example?

2004-11-07 Thread Murray Cumming
Matthias wrote: What problem are you seeing ? I have it working now, http://cvs.gnome.org/viewcvs/gtkmm/examples/book/treeview/combo_renderer/ and I really like it's simplicity compared to the hacky thing that I've been using so far. However, I did notice: 1. It doesn't work at all unless you

Re: GtkCellRendererCombo example?

2004-11-07 Thread Diego Zuccato
Murray Cumming wrote: 3. There's no way to have a Combo cell renderer that has multiple columns, such as the choice and a description of the choice. But I guess this would require access to the whole GtkComboBox API. IMVHO GtkComboBox should use the underlying model (list or tree), not limiting

GtkCellRendererCombo example?

2004-11-05 Thread Murray Cumming
Is anyone using GtkCellRendererCombo yet? Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: GtkCellRendererCombo example?

2004-11-05 Thread Igor Gorbounov
Murray Cumming wrote: Is anyone using GtkCellRendererCombo yet? I see, it is implemented in GTK, and GtkCellRendererProgress http://developer.gnome.org/doc/API/2.0/gtk/GtkCellRendererProgress.html, too! Great! So are they going to be wrapped in gtkmm? Igor Gorbounov

Re: GtkCellRendererCombo example?

2004-11-05 Thread Murray Cumming
I see, it is implemented in GTK, and GtkCellRendererProgress http://developer.gnome.org/doc/API/2.0/gtk/GtkCellRendererProgress.html, too! Great! So are they going to be wrapped in gtkmm? Yes, that's why I asked about it. It's already in gtkmm's cvs, but the example isn't working. I think I

Re: GtkCellRendererCombo example?

2004-11-05 Thread Matthias Clasen
On Fri, 2004-11-05 at 06:12, Murray Cumming wrote: I see, it is implemented in GTK, and GtkCellRendererProgress http://developer.gnome.org/doc/API/2.0/gtk/GtkCellRendererProgress.html, too! Great! So are they going to be wrapped in gtkmm? Yes, that's why I asked about it. It's already