test: stars rating with images

Lubomir I. Ivanov neolit123 at gmail.com
Mon Oct 22 13:16:08 PDT 2012


just a test, perhaps something for a future version.

instead of stock icons "pixbuf" can be used, for loaded images with:
gtk_cell_layout_set_attributes( GTK_CELL_LAYOUT(combo), renderer,
"pixbuf", SOME_COL, NULL );

and GDK_TYPE_PIXBUF instead of  G_TYPE_STRING in gtk_list_store_new(...)

the attached source is public domain.
lubomir
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stars.c
Type: text/x-csrc
Size: 2165 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20121022/c407d9f0/attachment-0001.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stars.png
Type: image/png
Size: 27924 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20121022/c407d9f0/attachment-0001.png>


More information about the subsurface mailing list