increase cell height in a GtkTreeView



Hi all,
I need to create a treeview with a column which displays a pixbuf that
becomes bigger when the user hovers the row. So I create a cellrenderer
which display either the big pixbuf either the small pixbuf depending of the
value of the GtkCellRendererState flag (if PRELIT then display big pixbuf,
else small). It works except that the height of the cell is always the same
so when the big pixbuf should be displayed, it is troncated.
I want to know how to ask the cell to request more space. Currently I've
copy/paste the render and get_size fonction of gtk_cell_renderer_pixbuf in
my component.
Thanks
Nicolas Soubeiran
nicolas soubeiran gmail com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]