On 31 July 2012 00:12, James Tappin <jtap...@gmail.com> wrote:

> I am currently trying to implement combobox cell renderers in the
> high-level gtk-fortran code. Unfortunately unlike "normal" comboboxes where
> there is the convenience type of GtkComboBoxText this is not available for
> cell renderers.
>
> I have hunted for examples of a working combobox that uses an explicit tree
> model without any success. Does anybody on this list have such an example
> (or even better, of a CellRendererCombo) that they would be willing to
> share.
>

You can have a look at the cell renderer I implemented for Libgda, cf
http://git.gnome.org/browse/libgda/tree/libgda-ui/data-entries/gdaui-data-cell-renderer-combo.hand
http://git.gnome.org/browse/libgda/tree/libgda-ui/data-entries/gdaui-data-cell-renderer-combo.c
.

This cell renderer displays a text, along with a down pointing triangle
which, when clicked, displays a combo box.

Hope this helps you,

Vivien
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to