Re: Examples of ComboBox using an explicit model?
- From: Vivien Malerba <vmalerba gmail com>
- To: James Tappin <jtappin gmail com>
- Cc: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: Examples of ComboBox using an explicit model?
- Date: Tue, 31 Jul 2012 14:28:30 +0200
On 31 July 2012 00:12, James Tappin <jtappin 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]