GtkCellRendererCombo
- From: Gyözö Both <gyboth bygfoot com>
- To: gtk-app-devel-list gnome org <gtk-app-devel-list gnome org>
- Subject: GtkCellRendererCombo
- Date: Sat, 17 Sep 2005 22:45:46 +0200
hello,
i can't quite figure out how to use a cell renderer combo. what i'd
like to have is a treeview column with cells that contain some text and
an icon next to the text.
so, what i try to do is pack a column into the treeview along with a
GtkCellRendererCombo and a cell data function. in the cell data
function i create a liststore with a G_TYPE_STRING and a
GDK_TYPE_PIXBUF, fill it with a few rows, and do a
g_object_set(renderer, "model", GTK_TREE_MODEL(ls), NULL);
g_object_unref(ls);
ls being my GtkListStore.
but i don't see any sign of text or icons in my treeview :-(
what is it i'm missing?
gyözö
--
"It is the creationists who blasphemously are claiming that God is
cheating us in a stupid way."
-- J. W. Nienhuys
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]